Config: Impressum/Datenschutz aus .env.local befüllt
Persönliche Angaben (Name, Adresse, E-Mail, Hoster) werden zur Build-Zeit aus .env.local gelesen und in die statischen Seiten eingebettet. .env.local ist gitignoriert, .env.local.example dokumentiert die benötigten Variablen. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a8d80befa9
commit
159c761633
3 changed files with 48 additions and 20 deletions
|
|
@ -8,6 +8,11 @@ export const metadata = {
|
|||
}
|
||||
|
||||
export default function ImpressumPage() {
|
||||
const name = process.env.OWNER_NAME ?? '[Name]'
|
||||
const street = process.env.OWNER_STREET ?? '[Straße und Hausnummer]'
|
||||
const zipCity = process.env.OWNER_ZIP_CITY ?? '[PLZ Ort]'
|
||||
const email = process.env.OWNER_EMAIL ?? '[Emailadresse]'
|
||||
|
||||
return (
|
||||
<main className="min-h-screen py-24 lg:py-32">
|
||||
<div className="max-w-3xl mx-auto px-6 lg:px-8">
|
||||
|
|
@ -19,14 +24,14 @@ export default function ImpressumPage() {
|
|||
</Button>
|
||||
|
||||
<h1 className="font-serif text-4xl lg:text-5xl mb-8">Impressum</h1>
|
||||
|
||||
|
||||
<div className="prose prose-neutral dark:prose-invert max-w-none space-y-8">
|
||||
<section>
|
||||
<h2 className="font-serif text-xl mb-4">Angaben gemäß § 5 TMG</h2>
|
||||
<p className="text-muted-foreground">
|
||||
[Name]<br />
|
||||
[Straße und Hausnummer]<br />
|
||||
[PLZ Ort]<br />
|
||||
{name}<br />
|
||||
{street}<br />
|
||||
{zipCity}<br />
|
||||
Deutschland
|
||||
</p>
|
||||
</section>
|
||||
|
|
@ -34,23 +39,23 @@ export default function ImpressumPage() {
|
|||
<section>
|
||||
<h2 className="font-serif text-xl mb-4">Kontakt</h2>
|
||||
<p className="text-muted-foreground">
|
||||
E-Mail: [Emailadresse]
|
||||
E-Mail: {email}
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2 className="font-serif text-xl mb-4">Verantwortlich für den Inhalt</h2>
|
||||
<p className="text-muted-foreground">
|
||||
[Name]<br />
|
||||
[Adresse]
|
||||
{name}<br />
|
||||
{street}, {zipCity}
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<h2 className="font-serif text-xl mb-4">Haftungsausschluss</h2>
|
||||
<p className="text-muted-foreground leading-relaxed">
|
||||
Die Inhalte dieser Seiten wurden mit größter Sorgfalt erstellt.
|
||||
Für die Richtigkeit, Vollständigkeit und Aktualität der Inhalte
|
||||
Die Inhalte dieser Seiten wurden mit größter Sorgfalt erstellt.
|
||||
Für die Richtigkeit, Vollständigkeit und Aktualität der Inhalte
|
||||
kann jedoch keine Gewähr übernommen werden.
|
||||
</p>
|
||||
</section>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue