added download button

This commit is contained in:
Djeeberjr 2022-05-12 23:21:50 +02:00
parent 739d58d5ba
commit 6f693d48c1

View File

@ -28,6 +28,9 @@
});
</script>
<div class="dl">
<a href="/s/{slug}">Download</a>
</div>
<main>
{#if component === null}
Loading data...
@ -48,4 +51,18 @@ main {
padding-top: 5rem;
}
.dl {
top: 0;
right: 0;
position: absolute;
padding-top: 1rem;
padding-right: 1rem;
color: var(--color-secondary);
}
.dl a {
color: var(--color-secondary);
text-decoration: none;
}
</style>