diff --git a/src/components/buttons/GitHub.tsx b/src/components/buttons/GitHub.tsx new file mode 100644 index 0000000..ef4c367 --- /dev/null +++ b/src/components/buttons/GitHub.tsx @@ -0,0 +1,24 @@ +import React from "react"; +import { Box, Link, Button, BoxProps, Text } from "@chakra-ui/react"; +import { Icon } from "@iconify/react"; +import { motion } from "framer-motion"; + +const MotionBox = motion(Box); + +const GitHub = (): JSX.Element => { + return ( + + + + + + ); +}; + +export default GitHub; diff --git a/src/components/buttons/data/links.ts b/src/components/buttons/data/links.ts index 9835682..059dc00 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" | "updates" | "ko-fi"; + type: "primary" | "secondary" | "ko-fi" | "GitHub"; } type Links = LinkObj[]; @@ -19,6 +19,9 @@ const links: Links = [ href: "https://t.me/LucidCreationsMedia", name: "Dev Updates", type: "secondary" + }, + { + type: "GitHub" } ]; diff --git a/src/components/buttons/index.tsx b/src/components/buttons/index.tsx index 44450a0..07cfba0 100644 --- a/src/components/buttons/index.tsx +++ b/src/components/buttons/index.tsx @@ -3,6 +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 GitHub from "./GitHub"; const Buttons = (): JSX.Element => { return ( @@ -32,6 +33,10 @@ const Buttons = (): JSX.Element => { if (type === "ko-fi") { return ; } + + if (type === "GitHub") { + return ; + } })} { if (type === "ko-fi") { return ; } + + if (type === "GitHub") { + return ; + } })}