-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6b4946
commit bd3eb5a
Showing
1 changed file
with
48 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,50 @@ | ||
<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 justify-center flex-wrap mb-[1em]"> | ||
<nav class="w-full text-center"> | ||
<ul class="flex flex-wrap justify-center items-center text-xs op-30"> | ||
<!-- Static links --> | ||
<li><a b-slate-link href="https://geminiprochat.com" target="_blank">Gemini Pro Chat</a></li> | ||
<li><span class="px-1">|</span></li> | ||
<li><a b-slate-link href="https://github.com/babaohuang/GeminiProChat" target="_blank">Source Code</a></li> | ||
|
||
<!-- Dynamic links for tos, privacy, blog --> | ||
{import.meta.env.TOS_LINK && ( | ||
<> | ||
<li><span class="px-1">|</span></li> | ||
<li><a b-slate-link href={import.meta.env.TOS_LINK} target="_blank">Terms of Service</a></li> | ||
</> | ||
)} | ||
{import.meta.env.PRIVACY_POLICY_LINK && ( | ||
<> | ||
<li><span class="px-1">|</span></li> | ||
<li><a b-slate-link href={import.meta.env.PRIVACY_POLICY_LINK} target="_blank">Privacy Policy</a></li> | ||
</> | ||
)} | ||
{import.meta.env.BLOG_LINK && ( | ||
<> | ||
<li><span class="px-1">|</span></li> | ||
<li><a b-slate-link href={import.meta.env.BLOG_LINK} target="_blank">Blog</a></li> | ||
</> | ||
)} | ||
|
||
<!-- Dynamic links from environment variables for partner links --> | ||
{import.meta.env.PARTNER_LINK1 && import.meta.env.PARTNER_LINK_TITLE1 && ( | ||
<> | ||
<li><span class="px-1">|</span></li> | ||
<li><a b-slate-link href={import.meta.env.PARTNER_LINK1} target="_blank">{import.meta.env.PARTNER_LINK_TITLE1}</a></li> | ||
</> | ||
)} | ||
{import.meta.env.PARTNER_LINK2 && import.meta.env.PARTNER_LINK_TITLE2 && ( | ||
<> | ||
<li><span class="px-1">|</span></li> | ||
<li><a b-slate-link href={import.meta.env.PARTNER_LINK2} target="_blank">{import.meta.env.PARTNER_LINK_TITLE2}</a></li> | ||
</> | ||
)} | ||
</ul> | ||
</nav> | ||
|
||
<p class="mt-8 text-xs op-30 text-center"> | ||
Copyright 2023 © Gemini Pro Chat. All rights reserved. | ||
</p> | ||
</div> | ||
</footer> |