mirror of
https://github.com/apricote/ein-pfeil-am-rechten-fleck.de.git
synced 2026-01-13 21:11:01 +00:00
feat: pulse download header on navigation
This commit is contained in:
parent
cc300c6868
commit
9cc5427c03
3 changed files with 6 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
export let id: string = "";
|
export let id: string = "";
|
||||||
|
export let className: string = "";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h2 class="text-4xl font-vinque my-8" {id}><slot /></h2>
|
<h2 class="text-4xl font-vinque my-8 {className}" {id}><slot /></h2>
|
||||||
|
|
|
||||||
|
|
@ -100,7 +100,7 @@
|
||||||
|
|
||||||
<Divider />
|
<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">
|
<p class="my-8 flex items-center flex-col justify-center md:flex-row">
|
||||||
<DownloadButton href="/">Hörspiel (mp3)</DownloadButton>
|
<DownloadButton href="/">Hörspiel (mp3)</DownloadButton>
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,9 @@ module.exports = {
|
||||||
},
|
},
|
||||||
extend: {
|
extend: {
|
||||||
fontFamily: { vinque: "Vinque, serif" },
|
fontFamily: { vinque: "Vinque, serif" },
|
||||||
|
animation: {
|
||||||
|
"pulse-once": "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) 2",
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
variants: {
|
variants: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue