Skip to content

Commit

Permalink
Update Footer.astro
Browse files Browse the repository at this point in the history
  • Loading branch information
babaohuang committed Dec 23, 2023
1 parent c550ff0 commit 3fda350
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,25 @@
>
Source Code
</a>
{import.meta.env.PARTNER_LINK && import.meta.env.PARTNER_LINK_TITLE && (
{import.meta.env.PARTNER_LINK1 && import.meta.env.PARTNER_LINK_TITLE1 && (
<>
<span px-1>|</span>
<a
b-slate-link
href={import.meta.env.PARTNER_LINK} target="_blank"
href={import.meta.env.PARTNER_LINK1} target="_blank"
>
{import.meta.env.PARTNER_LINK_TITLE}
{import.meta.env.PARTNER_LINK_TITLE1}
</a>
</>
)}
{import.meta.env.PARTNER_LINK2 && import.meta.env.PARTNER_LINK_TITLE2 && (
<>
<span px-1>|</span>
<a
b-slate-link
href={import.meta.env.PARTNER_LINK2} target="_blank"
>
{import.meta.env.PARTNER_LINK_TITLE2}
</a>
</>
)}
Expand Down

1 comment on commit 3fda350

@vercel
Copy link

@vercel vercel bot commented on 3fda350 Dec 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.