This commit is contained in:
priyanshuvish
2026-01-29 20:06:51 +05:30
parent ca809e226d
commit 8427fdbc41
4 changed files with 14 additions and 13 deletions

View File

@@ -157,7 +157,7 @@ export function AppRouter({
{/* Information Pages */}
<Route path="/how-it-works" element={
<motion.div key="how-it-works" {...pageTransition}>
<HowItWorksPage {...commonNavHandlers} />
<DiscoverPage {...commonNavHandlers} />
</motion.div>
} />

View File

@@ -3,6 +3,7 @@ import { motion } from 'motion/react';
import { Apple, Play } from 'lucide-react';
import { ImageWithFallback } from './figma/ImageWithFallback';
import cityCardsLogo from '../assets/cit-logo.png';
import { Link } from 'react-router-dom';
export function FooterBrand() {
return (
@@ -14,11 +15,13 @@ export function FooterBrand() {
transition={{ duration: 0.5 }}
>
<div className="flex items-center">
<Link to="/">
<img
src={cityCardsLogo}
alt="CityCards Logo"
className="h-12 w-auto"
/>
</Link>
</div>
<p className="font-poppins text-white/80 text-sm leading-relaxed font-normal max-w-xs">
Discover the best of every city with our curated experiences and attractions.

View File

@@ -514,7 +514,7 @@ export default function Navbar({
}`}
initial={{ scale: 0.95, opacity: 0, y: 0 }}
animate={{
scale: isScrolled ? 0.98 : 1,
scale: isScrolled ? 1 : 1,
opacity: 1,
y: isScrolled ? 2 : 0
}}
@@ -527,7 +527,7 @@ export default function Navbar({
whileHover={{ scale: 1.05 }}
whileTap={{ scale: 0.95 }}
>
<Link to="/">
<Link to={currentSource === 'melbourne' ? '/melbourne' : '/'}>
<ImageWithFallback
src={currentSource === 'melbourne' ? melbourneLogo : logoImage}
alt={
@@ -591,16 +591,14 @@ export default function Navbar({
onClick={handleOpenCityDialogFromNavbar}
>
<span>
{activeCity &&
activeCity !== 'shared' &&
activeCity !== 'Landingpage' &&
activeCity.toLowerCase() !== 'landingpage' ?
activeCity.charAt(0).toUpperCase() + activeCity.slice(1) :
activeCity.toLowerCase() === 'landingpage' || activeCity.toLowerCase() === 'landing'
? 'Landing'
: 'Select City'
{!activeCity || activeCity === 'shared'
? 'City'
: ['landing', 'landingpage'].includes(activeCity.toLowerCase())
? 'City'
: activeCity.charAt(0).toUpperCase() + activeCity.slice(1)
}
</span>
<ChevronDown className="w-3.5 h-3.5" />
</div>

View File

@@ -61,7 +61,7 @@ const passTypes: PassType[] = [
],
tableFeatures: {
freeDelivery: true,
attractionsIncluded: 'Up to 5 attractions',
attractionsIncluded: '3, 5, or 7 attractions',
validityPeriod: '30 days',
audioGuide: false,
skipTheLine: 'Selected venues',
@@ -91,7 +91,7 @@ const passTypes: PassType[] = [
tableFeatures: {
freeDelivery: true,
attractionsIncluded: 'All attractions (50+)',
validityPeriod: '7 consecutive days',
validityPeriod: '2, 3, 5, or 7 days',
audioGuide: true,
skipTheLine: 'All venues',
mobileApp: true,