Merge branch 'main' of git.orga.cebula.camp:infra/site

This commit is contained in:
Mewp 2025-02-09 23:35:40 +01:00
commit 9d6b334c66
3 changed files with 6 additions and 6 deletions

View file

@ -29,7 +29,7 @@ export async function generateMetadata(
const t = translations[currentLang];
return {
title: "CebulaCamp",
title: t.siteTitle,
description: "An amazing gathering of hackers and open source enthusiasts.",
icons: {
icon: [
@ -60,7 +60,7 @@ export async function generateMetadata(
},
twitter: {
card: 'summary_large_image',
title: 'CebulaCamp',
title: t.siteTitle,
description: 'An amazing gathering of hackers and open source enthusiasts.',
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="shortcut icon" href="/favicon.ico" />
<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" />
</Head>

View file

@ -13,12 +13,12 @@ export default function Map({ t }: {
return (
<div className='h-screen max-h-[400px] pt-8 relative mx-auto max-w-3xl'>
{/* @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. */}
<TileLayer attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<Marker position={[51.105173, 17.087157]}>
<Marker position={[51.104955057760804, 17.087378768775697]}>
<Popup>
{t.where.location}
</Popup>

View file

@ -5,7 +5,7 @@ const common = {
};
const pl = {
siteTitle: "CebulaCamp",
siteTitle: "CebulaCamp 2025",
nav: {
title: "CEBULACAMP",
hero: "Cebula",