Skip to content

Commit a55214b

Browse files
Add Vercel sponsor logo (#86)
* chore: add Vercel sponsor logo with theme-aware display Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * chore: reorder sponsor logos to OpenAI → Vercel → Blacksmith → Convex Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3c2df58 commit a55214b

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

public/sponsors/vercel-dark.svg

Lines changed: 3 additions & 0 deletions
Loading

public/sponsors/vercel-light.svg

Lines changed: 3 additions & 0 deletions
Loading

src/pages/index.astro

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,10 @@ const duration2 = (row2.length / 2 * pixelsPerItem) / pixelsPerSecond;
784784
<a href="https://openai.com" target="_blank" rel="noopener" class="sponsor-card">
785785
<img src="/sponsors/openai.svg" alt="OpenAI" class="sponsor-logo sponsor-logo-openai" loading="lazy" />
786786
</a>
787+
<a href="https://vercel.com" target="_blank" rel="noopener" class="sponsor-card">
788+
<img src="/sponsors/vercel-dark.svg" alt="Vercel" class="sponsor-logo sponsor-logo-vercel sponsor-logo-dark-only" loading="lazy" />
789+
<img src="/sponsors/vercel-light.svg" alt="Vercel" class="sponsor-logo sponsor-logo-vercel sponsor-logo-light-only" loading="lazy" />
790+
</a>
787791
<a href="https://blacksmith.sh" target="_blank" rel="noopener" class="sponsor-card">
788792
<img src="/sponsors/blacksmith.svg" alt="Blacksmith" class="sponsor-logo sponsor-logo-blacksmith" loading="lazy" />
789793
</a>
@@ -1840,6 +1844,22 @@ const duration2 = (row2.length / 2 * pixelsPerItem) / pixelsPerSecond;
18401844
height: 28px;
18411845
}
18421846

1847+
.sponsor-logo-vercel {
1848+
height: 28px;
1849+
}
1850+
1851+
.sponsor-logo-light-only {
1852+
display: none;
1853+
}
1854+
1855+
html[data-theme='light'] .sponsor-logo-dark-only {
1856+
display: none;
1857+
}
1858+
1859+
html[data-theme='light'] .sponsor-logo-light-only {
1860+
display: block;
1861+
}
1862+
18431863
@media (max-width: 480px) {
18441864
.sponsors-grid {
18451865
gap: 16px;
@@ -1864,6 +1884,10 @@ const duration2 = (row2.length / 2 * pixelsPerItem) / pixelsPerSecond;
18641884
.sponsor-logo-convex {
18651885
height: 22px;
18661886
}
1887+
1888+
.sponsor-logo-vercel {
1889+
height: 22px;
1890+
}
18671891
}
18681892

18691893
/* Footer */

0 commit comments

Comments
 (0)