Skip to content
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix: use single splash image, remove hidden dark variant
Only one splash image is visible per theme but both were fetched
eagerly. Keep only the light variant (works in both themes) to
avoid wasting bandwidth on a hidden image.
  • Loading branch information
franklinjavier committed Mar 26, 2026
commit e06362b244b7f2d5c6365fa95adf7fbcef376a2e
12 changes: 1 addition & 11 deletions src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,7 @@ function Index() {
width={500}
height={500}
quality={85}
className="w-[300px] pt-8 xl:pt-0 xl:w-[400px] 2xl:w-[500px] dark:hidden"
alt="TanStack Logo"
loading="eager"
fetchPriority="high"
/>
<NetlifyImage
src="/images/logos/splash-dark.png"
width={500}
height={500}
quality={85}
className="w-[300px] pt-8 xl:pt-0 xl:w-[400px] 2xl:w-[500px] hidden dark:block"
className="w-[300px] pt-8 xl:pt-0 xl:w-[400px] 2xl:w-[500px]"
alt="TanStack Logo"
loading="eager"
fetchPriority="high"
Expand Down