diff --git a/src/components/buttons/Twitter.tsx b/src/components/buttons/Updates.tsx similarity index 70% rename from src/components/buttons/Twitter.tsx rename to src/components/buttons/Updates.tsx index c8704ab..311b41e 100644 --- a/src/components/buttons/Twitter.tsx +++ b/src/components/buttons/Updates.tsx @@ -5,17 +5,17 @@ import { motion } from "framer-motion"; const MotionBox = motion(Box); -const Twitter = (): JSX.Element => { +const Updates = (): JSX.Element => { return ( @@ -24,4 +24,4 @@ const Twitter = (): JSX.Element => { ); }; -export default Twitter; +export default Updates; diff --git a/src/components/buttons/data/links.ts b/src/components/buttons/data/links.ts index 32aa1a3..834cea3 100644 --- a/src/components/buttons/data/links.ts +++ b/src/components/buttons/data/links.ts @@ -1,7 +1,7 @@ export interface LinkObj { href?: string; name?: string; - type: "primary" | "secondary" | "twitter" | "ko-fi"; + type: "primary" | "secondary" | "updates" | "ko-fi"; } type Links = LinkObj[]; @@ -21,7 +21,9 @@ const links: Links = [ type: "ko-fi" }, { - type: "twitter" + href: "https://t.me/LucidCreationsMedia", + name: "Dev Updates", + type: "secondary" } ]; diff --git a/src/components/buttons/index.tsx b/src/components/buttons/index.tsx index 996b3be..de42728 100644 --- a/src/components/buttons/index.tsx +++ b/src/components/buttons/index.tsx @@ -3,7 +3,7 @@ import { Box, HStack, VStack } from "@chakra-ui/react"; import CustomButton from "./Custom"; import links, { LinkObj } from "./data/links"; import KoFi from "./KoFi"; -import Twitter from "./Twitter"; +import Updates from "./Updates"; const Buttons = (): JSX.Element => { return ( @@ -33,10 +33,6 @@ const Buttons = (): JSX.Element => { if (type === "ko-fi") { return ; } - - if (type === "twitter") { - return ; - } })} { if (type === "ko-fi") { return ; } - - if (type === "twitter") { - return ; - } })}