Skip to content

Commit 8531eb5

Browse files
committed
Update docs
1 parent 2fe9822 commit 8531eb5

File tree

1 file changed

+20
-22
lines changed

1 file changed

+20
-22
lines changed

website/src/components/home.tsx

+20-22
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export function Home() {
55
<div
66
className='nx-flex nx-flex-col nx-justify-center nx-items-center'
77
style={{
8-
overflow: 'hidden',
8+
// overflow: 'hidden',
99
textAlign: 'center',
1010
display: 'flex',
1111
flexDirection: 'column',
@@ -18,7 +18,6 @@ export function Home() {
1818
<section
1919
style={{
2020
width: '100%',
21-
// paddingBlock: '15dvh',
2221
position: 'relative',
2322
alignItems: 'center',
2423
display: 'flex',
@@ -69,29 +68,29 @@ export function Home() {
6968
>
7069
<a href='/docs'>
7170
<button
72-
className='nx-bg-light dark:nx-bg-dark'
7371
type='button'
7472
style={{
73+
color: 'white',
7574
fontSize: 'medium',
7675
paddingInline: 16,
7776
paddingBlock: 8,
7877
borderRadius: 4,
79-
filter: 'invert()'
78+
background: 'linear-gradient(#a788ec, #5e6ad2)'
8079
}}
8180
>
8281
Read the docs
8382
</button>
8483
</a>
8584
<a href='https://github.com/terai-labs/terai'>
8685
<button
87-
className='dark:nx-bg-dark'
8886
type='button'
8987
style={{
88+
color: 'white',
9089
fontSize: 'medium',
9190
paddingInline: 16,
9291
paddingBlock: 8,
9392
borderRadius: 4,
94-
filter: 'invert()'
93+
background: 'black'
9594
}}
9695
>
9796
GitHub
@@ -104,8 +103,7 @@ export function Home() {
104103
<hr
105104
className={'dark:nx-border-neutral-800'}
106105
style={{
107-
width: '100%',
108-
transform: 'scaleX(2)'
106+
width: '100dvw'
109107
}}
110108
/>
111109

@@ -121,11 +119,11 @@ export function Home() {
121119
}}
122120
>
123121
<Logo
124-
height={'600px'}
125-
width={'600px'}
122+
height={'400px'}
123+
width={'400px'}
126124
style={{
127125
position: 'absolute',
128-
filter: 'blur(80px)',
126+
filter: 'blur(120px)',
129127
zIndex: -1
130128
}}
131129
/>
@@ -163,7 +161,7 @@ export function Home() {
163161
}}
164162
>
165163
<li
166-
className='nx-bg-light dark:nx-bg-dark'
164+
className='nx-bg-white dark:nx-bg-dark'
167165
style={{
168166
display: 'flex',
169167
flexDirection: 'column',
@@ -194,7 +192,7 @@ export function Home() {
194192
</span>
195193
</li>
196194
<li
197-
className='nx-bg-light dark:nx-bg-dark'
195+
className='nx-bg-white dark:nx-bg-dark'
198196
style={{
199197
display: 'flex',
200198
flexDirection: 'column',
@@ -226,7 +224,7 @@ export function Home() {
226224
</span>
227225
</li>
228226
<li
229-
className='nx-bg-light dark:nx-bg-dark'
227+
className='nx-bg-white dark:nx-bg-dark'
230228
style={{
231229
display: 'flex',
232230
flexDirection: 'column',
@@ -257,7 +255,7 @@ export function Home() {
257255
</span>
258256
</li>
259257
<li
260-
className='nx-bg-light dark:nx-bg-dark'
258+
className='nx-bg-white dark:nx-bg-dark'
261259
style={{
262260
display: 'flex',
263261
flexDirection: 'column',
@@ -288,7 +286,7 @@ export function Home() {
288286
</span>
289287
</li>
290288
<li
291-
className='nx-bg-light dark:nx-bg-dark'
289+
className='nx-bg-white dark:nx-bg-dark'
292290
style={{
293291
display: 'flex',
294292
flexDirection: 'column',
@@ -319,7 +317,7 @@ export function Home() {
319317
</span>
320318
</li>
321319
<li
322-
className='nx-bg-light dark:nx-bg-dark'
320+
className='nx-bg-white dark:nx-bg-dark'
323321
style={{
324322
display: 'flex',
325323
flexDirection: 'column',
@@ -356,8 +354,7 @@ export function Home() {
356354
<hr
357355
className={'dark:nx-border-neutral-800'}
358356
style={{
359-
width: '100%',
360-
transform: 'scaleX(2)'
357+
width: '100dvw'
361358
}}
362359
/>
363360

@@ -370,7 +367,6 @@ export function Home() {
370367
justifyContent: 'center'
371368
}}
372369
>
373-
<Logo height={'80px'} />
374370
<h2
375371
style={{
376372
fontWeight: 'bolder',
@@ -445,7 +441,8 @@ function HeaderLogo() {
445441
padding: 12,
446442
borderRadius: '20px',
447443
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)'
449446
}}
450447
>
451448
<Logo style={{ opacity: 0 }} />
@@ -505,7 +502,8 @@ const DottedBackground = () => {
505502
width: '100%',
506503
height: '100%',
507504
top: 0,
508-
left: 0
505+
left: 0,
506+
zIndex: -1
509507
}}
510508
ref={canvasRef}
511509
/>

0 commit comments

Comments
 (0)