diff --git a/greenlns-landing/app/imprint/page.tsx b/greenlns-landing/app/imprint/page.tsx index b978eac..8dca5a4 100644 --- a/greenlns-landing/app/imprint/page.tsx +++ b/greenlns-landing/app/imprint/page.tsx @@ -12,7 +12,6 @@ const CONTENT = { contactLabel: 'Kontakt', registryLabel: 'Register', vatLabel: 'USt-ID', - note: 'Vor der Veroeffentlichung muessen alle rechtlichen Angaben mit den echten Firmendaten ersetzt werden.', }, en: { title: 'Imprint', @@ -22,7 +21,6 @@ const CONTENT = { contactLabel: 'Contact', registryLabel: 'Registry', vatLabel: 'VAT ID', - note: 'Replace all legal placeholders with your real company details before publishing the site.', }, es: { title: 'Aviso Legal', @@ -32,7 +30,6 @@ const CONTENT = { contactLabel: 'Contacto', registryLabel: 'Registro', vatLabel: 'IVA', - note: 'Sustituye todos los marcadores legales por tus datos reales antes de publicar el sitio.', }, } @@ -47,9 +44,9 @@ export default function ImprintPage() {

{c.companyLabel}: {siteConfig.company.legalName}

-

- {c.addressLabel}: {siteConfig.company.addressLine1} -

+ {siteConfig.company.addressLine1 ? ( +

{c.addressLabel}: {siteConfig.company.addressLine1}

+ ) : null} {siteConfig.company.addressLine2 ?

{siteConfig.company.addressLine2}

: null}

{siteConfig.company.country}

@@ -58,13 +55,12 @@ export default function ImprintPage() {

{c.contactLabel}: {siteConfig.legalEmail}

-

- {c.registryLabel}: {siteConfig.company.registry} -

-

- {c.vatLabel}: {siteConfig.company.vatId} -

-

{c.note}

+ {siteConfig.company.registry ? ( +

{c.registryLabel}: {siteConfig.company.registry}

+ ) : null} + {siteConfig.company.vatId ? ( +

{c.vatLabel}: {siteConfig.company.vatId}

+ ) : null} ) diff --git a/greenlns-landing/app/layout.tsx b/greenlns-landing/app/layout.tsx index c88ee1d..c22c4cb 100644 --- a/greenlns-landing/app/layout.tsx +++ b/greenlns-landing/app/layout.tsx @@ -1,72 +1,114 @@ -import type { Metadata } from 'next' -import './globals.css' -import { LangProvider } from '@/context/LangContext' -import { siteConfig } from '@/lib/site' - -export const metadata: Metadata = { - metadataBase: new URL(siteConfig.domain), - title: { - default: 'GreenLens - Plant Identifier and Care Planner', - template: '%s | GreenLens', - }, - description: - 'GreenLens helps you identify plants, organize your collection, and keep up with care routines in one app.', - keywords: [ - 'plant identifier by picture', - 'plant care app', - 'watering reminders', - 'houseplant tracker', - 'plant identification', - 'plant health check', - 'Pflanzen App', - 'GreenLens', - ], - authors: [{ name: siteConfig.name }], - openGraph: { - title: 'GreenLens - Plant Identifier and Care Planner', - description: 'Identify plants, get care guidance, and manage your collection with GreenLens.', - type: 'website', - url: siteConfig.domain, - }, - alternates: { - canonical: '/', - languages: { - de: '/', - en: '/', - es: '/', - 'x-default': '/', - }, - }, -} - -export default function RootLayout({ children }: { children: React.ReactNode }) { - return ( - - - - - -