Skip to content

Commit b8126e3

Browse files
committed
partners: Add Clerk
1 parent 204f945 commit b8126e3

File tree

5 files changed

+74
-14
lines changed

5 files changed

+74
-14
lines changed

app/components/DocsLayout.tsx

+11-14
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ export function DocsLayout({
613613
<a
614614
href={partner.href}
615615
target="_blank"
616-
className="px-4 flex items-center justify-center"
616+
className="px-4 flex items-center justify-center cursor-pointer"
617617
>
618618
<div className="mx-auto max-w-[150px]">
619619
<img
@@ -650,20 +650,17 @@ export function DocsLayout({
650650
<DocsCalloutBytes />
651651
)}
652652
</div>
653-
{partners.some((d) => d.libraries?.includes(libraryId as any)) ? (
654-
<div className="h-[200px]" />
655-
) : (
656-
<div className="bg-white dark:bg-gray-900 border-gray-500/20 shadow-xl divide-y divide-gray-500/20 flex flex-col border-t border-l border-b p-4 space-y-2 rounded-l-lg">
657-
<Carbon />
658-
<div
659-
className="text-[.7rem] bg-gray-500 bg-opacity-10 py-1 px-2 rounded text-gray-500 italic
660-
dark:bg-opacity-20 self-center"
661-
>
662-
Guess what? This ad helps to keep us from burning out and
663-
rage-quitting OSS just *that* much more. 😉
664-
</div>
653+
654+
<div className="bg-white dark:bg-gray-900 border-gray-500/20 shadow-xl flex flex-col border-t border-l border-b p-4 space-y-2 rounded-l-lg">
655+
<Carbon />
656+
<div
657+
className="text-[.7rem] bg-gray-500 bg-opacity-10 py-1 px-2 rounded text-gray-500 italic
658+
dark:bg-opacity-20 self-center opacity-50 hover:opacity-100 transition-opacity"
659+
>
660+
This ad helps to keep us from burning out and rage-quitting OSS
661+
just *that* much more, so chill. 😉
665662
</div>
666-
)}
663+
</div>
667664
</div>
668665
</div>
669666
{showBytes ? (

app/images/clerk-logo-dark.svg

+6
Loading

app/images/clerk-logo-light.svg

+6
Loading

app/utils/partners.tsx

+51
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import vercelLightSvg from '~/images/vercel-light.svg'
1111
import vercelDarkSvg from '~/images/vercel-dark.svg'
1212
import convexWhiteSvg from '~/images/convex-white.svg'
1313
import convexColorSvg from '~/images/convex-color.svg'
14+
import clerkLightSvg from '~/images/clerk-logo-light.svg'
15+
import clerkDarkSvg from '~/images/clerk-logo-dark.svg'
1416
import sentryWordMarkLightSvg from '~/images/sentry-wordmark-light.svg'
1517
import sentryWordMarkDarkSvg from '~/images/sentry-wordmark-dark.svg'
1618
import { Library } from '~/libraries'
@@ -78,6 +80,55 @@ export const partners: Partner[] = [
7880
),
7981
}
8082
})(),
83+
(() => {
84+
const href = 'https://go.clerk.com/wOwHtuJ'
85+
86+
return {
87+
name: 'Clerk',
88+
href,
89+
libraries: ['start', 'router'],
90+
sidebarImgLight: clerkLightSvg,
91+
sidebarImgDark: clerkDarkSvg,
92+
sidebarImgClass: 'py-4',
93+
homepageImg: (
94+
<a
95+
href={href}
96+
target="_blank"
97+
className="dark:bg-black w-full h-full flex items-center justify-center px-4 py-12"
98+
>
99+
<img
100+
src={clerkLightSvg}
101+
alt="Clerk"
102+
className="w-[200px] max-w-full dark:hidden"
103+
/>
104+
<img
105+
src={clerkDarkSvg}
106+
alt="Clerk"
107+
className="w-[200px] max-w-full hidden dark:block"
108+
/>
109+
</a>
110+
),
111+
content: (
112+
<>
113+
<div>
114+
Clerk and TanStack are partnering to elevate your application's
115+
<strong>security and user experience</strong> with industry-leading{' '}
116+
<strong>authentication and identity solutions</strong>. Paired with
117+
TanStack's non-nonsense routing and tooling, you'll be equipped to
118+
effortlessly deliver top-notch experiences that are your users can
119+
trust and your developers can rely on.
120+
</div>
121+
<a
122+
href={href}
123+
target="_blank"
124+
className="text-blue-500 uppercase font-black text-sm"
125+
>
126+
Learn More
127+
</a>
128+
</>
129+
),
130+
}
131+
})(),
81132
(() => {
82133
const href =
83134
'https://ag-grid.com/react-data-grid/?utm_source=reacttable&utm_campaign=githubreacttable'

media/brand.sketch

177 KB
Binary file not shown.

0 commit comments

Comments
 (0)