Skip to content

Commit bd78ed9

Browse files
authored
feat: add Sayr bronze sponsor (#383)
* feat: add Sayr bronze sponsor * fix: correct Sayr black logo URL * update ui
1 parent eafbb53 commit bd78ed9

3 files changed

Lines changed: 71 additions & 28 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,16 @@ We are grateful for the support of our sponsors.
123123
<img src="https://usesend.com/coderabbit-wordmark.png" alt="coderabbit.ai" style="width:200px;height:100px;">
124124
</a>
125125

126+
### Bronze Sponsors
127+
128+
<a href="https://sayr.io/?utm_source=useSend.com" target="_blank">
129+
<picture>
130+
<source media="(prefers-color-scheme: dark)" srcset="https://cdn.doras.to/Sayr/Sayr%20white.png" />
131+
<source media="(prefers-color-scheme: light)" srcset="https://cdn.doras.to/Sayr/sayr%20black.png" />
132+
<img src="https://cdn.doras.to/Sayr/sayr%20black.png" alt="Sayr" style="width:180px;height:auto;">
133+
</picture>
134+
</a>
135+
126136
### Other Sponsors
127137

128138
<a href="https://doras.to/?utm_source=useSend.com" target="_blank">

apps/marketing/next.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ const config = {
77
images: {
88
// Required for static export if using images
99
unoptimized: true,
10+
remotePatterns: [
11+
{
12+
protocol: "https",
13+
hostname: "cdn.doras.to",
14+
pathname: "/Sayr/**",
15+
},
16+
],
1017
},
1118
pageExtensions: ["js", "jsx", "md", "mdx", "ts", "tsx"],
1219
};

apps/marketing/src/app/page.tsx

Lines changed: 54 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -60,34 +60,56 @@ function Hero() {
6060
Open source • Self-host in minutes • Free tier
6161
</p>
6262

63-
<div className="mt-12 text-center text-xs text-muted-foreground flex flex-col items-center justify-center gap-2">
63+
<div className="mt-12 text-center text-xs text-muted-foreground flex flex-col items-center justify-center gap-4">
6464
<p className="text-xs">Proudly sponsored by</p>
65-
<a
66-
href="https://coderabbit.ai/?utm_source=useSend.com"
67-
target="_blank"
68-
>
69-
<Image
70-
src="/code-rabbit-usesend-dark.svg"
71-
alt="Code Rabbit"
72-
width={200}
73-
height={100}
74-
className="dark:hidden"
65+
<div className="flex flex-col items-center gap-2">
66+
<a
67+
href="https://coderabbit.ai/?utm_source=useSend.com"
68+
target="_blank"
7569
rel="noopener noreferrer"
76-
/>
77-
</a>
78-
<a
79-
href="https://coderabbit.ai/?utm_source=useSend.com"
80-
target="_blank"
81-
>
82-
<Image
83-
src="/code-rabbit-usesend-light.svg"
84-
alt="Code Rabbit"
85-
width={200}
86-
height={100}
87-
className="hidden dark:block"
70+
>
71+
<Image
72+
src="/code-rabbit-usesend-dark.svg"
73+
alt="Code Rabbit"
74+
width={200}
75+
height={100}
76+
className="dark:hidden"
77+
/>
78+
<Image
79+
src="/code-rabbit-usesend-light.svg"
80+
alt="Code Rabbit"
81+
width={200}
82+
height={100}
83+
className="hidden dark:block"
84+
/>
85+
</a>
86+
</div>
87+
88+
<div className="flex flex-col items-center gap-2 mt-4">
89+
<p className="text-[11px] uppercase tracking-[0.25em] text-muted-foreground/80">
90+
Bronze sponsor
91+
</p>
92+
<a
93+
href="https://sayr.io/?utm_source=useSend.com"
94+
target="_blank"
8895
rel="noopener noreferrer"
89-
/>
90-
</a>
96+
>
97+
<Image
98+
src="https://cdn.doras.to/Sayr/sayr%20black.png"
99+
alt="Sayr"
100+
width={80}
101+
height={32}
102+
className="h-8 w-auto dark:hidden"
103+
/>
104+
<Image
105+
src="https://cdn.doras.to/Sayr/Sayr%20white.png"
106+
alt="Sayr"
107+
width={80}
108+
height={32}
109+
className="hidden h-8 w-auto dark:block"
110+
/>
111+
</a>
112+
</div>
91113
</div>
92114

93115
<div className=" mt-32 mx-auto max-w-5xl">
@@ -188,8 +210,10 @@ function TrustedBy() {
188210
<div className="mt-5 flex items-center gap-3">
189211
<Avatar className="rounded-lg border-2 border-primary/50 h-8 w-8">
190212
<AvatarImage src={t.image} alt={`${t.author} avatar`} />
191-
<AvatarFallback className="rounded-lg text-xs">{t.author.charAt(0).toUpperCase()}</AvatarFallback>
192-
</Avatar>
213+
<AvatarFallback className="rounded-lg text-xs">
214+
{t.author.charAt(0).toUpperCase()}
215+
</AvatarFallback>
216+
</Avatar>
193217
<figcaption className="text-sm">
194218
<span className="font-medium">{t.author}</span>
195219
<a
@@ -219,7 +243,9 @@ function TrustedBy() {
219243
<div className="mt-5 flex items-center gap-3">
220244
<Avatar className="rounded-lg border-2 border-primary/50 h-8 w-8">
221245
<AvatarImage src={t.image} alt={`${t.author} avatar`} />
222-
<AvatarFallback className="rounded-lg text-xs">{t.author.charAt(0).toUpperCase()}</AvatarFallback>
246+
<AvatarFallback className="rounded-lg text-xs">
247+
{t.author.charAt(0).toUpperCase()}
248+
</AvatarFallback>
223249
</Avatar>
224250
<figcaption className="text-sm">
225251
<span className="font-medium">{t.author}</span>

0 commit comments

Comments
 (0)