Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

feat: x icon

kapishdima5cbffc5e02b6
diff --git a/app/(home)/components/site-footer.tsx b/app/(home)/components/site-footer.tsx
index a3aa9bd9..93265bc2 100644
--- a/app/(home)/components/site-footer.tsx
+++ b/app/(home)/components/site-footer.tsx
@@ -4,13 +4,16 @@ import {
GITHUB_URL,
SUPPORT_EMAIL,
THREADS_URL,
+ X_URL,
} from "@/config/site";
import { GitHubIcon } from "./github-icon";
import { HeaderLogo } from "./header-parts";
import { ThreadsIcon } from "./threads-icon";
+import { XIcon } from "./x-icon";
const SOCIALS = [
{ href: GITHUB_URL, label: "GitHub", Icon: GitHubIcon },
+ { href: X_URL, label: "X", Icon: XIcon },
{ href: THREADS_URL, label: "Threads", Icon: ThreadsIcon },
];
diff --git a/app/(home)/components/x-icon.tsx b/app/(home)/components/x-icon.tsx
new file mode 100644
index 00000000..a330a25d
--- /dev/null
+++ b/app/(home)/components/x-icon.tsx
@@ -0,0 +1,12 @@
+export const XIcon = ({ className }: { className?: string }) => (
+ <svg
+ viewBox="0 0 24 24"
+ className={className}
+ fill="currentColor"
+ role="img"
+ aria-label="X"
+ >
+ <title>X</title>
+ <path d="M14.234 10.162 22.977 0h-2.072l-7.591 8.824L7.251 0H.258l9.168 13.343L.258 24H2.33l8.016-9.318L16.749 24h6.993zm-2.837 3.299-.929-1.329L3.076 1.56h3.182l5.965 8.532.929 1.329 7.754 11.09h-3.182z" />
+ </svg>
+);
diff --git a/config/site.ts b/config/site.ts
index 4002e75d..9f0a0167 100644
--- a/config/site.ts
+++ b/config/site.ts
@@ -10,6 +10,8 @@ export const MINT = "#A1EEBD";
export const GITHUB_URL = "https://github.com/Remocn/remocn";
+export const X_URL = "https://x.com/_remocn";
+
export const THREADS_URL = "https://www.threads.com/@_remocn";
export const SUPPORT_EMAIL = "[email protected]";