File tree Expand file tree Collapse file tree 3 files changed +72
-0
lines changed Expand file tree Collapse file tree 3 files changed +72
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ export default function Home() {
14
14
15
15
< h2 className = { styles . description } > { SITE . description } </ h2 >
16
16
17
+ < section className = { styles . cta } >
18
+ < a href = { SITE . github } > Star us on GitHub</ a >
19
+ < a href = { `${ SITE . github } /blob/main/README.md` } > View README</ a >
20
+ </ section >
21
+
17
22
< div className = { styles . divider } > </ div >
18
23
19
24
< section className = { styles . about } >
@@ -100,6 +105,10 @@ export default function Home() {
100
105
The goal of OpenNext is to create an open source, framework agnostic,
101
106
serverless adapter for Next.js.
102
107
</ p >
108
+ < p >
109
+ OpenNext is currently built for AWS but we plan to support any
110
+ functions as a service platform.
111
+ </ p >
103
112
< p >
104
113
We need your help keeping it up to date and feature complete. Make
105
114
sure to{ " " }
Original file line number Diff line number Diff line change 25
25
max-width : 500px ;
26
26
border-top : 1px solid var (--theme-divider );
27
27
}
28
+ @media only screen and (max-width : 480px ) {
29
+ .divider {
30
+ margin : 3.5rem auto;
31
+ }
32
+ }
28
33
29
34
.description {
30
35
margin : 0.5rem 0 0 ;
45
50
margin-bottom : 0 ;
46
51
}
47
52
53
+ .cta {
54
+ margin-top : calc (var (--spacing-unit ) * 1.25 );
55
+ padding : 0 2rem ;
56
+ }
57
+ .cta a {
58
+ padding : 1rem 2rem ;
59
+ background-color : var (--theme-primary-button-bg );
60
+ color : var (--theme-bg );
61
+ border-radius : 7px ;
62
+ font-size : 0.9375rem ;
63
+ font-weight : 500 ;
64
+ box-shadow : 0 4px 14px var (--theme-primary-button-shadow );
65
+ text-align : center;
66
+ transition : box-shadow 0.2s ease;
67
+ }
68
+ .cta a : hover {
69
+ box-shadow : 0 6px 20px var (--theme-primary-button-shadow-hover );
70
+ }
71
+ .cta a : last-child {
72
+ margin-left : 1.65rem ;
73
+ background-color : var (--theme-secondary-button-bg );
74
+ color : var (--theme-text-light );
75
+ box-shadow : 0 4px 14px 0 var (--theme-secondary-button-shadow );
76
+ }
77
+ .cta a : last-child : hover {
78
+ box-shadow : 0 6px 20px 0 var (--theme-secondary-button-shadow-hover );
79
+ }
80
+ @media only screen and (max-width : 480px ) {
81
+ .cta {
82
+ padding : 0 ;
83
+ margin-top : var (--spacing-unit );
84
+ width : 100% ;
85
+ }
86
+ .cta a {
87
+ padding : 1.125rem 0 ;
88
+ display : block;
89
+ width : 100% ;
90
+ }
91
+ .cta a : last-child {
92
+ margin-top : 1rem ;
93
+ margin-left : 0 ;
94
+ }
95
+ }
96
+
48
97
.tech {
49
98
align-self : stretch;
50
99
}
Original file line number Diff line number Diff line change 29
29
--theme-text-lighter : hsla (var (--color-black ), 0.4 );
30
30
--theme-accent : hsla (var (--color-green ), 1 );
31
31
32
+ --theme-primary-button-bg : var (--theme-accent );
33
+ --theme-secondary-button-bg : var (--theme-bg );
34
+ --theme-primary-button-shadow : hsla (var (--color-green ), 0.3 );
35
+ --theme-primary-button-shadow-hover : hsla (var (--color-green ), 0.5 );
36
+ --theme-secondary-button-shadow : hsla (var (--color-black ), 0.1 );
37
+ --theme-secondary-button-shadow-hover : hsla (var (--color-black ), 0.16 );
38
+
32
39
--theme-divider : hsla (var (--color-black ), 0.11 );
33
40
}
34
41
42
49
--theme-text-lighter : hsla (var (--color-white ), 0.4 );
43
50
--theme-accent : hsla (var (--color-green ), 1 );
44
51
52
+ --theme-primary-button-bg : var (--theme-accent );
53
+ --theme-secondary-button-bg : var (--theme-code-bg );
54
+ --theme-primary-button-shadow : hsla (var (--color-green ), 0.3 );
55
+ --theme-primary-button-shadow-hover : hsla (var (--color-green ), 0.5 );
56
+ --theme-secondary-button-shadow : hsla (var (--color-white ), 0.1 );
57
+ --theme-secondary-button-shadow-hover : hsla (var (--color-white ), 0.16 );
58
+
45
59
--theme-divider : hsla (var (--color-white ), 0.2 );
46
60
}
47
61
You can’t perform that action at this time.
0 commit comments