Skip to content

Commit d397e97

Browse files
committed
Update partners
1 parent 16e1803 commit d397e97

File tree

3 files changed

+108
-7
lines changed

3 files changed

+108
-7
lines changed

app/images/neon-dark.svg

Lines changed: 20 additions & 0 deletions
Loading

app/images/neon-light.svg

Lines changed: 25 additions & 0 deletions
Loading

app/utils/partners.tsx

Lines changed: 63 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ import sentryWordMarkLightSvg from '~/images/sentry-wordmark-light.svg'
1717
import sentryWordMarkDarkSvg from '~/images/sentry-wordmark-dark.svg'
1818
import speakeasyLightSvg from '~/images/speakeasy-light.svg'
1919
import speakeasyDarkSvg from '~/images/speakeasy-dark.svg'
20+
import neonLightSvg from '~/images/neon-light.svg'
21+
import neonDarkSvg from '~/images/neon-dark.svg'
2022
import { Library } from '~/libraries'
2123

2224
type Partner = {
@@ -31,6 +33,56 @@ type Partner = {
3133
sidebarImgClass?: string
3234
}
3335

36+
const neon = (() => {
37+
const href = 'https://neon.tech?utm_source=tanstack'
38+
39+
return {
40+
name: 'Neon',
41+
id: 'neon',
42+
libraries: ['start', 'router'],
43+
sidebarImgLight: neonLightSvg,
44+
sidebarImgDark: neonDarkSvg,
45+
sidebarImgClass: 'py-3 scale-[1]',
46+
href,
47+
homepageImg: (
48+
<div className="w-full h-full flex items-center justify-center px-4 py-6">
49+
<img
50+
src={neonLightSvg}
51+
alt="Neon"
52+
className="w-[260px] max-w-full dark:hidden"
53+
width="260"
54+
height="72"
55+
/>
56+
<img
57+
src={neonDarkSvg}
58+
alt="Neon"
59+
className="w-[260px] max-w-full hidden dark:block"
60+
width="260"
61+
height="72"
62+
/>
63+
</div>
64+
),
65+
content: (
66+
<>
67+
<div className="text-xs">
68+
Neon and TanStack are joining forces to bring{' '}
69+
<strong>serverless PostgreSQL</strong> to the modern web stack. With
70+
Neon's{' '}
71+
<strong>
72+
blazing-fast branching, autoscaling, and storage/compute separation
73+
</strong>
74+
, developers can instantly spin up production-grade databases for
75+
every branch, test, or feature. TanStack's developer-first framework +
76+
Neon's cutting-edge infra = next-gen DX.
77+
</div>
78+
<span className="text-blue-500 uppercase font-black text-sm">
79+
Learn More
80+
</span>
81+
</>
82+
),
83+
}
84+
})()
85+
3486
const convex = (() => {
3587
const href = 'https://convex.dev?utm_source=tanstack'
3688

@@ -136,15 +188,15 @@ const agGrid = (() => {
136188
<img
137189
src={agGridDarkSvg}
138190
alt="Enterprise Data Grid"
139-
className="w-[270px] max-w-full dark:hidden"
140-
width="270"
191+
className="w-[290px] max-w-full dark:hidden"
192+
width="290"
141193
height="95"
142194
/>
143195
<img
144196
src={agGridLightSvg}
145197
alt="Enterprise Data Grid"
146-
className="w-[270px] max-w-full hidden dark:block"
147-
width="270"
198+
className="w-[290px] max-w-full hidden dark:block"
199+
width="290"
148200
height="95"
149201
/>
150202
</div>
@@ -183,13 +235,13 @@ const netlify = (() => {
183235
sidebarImgDark: netlifyDarkSvg,
184236
sidebarImgClass: 'pt-2 scale-[.9]',
185237
sidebarAfterImg: (
186-
<div className="text-[10px] text-center py-1 px-2 w-full bg-gradient-to-b from-transparent to-gray-500/10 uppercase font-bold">
238+
<div className="text-[10px] rounded-xl m-1 mx-auto w-fit text-center py-px px-2 bg-[#03bdba] text-white uppercase font-bold">
187239
Official Deployment Partner
188240
</div>
189241
),
190242
href,
191243
homepageImg: (
192-
<div className="flex flex-col justify-center items-center pb-4 gap-2 w-full">
244+
<div className="flex flex-col justify-center items-center pb-4 gap-2 relative w-full h-full">
193245
<div className="w-full h-full flex items-center justify-center px-4 pt-6 pb-2">
194246
<img
195247
src={netlifyLightSvg}
@@ -202,7 +254,10 @@ const netlify = (() => {
202254
className="w-[280px] max-w-full hidden dark:block"
203255
/>
204256
</div>
205-
<div className="w-auto text-xs text-center py-1 px-3 rounded-full uppercase font-bold m-2 bg-[#03bdba] text-white ">
257+
<div
258+
className="absolute bottom-0 left-1/2 -translate-x-1/2 translate-y-[2px] w-auto text-xs text-center
259+
py-1 px-3 rounded-t-xl uppercase font-bold bg-gradient-to-r from-[#03bdba] to-[#00aaba] text-white "
260+
>
206261
Official Deployment Partner
207262
</div>
208263
</div>
@@ -469,6 +524,7 @@ export const partners: Partner[] = [
469524
clerk,
470525
agGrid,
471526
netlify,
527+
neon,
472528
convex,
473529
sentry,
474530
speakeasy,

0 commit comments

Comments
 (0)