Compare commits

..

3 commits

3 changed files with 10 additions and 10 deletions

View file

@ -29,7 +29,7 @@ export async function generateMetadata(
const t = translations[currentLang]; const t = translations[currentLang];
return { return {
title: "CebulaCamp", title: t.siteTitle,
description: "An amazing gathering of hackers and open source enthusiasts.", description: "An amazing gathering of hackers and open source enthusiasts.",
icons: { icons: {
icon: [ icon: [
@ -60,7 +60,7 @@ export async function generateMetadata(
}, },
twitter: { twitter: {
card: 'summary_large_image', card: 'summary_large_image',
title: 'CebulaCamp', title: t.siteTitle,
description: 'An amazing gathering of hackers and open source enthusiasts.', description: 'An amazing gathering of hackers and open source enthusiasts.',
images: ['https://cebula.camp/web-app-manifest-512x512.png'], images: ['https://cebula.camp/web-app-manifest-512x512.png'],
}, },
@ -99,7 +99,7 @@ export default async function RootLayout({
<link rel="icon" type="image/svg+xml" href="/favicon.svg" /> <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="shortcut icon" href="/favicon.ico" /> <link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-title" content="CebulaCamp" /> <meta name="apple-mobile-web-app-title" content="{t.siteTitle}" />
<link rel="manifest" href="/site.webmanifest" /> <link rel="manifest" href="/site.webmanifest" />
</Head> </Head>

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>

View file

@ -5,7 +5,7 @@ const common = {
}; };
const pl = { const pl = {
siteTitle: "CebulaCamp", siteTitle: "CebulaCamp 2025",
nav: { nav: {
title: "CEBULACAMP", title: "CEBULACAMP",
hero: "Cebula", hero: "Cebula",
@ -48,12 +48,12 @@ const pl = {
accommodation: { accommodation: {
title: "Nocleg", title: "Nocleg",
description: description:
"W duchu prawdziwego campu przygotowujemy ogrodzone miejsce do rozbicia namiotu z toaletami i prysznicem. Ilość miejsc namiotowych ograniczona, obowiązuje kolejność rezerwacji. Jest także możliwość zakwaterowania we własnym zakresie w pobliskim hotelu lub akademikach.", "We własnym zakresie - jest możliwość zakwaterowania się w pobliskich hotelach lub akademikach. Planujemy przygotowanie pola namiotowego przed lokalem, ale jeszcze nie jest to gwarantowane i miejsca są ograniczone.",
}, },
food: { food: {
title: "Wyżywienie", title: "Wyżywienie",
description: description:
"We własnym zakresie, w okolicy dostępne są knajpy z dowozem, wieczory planujemy umilić wspólnym grillowaniem.", "We własnym zakresie, w okolicy dostępne są sklepy oraz knajpy z dowozem. Wieczory planujemy umilić wspólnym grillowaniem.",
}, },
contact: { contact: {
title: "Kontakt", title: "Kontakt",
@ -111,12 +111,12 @@ const en = {
accommodation: { accommodation: {
title: "Accommodation", title: "Accommodation",
description: description:
"In the true camp spirit, we're preparing a fenced area for pitching tents with toilets and shower facilities. The number of tent spots is limited, first-come-first-served basis. There's also the possibility of arranging your own accommodation in a nearby hotel or student dormitories.", "Please arrange your own accommodation in a nearby hotel or student dormitories. We might be able to prepare a camping space in front of the venue, but that's not guaranteed yet, and spots will be limited.",
}, },
food: { food: {
title: "Food", title: "Food",
description: description:
"Self-catering, there are restaurants with delivery in the area, and we plan to enhance the evenings with communal barbecues.", "DIY. There are shops nearby and restaurants with takeaway/delivery. We plan to have some communal barbecues in the evenings.",
}, },
contact: { contact: {
title: "Contact", title: "Contact",