Skip to content

Commit db36920

Browse files
authored
doc: Add Unkey as sponsor 💖 (#915)
* chore: Disable hydration warnings on dark mode class injection * doc: Add Unkey as sponsor 💖
1 parent 223609e commit db36920

File tree

3 files changed

+29
-4
lines changed

3 files changed

+29
-4
lines changed

packages/docs/src/app/(pages)/_landing/dependents.tsx

+16-2
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,30 @@ export async function DependentsSection() {
3535
Used by
3636
</h2>
3737
<p className="flex flex-wrap items-center justify-center gap-x-16 gap-y-8">
38-
<a href="https://vercel.com" className="order-last sm:order-none">
38+
<a href="https://vercel.com">
3939
<svg
4040
aria-label="Vercel"
4141
xmlns="http://www.w3.org/2000/svg"
4242
viewBox="0 0 284 65"
43-
className="inline h-8 fill-black dark:fill-white md:h-10"
43+
className="inline h-8 fill-black dark:fill-white"
4444
>
4545
<path d="M141.68 16.25c-11.04 0-19 7.2-19 18s8.96 18 20 18c6.67 0 12.55-2.64 16.19-7.09l-7.65-4.42c-2.02 2.21-5.09 3.5-8.54 3.5-4.79 0-8.86-2.5-10.37-6.5h28.02c.22-1.12.35-2.28.35-3.5 0-10.79-7.96-17.99-19-17.99zm-9.46 14.5c1.25-3.99 4.67-6.5 9.45-6.5 4.79 0 8.21 2.51 9.45 6.5h-18.9zm117.14-14.5c-11.04 0-19 7.2-19 18s8.96 18 20 18c6.67 0 12.55-2.64 16.19-7.09l-7.65-4.42c-2.02 2.21-5.09 3.5-8.54 3.5-4.79 0-8.86-2.5-10.37-6.5h28.02c.22-1.12.35-2.28.35-3.5 0-10.79-7.96-17.99-19-17.99zm-9.45 14.5c1.25-3.99 4.67-6.5 9.45-6.5 4.79 0 8.21 2.51 9.45 6.5h-18.9zm-39.03 3.5c0 6 3.92 10 10 10 4.12 0 7.21-1.87 8.8-4.92l7.68 4.43c-3.18 5.3-9.14 8.49-16.48 8.49-11.05 0-19-7.2-19-18s7.96-18 19-18c7.34 0 13.29 3.19 16.48 8.49l-7.68 4.43c-1.59-3.05-4.68-4.92-8.8-4.92-6.07 0-10 4-10 10zm82.48-29v46h-9v-46h9zM37.59.25l36.95 64H.64l36.95-64zm92.38 5l-27.71 48-27.71-48h10.39l17.32 30 17.32-30h10.39zm58.91 12v9.69c-1-.29-2.06-.49-3.2-.49-5.81 0-10 4-10 10v14.8h-9v-34h9v9.2c0-5.08 5.91-9.2 13.2-9.2z" />
4646
</svg>
4747
</a>
48+
<a href="https://unkey.com">
49+
<svg
50+
aria-label="Unkey"
51+
xmlns="http://www.w3.org/2000/svg"
52+
width="93"
53+
height="40"
54+
viewBox="0 0 93 40"
55+
>
56+
<path
57+
d="M10.8 30.3C4.8 30.3 1.38 27.12 1.38 21.66V9.9H4.59V21.45C4.59 25.5 6.39 27.18 10.8 27.18C15.21 27.18 17.01 25.5 17.01 21.45V9.9H20.25V21.66C20.25 27.12 16.83 30.3 10.8 30.3ZM26.3611 30H23.1211V15.09H26.0911V19.71H26.3011C26.7511 17.19 28.7311 14.79 32.5111 14.79C36.6511 14.79 38.6911 17.58 38.6911 21.03V30H35.4511V21.9C35.4511 19.11 34.1911 17.7 31.1011 17.7C27.8311 17.7 26.3611 19.38 26.3611 22.62V30ZM44.8181 30H41.5781V9.9H44.8181V21H49.0781L53.5481 15.09H57.3281L51.7181 22.26L57.2981 30H53.4881L49.0781 23.91H44.8181V30ZM66.4219 30.3C61.5319 30.3 58.3219 27.54 58.3219 22.56C58.3219 17.91 61.5019 14.79 66.3619 14.79C70.9819 14.79 74.1319 17.34 74.1319 21.87C74.1319 22.41 74.1019 22.83 74.0119 23.28H61.3519C61.4719 26.16 62.8819 27.69 66.3319 27.69C69.4519 27.69 70.7419 26.67 70.7419 24.9V24.66H73.9819V24.93C73.9819 28.11 70.8619 30.3 66.4219 30.3ZM66.3019 17.34C63.0019 17.34 61.5619 18.81 61.3819 21.48H71.0719V21.42C71.0719 18.66 69.4819 17.34 66.3019 17.34ZM78.9586 35.1H76.8286V32.16H79.7386C81.0586 32.16 81.5986 31.8 82.0486 30.78L82.4086 30L75.0586 15.09H78.6886L82.4986 23.01L83.9686 26.58H84.2086L85.6186 22.98L89.1286 15.09H92.6986L84.9286 31.62C83.6986 34.29 82.0186 35.1 78.9586 35.1Z"
58+
className="fill-black dark:fill-white"
59+
/>
60+
</svg>
61+
</a>
4862
<a href="https://midday.ai">
4963
<svg
5064
xmlns="http://www.w3.org/2000/svg"

packages/docs/src/app/(pages)/_landing/sponsors.tsx

+7-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function SponsorsSection() {
1111
<h2 className="mb-12 text-center text-3xl font-bold tracking-tighter dark:text-white md:text-4xl xl:text-5xl">
1212
Sponsors
1313
</h2>
14-
<ul className="container grid grid-cols-2 gap-y-12 md:grid-cols-3 xl:grid-cols-6">
14+
<ul className="container grid grid-cols-2 gap-y-12 md:grid-cols-3 xl:grid-cols-7">
1515
{sponsors.map(sponsor => (
1616
<li key={sponsor.handle} className="flex flex-col items-center">
1717
<a href={sponsor.url} className="h-32 w-32 rounded-full">
@@ -89,6 +89,12 @@ async function fetchSponsors(): Promise<Sponsors> {
8989
url: 'https://vercel.com/',
9090
img: 'https://avatars.githubusercontent.com/u/14985020?v=4'
9191
},
92+
{
93+
handle: 'unkey.com',
94+
name: 'Unkey',
95+
url: 'https://unkey.com',
96+
img: 'https://avatars.githubusercontent.com/u/138932600?s=200&v=4'
97+
},
9298
{
9399
handle: 'ryanmagoon',
94100
name: 'Ryan Magoon',

packages/docs/src/app/layout.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@ export const metadata = {
3333
export default function Layout({ children }: { children: ReactNode }) {
3434
const enableChiffreAnalytics = process.env.VERCEL_ENV === 'production'
3535
return (
36-
<html lang="en" className={cn(inter.className, 'antialiased')}>
36+
<html
37+
lang="en"
38+
className={cn(inter.className, 'antialiased')}
39+
// https://github.com/shadcn-ui/ui/issues/5552#issuecomment-2435024526
40+
suppressHydrationWarning
41+
>
3742
<body>
3843
<Banner
3944
variant="rainbow"

0 commit comments

Comments
 (0)