From d7c764f96884284ae6424c3a39f87688faf9af5d Mon Sep 17 00:00:00 2001 From: enkeii64 Date: Tue, 15 Jul 2025 19:24:34 +1000 Subject: [PATCH] feat: Add Discord link to footer --- apps/web/src/components/footer.tsx | 272 +++++++++++++++-------------- 1 file changed, 140 insertions(+), 132 deletions(-) diff --git a/apps/web/src/components/footer.tsx b/apps/web/src/components/footer.tsx index 43a9db0e..81505d4a 100644 --- a/apps/web/src/components/footer.tsx +++ b/apps/web/src/components/footer.tsx @@ -1,132 +1,140 @@ -"use client"; - -import { motion } from "motion/react"; -import Link from "next/link"; -import { useEffect, useState } from "react"; -import { RiGithubLine, RiTwitterXLine } from "react-icons/ri"; -import { getStars } from "@/lib/fetch-github-stars"; -import Image from "next/image"; - -export function Footer() { - const [star, setStar] = useState(); - - useEffect(() => { - const fetchStars = async () => { - try { - const data = await getStars(); - setStar(data); - } catch (err) { - console.error("Failed to fetch GitHub stars", err); - } - }; - - fetchStars(); - }, []); - - return ( - -
-
- {/* Brand Section */} -
-
- OpenCut - OpenCut -
-

- The open source video editor that gets the job done. Simple, - powerful, and works on any platform. -

-
- - - - - - -
-
- -
-
-

Resources

-
    -
  • - - Roadmap - -
  • -
  • - - Privacy policy - -
  • -
  • - - Terms of use - -
  • -
-
- - {/* Company Links */} -
-

Company

-
    -
  • - - Contributors - -
  • -
  • - - About - -
  • -
-
-
-
- - {/* Bottom Section */} -
-
- © 2025 OpenCut, All Rights Reserved -
-
-
-
- ); -} +"use client"; + +import { motion } from "motion/react"; +import Link from "next/link"; +import { useEffect, useState } from "react"; +import { RiDiscordFill, RiGithubLine, RiTwitterXLine } from "react-icons/ri"; +import { getStars } from "@/lib/fetch-github-stars"; +import Image from "next/image"; + +export function Footer() { + const [star, setStar] = useState(); + + useEffect(() => { + const fetchStars = async () => { + try { + const data = await getStars(); + setStar(data); + } catch (err) { + console.error("Failed to fetch GitHub stars", err); + } + }; + + fetchStars(); + }, []); + + return ( + +
+
+ {/* Brand Section */} +
+
+ OpenCut + OpenCut +
+

+ The open source video editor that gets the job done. Simple, + powerful, and works on any platform. +

+
+ + + + + + + + + +
+
+ +
+
+

Resources

+
    +
  • + + Roadmap + +
  • +
  • + + Privacy policy + +
  • +
  • + + Terms of use + +
  • +
+
+ + {/* Company Links */} +
+

Company

+
    +
  • + + Contributors + +
  • +
  • + + About + +
  • +
+
+
+
+ + {/* Bottom Section */} +
+
+ © 2025 OpenCut, All Rights Reserved +
+
+
+
+ ); +}