feat: pulse download header on navigation

This commit is contained in:
Julian Tölle 2023-11-04 01:51:49 +01:00
parent cc300c6868
commit 9cc5427c03
3 changed files with 6 additions and 2 deletions

View file

@ -1,5 +1,6 @@
<script lang="ts">
export let id: string = "";
export let className: string = "";
</script>
<h2 class="text-4xl font-vinque my-8" {id}><slot /></h2>
<h2 class="text-4xl font-vinque my-8 {className}" {id}><slot /></h2>

View file

@ -100,7 +100,7 @@
<Divider />
<H2 id="download">Herunterladen</H2>
<H2 id="download" className="target:animate-pulse-once">Herunterladen</H2>
<p class="my-8 flex items-center flex-col justify-center md:flex-row">
<DownloadButton href="/">Hörspiel (mp3)</DownloadButton>