@@ -18,6 +18,8 @@ import logoColor from '~/images/logo-color-600w.png'
18
18
import bytesImage from '~/images/bytes.svg'
19
19
import { partners } from '../../utils/partners'
20
20
import OpenSourceStats from '~/components/OpenSourceStats'
21
+ import splashLightImg from '~/images/splash-light.png'
22
+ import splashDarkImg from '~/images/splash-dark.png'
21
23
22
24
export const textColors = [
23
25
`text-rose-500` ,
@@ -89,50 +91,57 @@ function Index() {
89
91
className="-bottom-[50px] -right-[100px] z-0 fixed opacity-20"
90
92
/> */ }
91
93
< div className = "max-w-full z-10" >
92
- < div className = "flex flex-col items-center gap-6 text-center px-4 pt-12 lg:pt-24" >
93
- < div className = "flex gap-2 lg:gap-4 items-center" >
94
- < img
95
- src = { logoColor }
96
- alt = "TanStack Logo"
97
- className = "w-[40px] md:w-[60px] lg:w-[100px]"
98
- />
99
- < h1
100
- className = { `inline-block
94
+ < div className = "flex flex-col xl:flex-row items-center gap-4 xl:pt-24 xl:justify-center" >
95
+ < img
96
+ src = { splashLightImg }
97
+ className = "w-[300px] pt-8 xl:pt-0 xl:w-[400px] 2xl:w-[500px] dark:hidden"
98
+ alt = "TanStack Logo"
99
+ />
100
+ < img
101
+ src = { splashDarkImg }
102
+ className = "w-[300px] pt-8 xl:pt-0 xl:w-[400px] 2xl:w-[500px] hidden dark:block"
103
+ alt = "TanStack Logo"
104
+ />
105
+ < div className = "flex flex-col items-center gap-6 text-center px-4 xl:text-left xl:items-start" >
106
+ < div className = "flex gap-2 lg:gap-4 items-center" >
107
+ < h1
108
+ className = { `inline-block
101
109
font-black text-5xl
102
110
md:text-6xl
103
111
lg:text-8xl` }
104
- >
105
- < span
106
- className = { `
112
+ >
113
+ < span
114
+ className = { `
107
115
inline-block text-black dark:text-white
108
116
mb-2 uppercase [letter-spacing:-.04em] pr-1.5
109
117
` }
110
- >
111
- TanStack
118
+ >
119
+ TanStack
120
+ </ span >
121
+ </ h1 >
122
+ </ div >
123
+ < h2
124
+ className = "font-bold text-2xl max-w-md
125
+ md:text-4xl md:max-w-2xl
126
+ 2xl:text-5xl lg:max-w-2xl text-balance"
127
+ >
128
+ High-quality open-source software for{ ' ' }
129
+ < span className = "underline decoration-dashed decoration-yellow-500 decoration-3 underline-offset-2" >
130
+ web developers.
112
131
</ span >
113
- </ h1 >
114
- </ div >
115
- < h2
116
- className = "font-bold text-2xl max-w-md
117
- md:text-4xl
118
- lg:text-5xl lg:max-w-2xl text-balance"
119
- >
120
- High-quality open-source software for{ ' ' }
121
- < span className = "underline decoration-dashed decoration-yellow-500 decoration-3 underline-offset-2" >
122
- web developers.
123
- </ span >
124
- </ h2 >
125
- < p
126
- className = "text opacity-90 max-w-sm
132
+ </ h2 >
133
+ < p
134
+ className = "text opacity-90 max-w-sm
127
135
lg:text-xl lg:max-w-2xl text-balance"
128
- >
129
- Headless, type-safe, & powerful utilities for Web Applications ,
130
- Routing , State Management , Data Visualization , Datagrids / Tables , and
131
- more .
132
- </ p >
136
+ >
137
+ Headless, type-safe, & powerful utilities for Web Applications ,
138
+ Routing , State Management , Data Visualization , Datagrids / Tables ,
139
+ and more .
140
+ </ p >
141
+ </ div >
133
142
</ div >
134
143
< div className = "h-8" />
135
- < div className = "w-fit mx-auto" >
144
+ < div className = "w-fit mx-auto px-4 " >
136
145
< OpenSourceStats />
137
146
</ div >
138
147
< div className = "h-24" />
0 commit comments