Added Donate button to navbar

This commit is contained in:
Mawoka
2023-01-31 18:13:31 +01:00
parent d738c8eaab
commit 757f023159
2 changed files with 6 additions and 1 deletions
@@ -8,11 +8,14 @@
export let flex = false;
export let href: undefined | string = undefined;
export let target: undefined | string = '_self';
</script>
{#if href}
<a
{href}
{target}
class="text-black hover:bg-opacity-80 w-full px-4 py-2 leading-5 text-black transition-all duration-200 transform bg-[#B07156] rounded text-center focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 outline-none"
on:click
class:flex
+3 -1
View File
@@ -177,7 +177,9 @@
class="justify-self-end gap-2 h-full flex justify-center items-center lg:relative fixed right-12 -top-1/2 pt-11 lg:right-0 lg:top-0 lg:p-0"
>
<div class="whitespace-nowrap">
<BrownButton>Donate <span class="">❤️</span></BrownButton>
<BrownButton href="https://mawoka.eu/donate" target="_blank"
>Donate <span class="">❤️</span></BrownButton
>
</div>
{#if darkMode}
<button