@@ -5,7 +5,7 @@ export function Home() {
5
5
< div
6
6
className = 'nx-flex nx-flex-col nx-justify-center nx-items-center'
7
7
style = { {
8
- overflow : 'hidden' ,
8
+ // overflow: 'hidden',
9
9
textAlign : 'center' ,
10
10
display : 'flex' ,
11
11
flexDirection : 'column' ,
@@ -18,7 +18,6 @@ export function Home() {
18
18
< section
19
19
style = { {
20
20
width : '100%' ,
21
- // paddingBlock: '15dvh',
22
21
position : 'relative' ,
23
22
alignItems : 'center' ,
24
23
display : 'flex' ,
@@ -69,29 +68,29 @@ export function Home() {
69
68
>
70
69
< a href = '/docs' >
71
70
< button
72
- className = 'nx-bg-light dark:nx-bg-dark'
73
71
type = 'button'
74
72
style = { {
73
+ color : 'white' ,
75
74
fontSize : 'medium' ,
76
75
paddingInline : 16 ,
77
76
paddingBlock : 8 ,
78
77
borderRadius : 4 ,
79
- filter : 'invert( )'
78
+ background : 'linear-gradient(#a788ec, #5e6ad2 )'
80
79
} }
81
80
>
82
81
Read the docs
83
82
</ button >
84
83
</ a >
85
84
< a href = 'https://github.com/terai-labs/terai' >
86
85
< button
87
- className = 'dark:nx-bg-dark'
88
86
type = 'button'
89
87
style = { {
88
+ color : 'white' ,
90
89
fontSize : 'medium' ,
91
90
paddingInline : 16 ,
92
91
paddingBlock : 8 ,
93
92
borderRadius : 4 ,
94
- filter : 'invert() '
93
+ background : 'black '
95
94
} }
96
95
>
97
96
GitHub
@@ -104,8 +103,7 @@ export function Home() {
104
103
< hr
105
104
className = { 'dark:nx-border-neutral-800' }
106
105
style = { {
107
- width : '100%' ,
108
- transform : 'scaleX(2)'
106
+ width : '100dvw'
109
107
} }
110
108
/>
111
109
@@ -121,11 +119,11 @@ export function Home() {
121
119
} }
122
120
>
123
121
< Logo
124
- height = { '600px ' }
125
- width = { '600px ' }
122
+ height = { '400px ' }
123
+ width = { '400px ' }
126
124
style = { {
127
125
position : 'absolute' ,
128
- filter : 'blur(80px )' ,
126
+ filter : 'blur(120px )' ,
129
127
zIndex : - 1
130
128
} }
131
129
/>
@@ -163,7 +161,7 @@ export function Home() {
163
161
} }
164
162
>
165
163
< li
166
- className = 'nx-bg-light dark:nx-bg-dark'
164
+ className = 'nx-bg-white dark:nx-bg-dark'
167
165
style = { {
168
166
display : 'flex' ,
169
167
flexDirection : 'column' ,
@@ -194,7 +192,7 @@ export function Home() {
194
192
</ span >
195
193
</ li >
196
194
< li
197
- className = 'nx-bg-light dark:nx-bg-dark'
195
+ className = 'nx-bg-white dark:nx-bg-dark'
198
196
style = { {
199
197
display : 'flex' ,
200
198
flexDirection : 'column' ,
@@ -226,7 +224,7 @@ export function Home() {
226
224
</ span >
227
225
</ li >
228
226
< li
229
- className = 'nx-bg-light dark:nx-bg-dark'
227
+ className = 'nx-bg-white dark:nx-bg-dark'
230
228
style = { {
231
229
display : 'flex' ,
232
230
flexDirection : 'column' ,
@@ -257,7 +255,7 @@ export function Home() {
257
255
</ span >
258
256
</ li >
259
257
< li
260
- className = 'nx-bg-light dark:nx-bg-dark'
258
+ className = 'nx-bg-white dark:nx-bg-dark'
261
259
style = { {
262
260
display : 'flex' ,
263
261
flexDirection : 'column' ,
@@ -288,7 +286,7 @@ export function Home() {
288
286
</ span >
289
287
</ li >
290
288
< li
291
- className = 'nx-bg-light dark:nx-bg-dark'
289
+ className = 'nx-bg-white dark:nx-bg-dark'
292
290
style = { {
293
291
display : 'flex' ,
294
292
flexDirection : 'column' ,
@@ -319,7 +317,7 @@ export function Home() {
319
317
</ span >
320
318
</ li >
321
319
< li
322
- className = 'nx-bg-light dark:nx-bg-dark'
320
+ className = 'nx-bg-white dark:nx-bg-dark'
323
321
style = { {
324
322
display : 'flex' ,
325
323
flexDirection : 'column' ,
@@ -356,8 +354,7 @@ export function Home() {
356
354
< hr
357
355
className = { 'dark:nx-border-neutral-800' }
358
356
style = { {
359
- width : '100%' ,
360
- transform : 'scaleX(2)'
357
+ width : '100dvw'
361
358
} }
362
359
/>
363
360
@@ -370,7 +367,6 @@ export function Home() {
370
367
justifyContent : 'center'
371
368
} }
372
369
>
373
- < Logo height = { '80px' } />
374
370
< h2
375
371
style = { {
376
372
fontWeight : 'bolder' ,
@@ -445,7 +441,8 @@ function HeaderLogo() {
445
441
padding : 12 ,
446
442
borderRadius : '20px' ,
447
443
border : '1px solid rgba(160,160,160,0.1)' ,
448
- backdropFilter : 'blur(16px)'
444
+ backdropFilter : 'blur(16px)' ,
445
+ boxShadow : '0px 3px 6px rgba(0,0,0,0.1)'
449
446
} }
450
447
>
451
448
< Logo style = { { opacity : 0 } } />
@@ -505,7 +502,8 @@ const DottedBackground = () => {
505
502
width : '100%' ,
506
503
height : '100%' ,
507
504
top : 0 ,
508
- left : 0
505
+ left : 0 ,
506
+ zIndex : - 1
509
507
} }
510
508
ref = { canvasRef }
511
509
/>
0 commit comments