Skip to content

Commit

Permalink
add description for DAN videos
Browse files Browse the repository at this point in the history
  • Loading branch information
nknapp committed Aug 23, 2024
1 parent de8f0b2 commit a517cde
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
15 changes: 8 additions & 7 deletions src/pages/de/about/index.astro
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
---
import DefaultLayout from "@/layouts/DefaultLayout.astro";
import { Alert } from "@/components/solid/atoms/Alert";
import {YoutubeActivator} from "@/components/solid/atoms/YoutubeActivator"
import { YoutubeActivator } from "@/components/solid/atoms/YoutubeActivator";
const lastUpdate = new Intl.DateTimeFormat("de-DE", {
dateStyle: "short",
timeStyle: "short",
}).format(new Date(process.env.VITE_BUILD_DATE));
---

<DefaultLayout>
Expand Down Expand Up @@ -64,13 +62,16 @@ const lastUpdate = new Intl.DateTimeFormat("de-DE", {

<p>
<b>Aikido-Prüfung</b> kann zur aktuellen Technik ein YouTube Video aus dem <a href="https://aikidokomponendium.de"
>Aikido Kompendium</a> anzeigen.
>Aikido Kompendium</a
> und von der <a href="https://www.aikido-schule.de/aikido/filme/">Aikido-Schule Köln</a>anzeigen.
</p>
<Alert type="warning">
Wenn diese Option angeschaltet ist, werden Daten an YouTube gesendet.
Siehe auch <a href="https://www.youtube.com/howyoutubeworks/our-commitments/protecting-user-data/#privacy-guidelines">YouTubes Datenschutzrichtlinien</a>.
Wenn diese Option angeschaltet ist, werden Daten an YouTube gesendet. Siehe auch <a
href="https://www.youtube.com/howyoutubeworks/our-commitments/protecting-user-data/#privacy-guidelines"
>YouTubes Datenschutzrichtlinien</a
>.
</Alert>
<YoutubeActivator class="my-2" client:load/>
<YoutubeActivator class="my-2" client:load />
<small>Letztes Update: {lastUpdate}</small>

<script>
Expand Down
9 changes: 4 additions & 5 deletions src/pages/en/about/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@ import { IconGithub } from "../../../icons";
import { Alert } from "../../../components/solid/atoms/Alert";
import { YoutubeActivator } from "../../../components/solid/atoms/YoutubeActivator";
const lastUpdate = new Intl.DateTimeFormat("en-US", {
dateStyle: "short",
timeStyle: "short",
}).format(new Date(process.env.VITE_BUILD_DATE));
---

<DefaultLayout>
<h1>Impress</h1>
<p>Responsible for content according to (german) § 5 TMG:</p>
Expand Down Expand Up @@ -57,7 +55,9 @@ const lastUpdate = new Intl.DateTimeFormat("en-US", {

<p>
<b>Aikido-Exam</b> can show a YouTube video of the current technique. I did not make the videos myself. They are from
the <a href="https://aikidokomponendium.de">Aikido Kompendium</a>
the <a href="https://aikidokomponendium.de">Aikido Kompendium</a> and from the <a
href="https://www.aikido-schule.de/aikido/filme/">Aikido-School Cologne</a
>.
</p>
<Alert type="warning">
If this option is enabled, data will be sent to YouTube. See <a
Expand All @@ -74,5 +74,4 @@ const lastUpdate = new Intl.DateTimeFormat("en-US", {
const canvas = document.getElementById("impress") as HTMLCanvasElement;
createImpress(canvas);
</script>

</DefaultLayout>

0 comments on commit a517cde

Please sign in to comment.