q3k/content-bump #8

Merged
q3k merged 3 commits from q3k/content-bump into main 2025-02-09 21:56:17 +00:00
Showing only changes of commit 6789cdd962 - Show all commits

View file

@ -13,12 +13,12 @@ export default function Map({ t }: {
return ( return (
<div className='h-screen max-h-[400px] pt-8 relative mx-auto max-w-3xl'> <div className='h-screen max-h-[400px] pt-8 relative mx-auto max-w-3xl'>
{/* @ts-expect-error dragging IS a valid prop. */} {/* @ts-expect-error dragging IS a valid prop. */}
<MapContainer dragging={false} center={[51.105173, 17.087157]} zoom={40} scrollWheelZoom={false} className="h-full w-full"> <MapContainer dragging={false} center={[51.104955057760804, 17.087378768775697]} zoom={40} scrollWheelZoom={false} className="h-full w-full">
{/* @ts-expect-error attribution IS a valid prop. */} {/* @ts-expect-error attribution IS a valid prop. */}
<TileLayer attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors' <TileLayer attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/> />
<Marker position={[51.105173, 17.087157]}> <Marker position={[51.104955057760804, 17.087378768775697]}>
<Popup> <Popup>
{t.where.location} {t.where.location}
</Popup> </Popup>