feat: add simple imprint page

This commit is contained in:
Lars Hampe 2024-08-16 21:04:29 +02:00
parent 2033df7e4d
commit b15a74e7b9
2 changed files with 27 additions and 0 deletions

View File

@ -5,6 +5,7 @@ const currentYear = new Date().getFullYear();
<footer class="flex items-center mt-10 w-full justify-between max-w-screen-lg"> <footer class="flex items-center mt-10 w-full justify-between max-w-screen-lg">
<span> <span>
&copy; {currentYear} Lars Hampe. All rights reserved. &copy; {currentYear} Lars Hampe. All rights reserved.
<a href="/imprint">Imprint</a>
</span> </span>
<div class="flex gap-5"> <div class="flex gap-5">
<a href="https://twitter.com/larshmp" target="_blank"> <a href="https://twitter.com/larshmp" target="_blank">

26
src/pages/imprint.astro Normal file
View File

@ -0,0 +1,26 @@
---
import { SITE_TITLE, SITE_DESCRIPTION } from "../consts";
import H1 from "../components/ui/headings/H1.astro";
import Page from "../layouts/Page.astro";
---
<Page title={SITE_TITLE} description={SITE_DESCRIPTION}>
<main>
<H1>Imprint</H1>
<h2 class="text-2xl">Information according to § 5 TMG</h2>
Lars Hampe
<br />
Address available upon request.
<h2 class="text-2xl">Contact</h2>
Phone: +49 (0)551 200 19 224
<br />
E-Mail: hello@hashdot.co
<br />
<br />
Responsible for editorial content
<br />
Lars Hampe
</main>
</Page>