Skip to content

Commit

Permalink
fix: New donate button
Browse files Browse the repository at this point in the history
  • Loading branch information
debjitbis08 committed Dec 1, 2024
1 parent 256773d commit 7e4fed8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
11 changes: 5 additions & 6 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
import HandHoldingHeartIcon from '../icons/hand-holding-heart.svg?raw';
import SponsorIcon from '../icons/sponsor.svg?raw';
import LockIcon from '../icons/lock.svg?raw';
import MenuIcon from '../icons/menu.svg?raw';
import RegularDockLeftIcon from '../icons/regular-dock-left.svg?raw';
import SolidDockLeftIcon from '../icons/solid-dock-left.svg?raw';
import RegularDockRightIcon from '../icons/regular-dock-right.svg?raw';
import SolidDockRightIcon from '../icons/solid-dock-right.svg?raw';
import Logo from '../icons/logo.svg?raw';
import LogoWithBackground from '../icons/logo-with-green-background.svg?raw';
import FAQs from './FAQs.astro';
import ThemeSwitcher from './ThemeSwitcher.astro';
import {Actions} from './Actions.jsx';
import {FileActions} from './FileActions.jsx';
Expand Down Expand Up @@ -107,9 +106,9 @@ const avatarUrl = user?.user_metadata?.avatar_url || '/default-avatar.png'; // D
class="bmc-btn"
href="/donate"
>
<span>
<Fragment set:html={HandHoldingHeartIcon}/>
</span> <span class="hidden md:inline bmc-btn-text">Donate</span>
<span class="text-red-foreground">
<Fragment set:html={SponsorIcon}/>
</span> <span class="hidden md:inline bmc-btn-text">Contribute</span>
</a>
<button
x-data="unlockPlusButton"
Expand Down Expand Up @@ -174,7 +173,7 @@ const avatarUrl = user?.user_metadata?.avatar_url || '/default-avatar.png'; // D

<style>
.bmc-btn {
@apply h-8 py-4 px-4 hidden md:flex items-center gap-2 rounded-lg text-sm bg-transparent box-border text-terminal border-2 border-terminal border-opacity-20 hover:border-opacity-100;
@apply h-8 py-4 px-4 hidden md:flex items-center gap-2 rounded-lg text-sm bg-transparent box-border text-secondary-foreground hover:text-active-foreground border border-yellow-foreground border-opacity-20 hover:border-opacity-100;
/* font-family: 'Inter', sans-serif !important; */
font-weight: bold;
position: relative;
Expand Down
1 change: 1 addition & 0 deletions src/icons/sponsor.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/pages/donate.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Sim8085 is designed and maintained by a <a href="https://www.debjitbiswas.com">s
</p>

<p class="mb-6 text-lg leading-relaxed">
If you’re unable to donate, there are other ways to show your support:
<span class="underline underline-offset-4">If you’re unable to donate</span>, there are other ways to show your support:
</p>

<div class="text-lg">
Expand Down

0 comments on commit 7e4fed8

Please sign in to comment.