diff --git a/app/api/og/route.tsx b/app/api/og/route.tsx index 53a6510..8bebb84 100644 --- a/app/api/og/route.tsx +++ b/app/api/og/route.tsx @@ -10,8 +10,6 @@ import { ImageResponse } from 'next/og'; import { NextRequest } from 'next/server'; import { getConfig } from '@/lib/config'; -export const runtime = 'edge'; - export async function GET(request: NextRequest) { const { searchParams } = request.nextUrl; const title = searchParams.get('title') || 'Gallery'; diff --git a/app/impressum/impressum.css b/app/impressum/impressum.css new file mode 100644 index 0000000..88e8a76 --- /dev/null +++ b/app/impressum/impressum.css @@ -0,0 +1,21 @@ +.subpage-container { + padding: 4rem 2rem; + min-height: 80vh; +} +.subpage-header { + margin-bottom: 4rem; + text-align: center; +} +.subpage-title { + font-family: var(--font-serif); + font-size: clamp(2.5rem, 8vw, 4rem); + font-weight: 400; + margin-bottom: 1rem; +} +.subpage-subtitle { + font-family: var(--font-caption); + font-size: 1rem; + text-transform: uppercase; + letter-spacing: 0.1em; + opacity: 0.6; +} diff --git a/app/impressum/page.tsx b/app/impressum/page.tsx index 98c2f15..039ae51 100644 --- a/app/impressum/page.tsx +++ b/app/impressum/page.tsx @@ -8,6 +8,7 @@ import { notFound } from 'next/navigation'; import { getConfig } from '@/lib/config'; import { BackLink } from '@/components/BackLink'; import { FadeIn } from '@/components/FadeIn'; +import './impressum.css'; export const metadata: Metadata = { title: 'Impressum', @@ -92,30 +93,6 @@ export default function ImpressumPage() { - - ); } diff --git a/components/Footer.tsx b/components/Footer.tsx index b3b36f2..2b2b373 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -31,7 +31,7 @@ export function Footer() {
- {footer.instagram && ( + {footer?.instagram && ( )} - {footer.email && ( + {footer?.email && ( )} - {footer.website && ( + {footer?.website && (