Skip to content

Commit

Permalink
Twitter icon
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ckoates committed Dec 14, 2024
1 parent 04bdfbf commit 6bd2394
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { XIcon, GitHubIcon, ThreadsIcon } from "@/components/Icons";
import { TwitterIcon, GitHubIcon, ThreadsIcon } from "@/components/Icons";
import Link from "next/link";

export default function Footer() {
return (
<footer className="rounded-lg bg-zinc-50 dark:bg-zinc-950 my-6 text-zinc-800 dark:text-zinc-200 p-3 prose dark:prose-invert prose-sm prose-zinc dark:hover:prose-a:text-pink-300 hover:prose-a:text-pink-700 prose-a:transition prose-a:ease-in-out">
<div className="flex space-x-4">
<a href="https://x.com/getRubyApp" target="_blank">
<XIcon />
<TwitterIcon />
</a>

<a href="https://github.com/getRubyApp" target="_blank">
Expand Down
6 changes: 3 additions & 3 deletions app/components/Icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function AppStoreIcon({ className }: { className?: string }) {
);
}

export function XIcon() {
export function TwitterIcon() {
return (
<svg
role="img"
Expand All @@ -31,8 +31,8 @@ export function XIcon() {
height="24"
fill="currentColor"
>
<title>X</title>
<path d="M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z" />
<title>Twitter</title>
<path d="M21.543 7.104c.015.211.015.423.015.636 0 6.507-4.954 14.01-14.01 14.01v-.003A13.94 13.94 0 0 1 0 19.539a9.88 9.88 0 0 0 7.287-2.041 4.93 4.93 0 0 1-4.6-3.42 4.916 4.916 0 0 0 2.223-.084A4.926 4.926 0 0 1 .96 9.167v-.062a4.887 4.887 0 0 0 2.235.616A4.928 4.928 0 0 1 1.67 3.148 13.98 13.98 0 0 0 11.82 8.292a4.929 4.929 0 0 1 8.39-4.49 9.868 9.868 0 0 0 3.128-1.196 4.941 4.941 0 0 1-2.165 2.724A9.828 9.828 0 0 0 24 4.555a10.019 10.019 0 0 1-2.457 2.549z" />
</svg>
);
}
Expand Down

0 comments on commit 6bd2394

Please sign in to comment.