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 flex = false;
export let href: undefined | string = undefined; export let href: undefined | string = undefined;
export let target: undefined | string = '_self';
</script> </script>
{#if href} {#if href}
<a <a
{href} {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" 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 on:click
class:flex 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" 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"> <div class="whitespace-nowrap">
<BrownButton>Donate <span class="">❤️</span></BrownButton> <BrownButton href="https://mawoka.eu/donate" target="_blank"
>Donate <span class="">❤️</span></BrownButton
>
</div> </div>
{#if darkMode} {#if darkMode}
<button <button