Skip to content

Commit

Permalink
fix: use correct link for donation button in landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
Keeqler committed Dec 17, 2024
1 parent c3703ce commit f2c202a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions pages/firo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const Home: NextPage<{ projects: any }> = ({ projects }) => {
</p>

<div className="flex flex-col md:flex-row my-4 gap-2">
<Link href="/firo/donate/firo">
<Link href={`/${fund.slug}/donate/${fund.slug}`}>
<Button className="text-sm md:text-base" size="lg">
Donate to Firo Fund
</Button>
Expand All @@ -68,7 +68,7 @@ const Home: NextPage<{ projects: any }> = ({ projects }) => {
Get Annual Membership
</Button>
) : (
<Link href="/firo/membership/firo">
<Link href={`/${fund.slug}/membership/${fund.slug}`}>
<Button variant="light" size="lg">
Get Annual Membership
</Button>
Expand Down
4 changes: 2 additions & 2 deletions pages/general/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const Home: NextPage<{ projects: any }> = ({ projects }) => {
</p>

<div className="flex flex-col md:flex-row my-4 gap-2">
<Link href="/general/donate/general">
<Link href={`/${fund.slug}/donate/${fund.slug}`}>
<Button className="text-sm md:text-base" size="lg">
Donate to MAGIC Grants
</Button>
Expand All @@ -69,7 +69,7 @@ const Home: NextPage<{ projects: any }> = ({ projects }) => {
Get Annual Membership
</Button>
) : (
<Link href="/general/membership/general">
<Link href={`/${fund.slug}/membership/${fund.slug}`}>
<Button variant="light" size="lg">
Get Annual Membership
</Button>
Expand Down
4 changes: 2 additions & 2 deletions pages/monero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const Home: NextPage<{ projects: any }> = ({ projects }) => {
</p>

<div className="flex flex-col md:flex-row my-4 gap-2">
<Link href="/monero/donate/monero">
<Link href={`/${fund.slug}/donate/${fund.slug}`}>
<Button className="text-sm md:text-base" size="lg">
Donate to Monero Fund
</Button>
Expand All @@ -68,7 +68,7 @@ const Home: NextPage<{ projects: any }> = ({ projects }) => {
Get Annual Membership
</Button>
) : (
<Link href="/monero/membership/monero">
<Link href={`/${fund.slug}/membership/${fund.slug}`}>
<Button variant="light" size="lg">
Get Annual Membership
</Button>
Expand Down
4 changes: 2 additions & 2 deletions pages/privacyguides/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const Home: NextPage<{ projects: any }> = ({ projects }) => {
</p>

<div className="flex flex-col md:flex-row my-4 gap-2">
<Link href="/monero/donate/monero">
<Link href={`/${fund.slug}/donate/${fund.slug}`}>
<Button className="text-sm md:text-base" size="lg">
Donate to Privacy Guides
</Button>
Expand All @@ -69,7 +69,7 @@ const Home: NextPage<{ projects: any }> = ({ projects }) => {
Get Annual Membership
</Button>
) : (
<Link href="/privacyguides/membership/privacyguides">
<Link href={`/${fund.slug}/membership/${fund.slug}`}>
<Button variant="light" size="lg">
Get Annual Membership
</Button>
Expand Down

0 comments on commit f2c202a

Please sign in to comment.