152 lines
4.7 KiB
TypeScript
152 lines
4.7 KiB
TypeScript
import Link from "next/link";
|
||
import Logo from "./logo";
|
||
import TextReveal from "./ui/text-reveal";
|
||
import {
|
||
DiscordLogoIcon,
|
||
GitHubLogoIcon,
|
||
TwitterLogoIcon,
|
||
} from "@radix-ui/react-icons";
|
||
import { MastodonLogo } from "./icons/mastodon";
|
||
import { Button } from "./ui/button";
|
||
|
||
export default function Footer() {
|
||
return (
|
||
<div className="border-grey align-center mt-10 flex w-full flex-col border-t px-10 py-10 font-medium md:px-0">
|
||
<div className="mx-auto flex w-full justify-between border-b px-10 pb-10 pt-10 lg:!w-2/3 lg:px-0">
|
||
<div className="mr-4 flex flex-col">
|
||
<Logo />
|
||
<div className="mt-auto">
|
||
<h1 className="text-2xl font-bold opacity-80">Zen Browser</h1>
|
||
<a
|
||
data-umami-event="footer-status"
|
||
href="https://uptime.zen-browser.app/"
|
||
className="mt-2 flex w-fit cursor-pointer items-center rounded-md bg-surface px-3 py-2 shadow"
|
||
>
|
||
<div className="relative size-3 rounded-full bg-green-500 shadow">
|
||
<div
|
||
className="absolute top-[-0.2%] z-0 size-3 animate-ping rounded-full bg-green-500"
|
||
style={{ animationDuration: "1.7s" }}
|
||
></div>
|
||
</div>
|
||
<p className="ml-3 !text-sm font-bold opacity-40">
|
||
System Status
|
||
</p>
|
||
</a>
|
||
<h2 className="text-md mt-6 font-bold opacity-80">Follow Us</h2>
|
||
<div className="mt-4 flex opacity-70">
|
||
<a href="https://github.com/zen-browser">
|
||
<GitHubLogoIcon className="h-5 w-5" />
|
||
</a>
|
||
<a href="https://discord.gg/zen-browser" className="ml-5">
|
||
<DiscordLogoIcon className="h-5 w-5" />
|
||
</a>
|
||
<a href="https://fosstodon.org/@zenbrowser" className="ml-5">
|
||
<MastodonLogo className="h-5 w-5" />
|
||
</a>
|
||
<a href="https://twitter.com/zen_browser" className="ml-5">
|
||
<TwitterLogoIcon className="h-5 w-5" />
|
||
</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div className="flex flex-col md:flex-row">
|
||
<div>
|
||
<h2 className="text-md font-bold opacity-80">Get Started</h2>
|
||
<ul className="mt-4 font-normal opacity-70">
|
||
<li>
|
||
<a href="/themes">Mods</a>
|
||
</li>
|
||
<li className="mt-2">
|
||
<a href="/download">Download</a>
|
||
</li>
|
||
<li className="mt-2">
|
||
<a href="/create-theme">Create a Theme</a>
|
||
</li>
|
||
<li className="mt-2">
|
||
<a href="/download?twilight">Download Twilight</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div className="mt-10 md:ml-12 md:mt-0 lg:ml-24">
|
||
<h2 className="text-md font-bold opacity-80">Get Help</h2>
|
||
<ul className="mt-4 font-normal opacity-70">
|
||
<li>
|
||
<a
|
||
data-umami-event="footer-discord"
|
||
href="https://discord.com/servers/mauro-s-little-sweatshop-1088172780480114748"
|
||
>
|
||
Discord
|
||
</a>
|
||
</li>
|
||
<li className="mt-2 font-normal">
|
||
<a href="https://github.com/zen-browser/desktop/issues">
|
||
Report an Issue
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
<h2 className="text-md mt-8 font-bold opacity-80">About</h2>
|
||
<ul className="mt-4 font-normal opacity-70">
|
||
<li className="mt-2">
|
||
<a href="/about">About Us</a>
|
||
</li>
|
||
<li className="mt-2">
|
||
<a
|
||
data-umami-event="footer-privacy-policy"
|
||
href="/privacy-policy"
|
||
>
|
||
Privacy Policy
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
<div className="mt-10 md:ml-12 md:mt-0 lg:ml-24">
|
||
<h2 className="text-md font-bold opacity-80">Resources</h2>
|
||
<ul className="mt-4 font-normal opacity-70">
|
||
<li>
|
||
<a href="/branding-assets">Branding Assets</a>
|
||
</li>
|
||
<li className="mt-2">
|
||
<a href="https://github.com/zen-browser/desktop">Source Code</a>
|
||
</li>
|
||
<li className="mt-2">
|
||
<a href="https://docs.zen-browser.app">Documentation</a>
|
||
</li>
|
||
<li className="mt-2">
|
||
<a href="/release-notes">Release Notes</a>
|
||
</li>
|
||
</ul>
|
||
<h2 className="text-md mt-8 font-bold opacity-80">Support Us</h2>
|
||
<ul className="mt-4 font-normal opacity-70">
|
||
<li>
|
||
<a
|
||
data-umami-event="patreon-fotter"
|
||
href="https://patreon.com/zen_browser"
|
||
>
|
||
Patreon
|
||
</a>
|
||
</li>
|
||
<li className="mt-2">
|
||
<a
|
||
data-umami-event="ko-fi-fotter"
|
||
href="https://ko-fi.com/zen_browser"
|
||
>
|
||
Ko-fi
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div className="mx-auto flex w-full items-center pl-3 pr-5 pt-10 lg:!w-2/3">
|
||
<p className="text-xs font-normal opacity-30">
|
||
Crafted with ❤️ by the community - Copyright ©{" "}
|
||
{new Date().getFullYear()} Zen Browser
|
||
</p>
|
||
<a href="/download" className="ml-auto">
|
||
<Button className="ml-auto">Download</Button>
|
||
</a>
|
||
</div>
|
||
</div>
|
||
);
|
||
}
|