Skip to content

Commit

Permalink
Merge pull request babaohuang#100 from babaohuang/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
babaohuang authored Dec 25, 2023
2 parents ae678d3 + 2202d0f commit 10fe0fc
Showing 1 changed file with 45 additions and 37 deletions.
82 changes: 45 additions & 37 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -1,39 +1,47 @@
<footer>
<p mt-8 text-xs op-30 text-center class="max-w-[80vw] mx-auto flex justify-center flex-wrap mb-[1em]">
<a
b-slate-link
href="https://geminiprochat.com" target="_blank"
>
Gemini Pro Chat
</a>
<span px-1>|</span>
<a
b-slate-link
href="https://github.com/babaohuang/GeminiProChat" target="_blank"
>
Source Code
</a>
{import.meta.env.PARTNER_LINK1 && import.meta.env.PARTNER_LINK_TITLE1 && (
<>
<span px-1>|</span>
<a
b-slate-link
href={import.meta.env.PARTNER_LINK1} target="_blank"
>
{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>
</>
)}
</p>
<div class="max-w-[80vw] mx-auto flex flex-col items-center justify-center mb-[1em]">
<!-- First row for Blog, Source Code, and Partner Links -->
<div class="flex flex-wrap justify-center items-center text-xs op-30 my-2">
<a b-slate-link href="https://github.com/babaohuang/GeminiProChat" target="_blank">Source Code</a>

{import.meta.env.BLOG_LINK && (
<>
<span class="px-1">|</span>
<a b-slate-link href={import.meta.env.BLOG_LINK} target="_blank">Blog</a>
</>
)}

{import.meta.env.PARTNER_LINK1 && import.meta.env.PARTNER_LINK_TITLE1 && (
<>
<span class="px-1">|</span>
<a b-slate-link href={import.meta.env.PARTNER_LINK1} target="_blank">{import.meta.env.PARTNER_LINK_TITLE1}</a>
</>
)}

{import.meta.env.PARTNER_LINK2 && import.meta.env.PARTNER_LINK_TITLE2 && (
<>
<span class="px-1">|</span>
<a b-slate-link href={import.meta.env.PARTNER_LINK2} target="_blank">{import.meta.env.PARTNER_LINK_TITLE2}</a>
</>
)}
</div>

<!-- Second row for Privacy Policy and Terms of Service -->
<div class="flex flex-wrap justify-center items-center text-xs op-30 my-2">
{import.meta.env.PRIVACY_POLICY_LINK && (
<a href={import.meta.env.PRIVACY_POLICY_LINK} target="_blank">Privacy Policy</a>
)}
{import.meta.env.TOS_LINK && (
<>
<span class="px-1">|</span>
<a href={import.meta.env.TOS_LINK} target="_blank">Terms of Service</a>
</>
)}
</div>

<!-- Copyright information -->
<p class="text-xs op-30 text-center mt-4">
© 2023 <a href="https://geminiprochat.com" target="_blank" class="font-bold">Gemini Pro Chat</a>. All rights reserved.
</p>
</div>
</footer>

0 comments on commit 10fe0fc

Please sign in to comment.