diff options
| author | Deepanshu Rawat <dv451197@gmail.com> | 2025-06-27 00:17:58 +0530 |
|---|---|---|
| committer | Deepanshu Rawat <dv451197@gmail.com> | 2025-06-27 00:17:58 +0530 |
| commit | 6d98c2af2468ac132d215a3d2c562296895d4dbd (patch) | |
| tree | 5719993311f3675d051967eae73b05fac3a3d723 /apps/web/src/components | |
| parent | b10bb8ed55330d98cbbb88d7e139b943a9f95f00 (diff) | |
| download | opencut-6d98c2af2468ac132d215a3d2c562296895d4dbd.tar.gz | |
add: twitter
Diffstat (limited to 'apps/web/src/components')
| -rw-r--r-- | apps/web/src/components/landing/hero.tsx | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/apps/web/src/components/landing/hero.tsx b/apps/web/src/components/landing/hero.tsx index d5c5ed92..7f0934bc 100644 --- a/apps/web/src/components/landing/hero.tsx +++ b/apps/web/src/components/landing/hero.tsx @@ -9,6 +9,8 @@ import { useEffect, useState } from "react"; import { useToast } from "@/hooks/use-toast";
import { getStars } from "@/lib/fetchGhStars";
import Image from "next/image";
+// import { BsTwitterX, BsGithub } from "react-icons/bs";
+import { RiGithubLine, RiTwitterXLine } from "react-icons/ri";
interface HeroProps {
signupCount: number;
@@ -164,7 +166,7 @@ export function Hero({ signupCount }: HeroProps) { </motion.div>
<motion.div
- className="mb-8 text-center text-sm text-muted-foreground/60"
+ className="mb-8 text-center text-sm text-muted-foreground/60 flex flex-row gap-2 items-center justify-center"
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
transition={{ delay: 0.8, duration: 0.8 }}
@@ -172,9 +174,21 @@ export function Hero({ signupCount }: HeroProps) { Currently in beta • Open source on{" "}
<Link
href="https://github.com/OpenCut-app/OpenCut"
- className="text-foreground underline"
+ className="text-foreground flex items-center gap-1"
+ target="_blank"
>
- GitHub {star}+
+ Github
+ <RiGithubLine className="h-5 w-5 " />
+ {star}+
+ </Link>
+ • Follow us on
+ <Link
+ href="https://x.com/OpenCutApp"
+ className="text-foreground flex items-center gap-1"
+ target="_blank"
+ >
+ Twitter
+ <RiTwitterXLine className="h-5 w-5 " />
</Link>
</motion.div>
</div>
|
