Skip to content

Commit

Permalink
[website]: fix mailto footer link (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarhkVoyd authored Dec 17, 2024
1 parent f1a6d51 commit 22efe74
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ const Footer = () => {
<li key={j} className={`${j > 0 ? "mt-4" : ""}`}>
<a
href={
!link.href.includes("https://")
!link.href.includes("https://") &&
!link.href.startsWith("mailto")
? `/toppings/${link.href}`
: link.href
}
Expand Down Expand Up @@ -98,7 +99,8 @@ const Footer = () => {
<li key={j} className={`${j > 0 ? "mt-4" : ""}`}>
<a
href={
!link.href.includes("https://")
!link.href.includes("https://") &&
!link.href.startsWith("mailto")
? `/toppings/${link.href}`
: link.href
}
Expand Down

0 comments on commit 22efe74

Please sign in to comment.