Skip to content

Commit

Permalink
Merge pull request #21 from 1xINTERNET/29-imprint-privacy-policy
Browse files Browse the repository at this point in the history
#29: Imprint privacy policy
  • Loading branch information
john1xi authored Jun 21, 2024
2 parents 972fc63 + 5047aee commit 99b7e30
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 5 deletions.
4 changes: 1 addition & 3 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ import HashtagWhyULoveFootball from "@components/HashtagWhyULoveFootball.astro";
<a href="/privacy-policy" class="text-white hover:underline"
>Privacy Policy</a
>
<a href="/terms-conditions" class="text-white hover:underline"
>Terms & Conditions</a
>
<a href="/imprint" class="text-white hover:underline">Imprint</a>
</div>
</div>
</div>
Expand Down
2 changes: 0 additions & 2 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
import Footer from "@components/Footer.astro";
import Hero from "@components/Hero.astro";
interface Props {
title: string;
Expand All @@ -21,7 +20,6 @@ const { title } = Astro.props;
</head>
<body>
<main>
<Hero />
<slot />
<Footer />
</main>
Expand Down
14 changes: 14 additions & 0 deletions src/pages/imprint.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
import Layout from "@layouts/Layout.astro";
import "@styles/global.css";
---

<Layout title="Imprint">
<div class="container mx-auto py-8 px-4 sm:py-12 sm:px-8 lg:py-16 lg:px-28">
<div class="flex items-center justify-between">
<h1 class="mb-4">Imprint</h1>
<a class="hover:underline text-blue" href="/">Back</a>
</div>
<p>Imprint text goes here...</p>
</div>
</Layout>
2 changes: 2 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
import Hero from "../components/Hero.astro";
import Layout from "@layouts/Layout.astro";
import "@styles/global.css";
import PartnerLinks from "../components/PartnerLinks.astro";
Expand All @@ -8,6 +9,7 @@ import VideoPlayer from "../components/VideoPlayer.astro";
---

<Layout title="Welcome to Whyuluvfootball">
<Hero />
<Section
backgroundColor="green"
eyebrow="Our goal"
Expand Down
14 changes: 14 additions & 0 deletions src/pages/privacy-policy.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
import Layout from "@layouts/Layout.astro";
import "@styles/global.css";
---

<Layout title="Imprint">
<div class="container mx-auto py-8 px-4 sm:py-12 sm:px-8 lg:py-16 lg:px-28">
<div class="flex items-center justify-between">
<h1 class="mb-4">Privacy policy</h1>
<a class="hover:underline text-blue" href="/">Back</a>
</div>
<p>Privacy policy text goes here...</p>
</div>
</Layout>

0 comments on commit 99b7e30

Please sign in to comment.