Skip to content

Commit 87b568c

Browse files
committed
New splash image
1 parent 2bd3dfd commit 87b568c

File tree

5 files changed

+43
-34
lines changed

5 files changed

+43
-34
lines changed

app/images/splash-dark.png

221 KB
Loading

app/images/splash-light.png

235 KB
Loading

app/routes/_libraries/index.tsx

Lines changed: 43 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import logoColor from '~/images/logo-color-600w.png'
1818
import bytesImage from '~/images/bytes.svg'
1919
import { partners } from '../../utils/partners'
2020
import OpenSourceStats from '~/components/OpenSourceStats'
21+
import splashLightImg from '~/images/splash-light.png'
22+
import splashDarkImg from '~/images/splash-dark.png'
2123

2224
export const textColors = [
2325
`text-rose-500`,
@@ -89,50 +91,57 @@ function Index() {
8991
className="-bottom-[50px] -right-[100px] z-0 fixed opacity-20"
9092
/> */}
9193
<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
101109
font-black text-5xl
102110
md:text-6xl
103111
lg:text-8xl`}
104-
>
105-
<span
106-
className={`
112+
>
113+
<span
114+
className={`
107115
inline-block text-black dark:text-white
108116
mb-2 uppercase [letter-spacing:-.04em] pr-1.5
109117
`}
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.
112131
</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
127135
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>
133142
</div>
134143
<div className="h-8" />
135-
<div className="w-fit mx-auto">
144+
<div className="w-fit mx-auto px-4">
136145
<OpenSourceStats />
137146
</div>
138147
<div className="h-24" />

media/splash/splash-dark.afphoto

4.17 MB
Binary file not shown.

media/splash/splash-light.afphoto

3.74 MB
Binary file not shown.

0 commit comments

Comments
 (0)