change navbar select city if landing then text should be landing

This commit is contained in:
priyanshuvish
2025-11-11 15:28:24 +05:30
parent 5c0e5a09ea
commit c0c9c86a58
2 changed files with 11 additions and 2 deletions

View File

@@ -596,7 +596,9 @@ export default function Navbar({
activeCity !== 'Landingpage' &&
activeCity.toLowerCase() !== 'landingpage' ?
activeCity.charAt(0).toUpperCase() + activeCity.slice(1) :
'Select City'
activeCity.toLowerCase() === 'landingpage' || activeCity.toLowerCase() === 'landing'
? 'Landing'
: 'Select City'
}
</span>
<ChevronDown className="w-3.5 h-3.5" />

View File

@@ -287,7 +287,14 @@ export function SuperSavingsPage({
{/* Hero Section */}
<section className="relative pt-52 pb-20 overflow-hidden">
{/* Background gradient */}
<div className="absolute inset-0 bg-gradient-to-br from-primary/5 via-secondary/5 to-background"></div>
<div className="absolute inset-0 bg-gradient-to-br from-primary/5 via-secondary/5 to-background">
<ImageWithFallback
src="https://images.unsplash.com/photo-1758787397603-bbd85bd06a2c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxNZWxib3VybmUlMjB0cmF2ZWwlMjBkZXN0aW5hdGlvbnxlbnwxfHx8fDE3NjI0MjQ3NTV8MA&ixlib=rb-4.1.0&q=80&w=1080&utm_source=figma&utm_medium=referral"
alt="Melbourne Travel Destination"
className="w-full h-full object-cover opacity-20"
/>
<div className="absolute inset-0 bg-gradient-to-b from-white/40 via-white/60 to-white/90"></div>
</div>
<div className="container mx-auto px-4 relative z-10">
<motion.div