File tree 15 files changed +46
-13
lines changed
15 files changed +46
-13
lines changed Original file line number Diff line number Diff line change 2
2
3
3
@layer components {
4
4
.btn {
5
- @apply text-sm font-semibold mt-2 px-3 py-1 capitalize text-gray-400 hover:text-gray-700 focus:to-gray-900 hover:border-gray-700;
5
+ @apply text-sm font-light mt-2 px-3 py-1 capitalize text-gray-500 hover:text-gray-800 focus:to-gray-900 hover:border-gray-700;
6
6
}
7
7
8
8
.btn-xs {
Original file line number Diff line number Diff line change 15
15
}
16
16
17
17
.boxed-bottom-link {
18
- @apply px-3 py-1 border border-gray-400 bg-gray-200 text-gray-400 mb-4 block rounded-full uppercase text-xs;
18
+ @apply px-3 py-1 border border-gray-400 bg-gray-200 text-gray-400 mb-4 block rounded-full uppercase text-xs hover:bg-gray-300 hover:text-gray-500 ;
19
19
}
20
20
21
21
.boxed-bottom-content ::before {
Original file line number Diff line number Diff line change 2
2
3
3
@layer components {
4
4
form {
5
- @apply my-4 py-12 ;
5
+ @apply my-4 py-8 ;
6
6
}
7
7
8
8
input ,
Original file line number Diff line number Diff line change 2
2
3
3
@layer components {
4
4
.page-content {
5
- @apply relative py-12 max-w-7xl mx-auto ;
5
+ @apply relative py-12 mx-auto max-w-7xl;
6
6
}
7
7
8
8
.page-content ::before ,
34
34
opacity : 0.25 ;
35
35
border : 4px solid # cdcdcd ;
36
36
}
37
+
38
+ .page-content-single {
39
+ @apply relative py-12 mx-auto max-w-7xl h-screen;
40
+ }
37
41
}
Original file line number Diff line number Diff line change 83
83
params: { slug: item.slug }
84
84
}"
85
85
class =" btn btn-sm btn-default btn-hidden text-muted"
86
- ><span class =" underline hover: no-underline" >read more</span >
86
+ ><span class =" no-underline" >read more</span >
87
87
<span >
88
88
&rarr ;
89
89
<!-- <font-awesome-icon :icon="['fa', 'arrow-right']"/> -->
Original file line number Diff line number Diff line change 37
37
xl:text-5xl
38
38
"
39
39
>
40
- < span class = " block xl:inline " > {{ item.title }}</ span >
40
+ {{ item.title }}
41
41
<!-- <span
42
42
class="block text-indigo-600 xl:inline"
43
43
data-primary="indigo-600"
Original file line number Diff line number Diff line change 15
15
</label >
16
16
</div >
17
17
<div class =" col-auto" >
18
- <button class =" btn btn-lg btn-outline" >Submit</button >
18
+ <button class =" btn btn-lg btn-outline shadow-lg " >Submit</button >
19
19
</div >
20
20
</form >
21
21
</section >
Original file line number Diff line number Diff line change 27
27
</label >
28
28
</div >
29
29
<div class =" col-auto" >
30
- <button class =" btn btn-lg btn-outline btn-muted" >Sign In</button >
30
+ <button class =" btn btn-lg btn-outline btn-muted shadow-lg" >
31
+ Sign In
32
+ </button >
31
33
<Nuxt-Link
32
34
to =" /forgot"
33
35
class ="
Original file line number Diff line number Diff line change 39
39
</label >
40
40
</div >
41
41
<div class =" col-auto" >
42
- <button class =" btn btn-lg btn-outline btn-muted" >Sign Up</button >
42
+ <button class =" btn btn-lg btn-outline btn-muted shadow-lg" >
43
+ Sign Up
44
+ </button >
43
45
<Nuxt-Link
44
46
to =" /signin"
45
47
class ="
Original file line number Diff line number Diff line change @@ -55,3 +55,13 @@ export default {
55
55
}
56
56
}
57
57
</script >
58
+ <style >
59
+ .page-enter-active ,
60
+ .page-leave-active {
61
+ transition : opacity 0.5s ;
62
+ }
63
+ .page-enter ,
64
+ .page-leave-active {
65
+ opacity : 0 ;
66
+ }
67
+ </style >
Original file line number Diff line number Diff line change
1
+ /* eslint-disable no-param-reassign */
2
+ export default function ( context ) {
3
+ let serverUserAgent = ''
4
+ if ( context && context . req && context . req . headers ) {
5
+ serverUserAgent = context . req . headers [ 'user-agent' ] || ''
6
+ }
7
+
8
+ let clientUserAgent = ''
9
+ if ( typeof navigator !== 'undefined' && typeof navigator === 'object' ) {
10
+ const { userAgent = '' } = navigator
11
+ clientUserAgent = userAgent
12
+ }
13
+
14
+ context . userAgent = ( process . server && serverUserAgent ) || clientUserAgent
15
+ }
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export default {
22
22
} ,
23
23
24
24
// Global CSS: https://go.nuxtjs.dev/config-css
25
- css : [ ] ,
25
+ css : [ '@/assets/css/tailwind.css' ] ,
26
26
27
27
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
28
28
plugins : [ ] ,
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" page-content" >
2
+ <div class =" page-content-single " >
3
3
<Form-Forgot />
4
4
</div >
5
5
</template >
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" page-content" >
2
+ <div class =" page-content-single " >
3
3
<Form-SignIn />
4
4
</div >
5
5
</template >
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" page-content" >
2
+ <div class =" page-content-single " >
3
3
<Form-SignUp />
4
4
</div >
5
5
</template >
You can’t perform that action at this time.
0 commit comments