Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions public/sponsors/vercel-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions public/sponsors/vercel-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,10 @@ const duration2 = (row2.length / 2 * pixelsPerItem) / pixelsPerSecond;
<a href="https://openai.com" target="_blank" rel="noopener" class="sponsor-card">
<img src="/sponsors/openai.svg" alt="OpenAI" class="sponsor-logo sponsor-logo-openai" loading="lazy" />
</a>
<a href="https://vercel.com" target="_blank" rel="noopener" class="sponsor-card">
<img src="/sponsors/vercel-dark.svg" alt="Vercel" class="sponsor-logo sponsor-logo-vercel sponsor-logo-dark-only" loading="lazy" />
<img src="/sponsors/vercel-light.svg" alt="Vercel" class="sponsor-logo sponsor-logo-vercel sponsor-logo-light-only" loading="lazy" />
</a>
<a href="https://blacksmith.sh" target="_blank" rel="noopener" class="sponsor-card">
<img src="/sponsors/blacksmith.svg" alt="Blacksmith" class="sponsor-logo sponsor-logo-blacksmith" loading="lazy" />
</a>
Expand Down Expand Up @@ -1835,6 +1839,22 @@ const duration2 = (row2.length / 2 * pixelsPerItem) / pixelsPerSecond;
height: 28px;
}

.sponsor-logo-vercel {
height: 28px;
}

.sponsor-logo-light-only {
display: none;
}

html[data-theme='light'] .sponsor-logo-dark-only {
display: none;
}

html[data-theme='light'] .sponsor-logo-light-only {
display: block;
}

@media (max-width: 480px) {
.sponsors-grid {
gap: 16px;
Expand All @@ -1859,6 +1879,10 @@ const duration2 = (row2.length / 2 * pixelsPerItem) / pixelsPerSecond;
.sponsor-logo-convex {
height: 22px;
}

.sponsor-logo-vercel {
height: 22px;
}
}

/* Footer */
Expand Down