show cityName on basis of citySelected

This commit is contained in:
aryabenade
2026-04-24 21:45:49 +05:30
parent a651186276
commit 33a782ca54
3 changed files with 5 additions and 4 deletions

View File

@@ -204,7 +204,7 @@ export function TrustSection() {
style={{
transform: `rotate(${cardRotation}deg) translateY(${cardOffset}px)`,
transformOrigin: 'center center',
minHeight: '480px',
minHeight: '360px',
background: `
radial-gradient(circle at 20% 80%, rgba(255, 248, 235, 0.8) 0%, transparent 50%),
radial-gradient(circle at 80% 20%, rgba(250, 245, 230, 0.6) 0%, transparent 50%),

View File

@@ -191,7 +191,7 @@ export function MagicItineraryPage({
</h3>
</div>
<p className="font-poppins text-sm font-normal text-gray-600 leading-relaxed">
A perfectly planned Melbourne adventure
A perfectly planned {cityName} adventure
</p>
</div>

View File

@@ -156,6 +156,7 @@ export function PassesPage({
const navigate = useNavigate()
const cityId = localStorage.getItem("cityId")
const cityName = localStorage.getItem("cityName")
const { data: cityDetails, isLoading: loadingCityDetails } = useGetSelectedCityDetailsQuery(cityId)
const cards = cityDetails?.city?.cards ?? []
@@ -597,7 +598,7 @@ export function PassesPage({
</div>
<div>
<h3 className="text-white font-semibold text-lg">CityCards</h3>
<p className="text-white/70 text-sm">Melbourne Explorer</p>
<p className="text-white/70 text-sm">{cityName} Explorer</p>
</div>
</div>
</div>
@@ -770,7 +771,7 @@ export function PassesPage({
<h3 className="heading-dynamic text-4xl mb-4">
<span className="font-light">Ready to</span>{' '}
<span className="font-bold italic text-emphasis">explore</span>{' '}
<span className="font-semibold">Melbourne?</span>
<span className="font-semibold">{cityName}?</span>
</h3>
<p className="text-xl mb-8 max-w-2xl mx-auto opacity-90 font-light">
Choose your pass and start discovering amazing attractions with skip-the-line access.