Skip to content

Commit

Permalink
move to main. Fix legal page
Browse files Browse the repository at this point in the history
  • Loading branch information
nknapp committed Apr 3, 2024
1 parent a803fe8 commit fbe8e6e
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deployment
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
5 changes: 3 additions & 2 deletions src/components/astro/Footer.astro
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
import { IconGithub } from "@/icons";
import { l } from "astro-i18n";
---

<div class="md:h-full bg-secondary-light">
<div class="container md:flex gap-8 items-center md:h-full">
<div>© 2024 Nils Knappmeier</div>
<a class="text-primary-dark underline-offset-3 hover:underline" href="/legal">Impressum / Datenschutz</a>
<div class="flex-auto" />
<a class="text-primary-dark underline-offset-3 hover:underline" href={l("/legal")}}>Impressum / Datenschutz</a>
<div class="flex-auto"></div>
<a href="https://github.com/nknapp/aikido-exam" title="Github repository"><IconGithub /></a>
</div>
</div>
17 changes: 15 additions & 2 deletions src/pages/legal/index.astro → src/pages/de/legal/index.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import DefaultLayout from "../../layouts/DefaultLayout.astro";
import DefaultLayout from "@/layouts/DefaultLayout.astro";
---

<DefaultLayout>
Expand All @@ -16,9 +16,22 @@ import DefaultLayout from "../../layouts/DefaultLayout.astro";
<li>
<a href="https://plausible.io/privacy-focused-web-analytics">Blog-Post</a> über die Datenschutz-Richtlinien von Plausible.
</li>
<li><a href="https://plausible.io/aikido-exam.knappi.org/">Das Tracking-Dashboard</a></li> zeigt, welche Daten gesammelt werden.
<li>
<a href="https://plausible.io/aikido-exam.knappi.org/">Das Tracking-Dashboard</a> zeigt, welche Daten gesammelt werden.
</li>
</ul>

<h2>GitHub Pages</h2>

<p>
Diese Webseite wird auf GitHub Pages gehosted. Es kann sein, dass GitHub persönliche Informationen von Besuchern
dieser Webseite sammelt, einschließlich der IP-Adress von Besuchern, um gesetzliche Auflagen zu erfüllen und um die
Sicherheit und Integrität diese Webseite zu gewährleisten. Für mehr Informationen lies das <a
href="https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement"
>GitHub Privacy Statement</a
>
</p>

<script>
import { createImpress } from "@/utils/impressed";

Expand Down
40 changes: 40 additions & 0 deletions src/pages/en/legal/index.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
import DefaultLayout from "@/layouts/DefaultLayout.astro";
---

<DefaultLayout>
<h1>Impress</h1>
<p>Responsible for content according to (german) § 5 TMG:</p>
<canvas id="impress"></canvas>
<h1>Privacy / Cookies</h1>
<p>
This page does not use cookies to track visitors. I use <a href="https://plausible.io">plausible.io</a> to track usage.
Plausible does not use cookies und and does not collect personal data.
</p>
<ul>
<li>
<a href="https://plausible.io/privacy-focused-web-analytics">Blog post</a> about privacy guidelines of Plausible.io
</li>
<li>
<a href="https://plausible.io/aikido-exam.knappi.org/">The public tracking dashboard</a> shows the collected data.
</li>
</ul>

<h2>GitHub Pages Service</h2>

<p>
This Website is hosted as a GitHub Pages website. GitHub may collect User Personal Information from visitors to this
GitHub Pages website, including logs of visitor IP addresses, to comply with legal obligations, and to maintain the
security and integrity of this Website and the Service. See the <a
href="https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement"
>GitHub Privacy Statement</a
> for details.
</p>

<script>
import { createImpress } from "@/utils/impressed";

const canvas = document.getElementById("impress") as HTMLCanvasElement;
createImpress(canvas);
</script>
</DefaultLayout>

0 comments on commit fbe8e6e

Please sign in to comment.