feat: Add Twitter logo to footer

This commit adds the Twitter logo to the footer component in order to provide a link to the Zen Browser's Twitter page. This enhances the social media presence of the browser and allows users to easily access the Twitter account.

Refactor the code in the footer component to include the TwitterLogoIcon from the @radix-ui/react-icons package and add a link to the Zen Browser's Twitter page.

Closes #215
This commit is contained in:
mauro-balades
2024-10-05 23:34:37 +02:00
parent 36ff1b49b5
commit 93cc8cf08c

View File

@@ -1,7 +1,7 @@
import Link from "next/link";
import Logo from "./logo";
import TextReveal from "./ui/text-reveal";
import { DiscordLogoIcon, GitHubLogoIcon } from "@radix-ui/react-icons";
import { DiscordLogoIcon, GitHubLogoIcon, TwitterLogoIcon } from "@radix-ui/react-icons";
import { MastodonLogo } from "./icons/mastodon";
import { Button } from "./ui/button";
@@ -39,6 +39,9 @@ export default function Footer() {
<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>