Fix: Revert page/layout logos to support correct light/dark switching and fix login hydration mismatch

This commit is contained in:
2026-07-07 15:08:43 +05:30
parent 489d018966
commit 5ede1df970
3 changed files with 17 additions and 2 deletions

View File

@@ -63,9 +63,13 @@ export default function MarketingPage() {
<nav className="fixed top-0 w-full z-50 bg-background/50 backdrop-blur-xl border-b border-border/50">
<div className="max-w-7xl mx-auto px-6 h-20 flex items-center justify-between">
<Link href="/" className="relative h-14 w-60 hover:opacity-90 transition-opacity block">
<Image
src="/PragatiVeer_Logo/SVG_Logos/Rectangular_light_background.svg"
alt="PragatiVeer" fill className="object-contain object-left scale-135 origin-left dark:hidden" priority
/>
<Image
src="/PragatiVeer_Logo/SVG_Logos/Rectangular_dark_background.svg"
alt="PragatiVeer" fill className="object-contain object-left scale-135 origin-left" priority
alt="PragatiVeer" fill className="object-contain object-left scale-135 origin-left hidden dark:block" priority
/>
</Link>
<div className="hidden md:flex items-center gap-8 text-sm font-medium text-muted-foreground">