From e9ea6aa279d255ca4947a829c16cc26f8fe641dc Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Sun, 18 Sep 2022 00:35:55 -0400 Subject: [PATCH] Repalce patreon link and references with ko-fi --- src/components/buttons/{Patreon.tsx => KoFi.tsx} | 8 ++++---- src/components/buttons/data/links.ts | 4 ++-- src/components/buttons/index.tsx | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) rename src/components/buttons/{Patreon.tsx => KoFi.tsx} (69%) diff --git a/src/components/buttons/Patreon.tsx b/src/components/buttons/KoFi.tsx similarity index 69% rename from src/components/buttons/Patreon.tsx rename to src/components/buttons/KoFi.tsx index 76bfb5e..1e39b87 100644 --- a/src/components/buttons/Patreon.tsx +++ b/src/components/buttons/KoFi.tsx @@ -5,15 +5,15 @@ import { motion } from "framer-motion"; const MotionBox = motion(Box); -const Patreon = (): JSX.Element => { +const KoFi = (): JSX.Element => { return ( - @@ -21,4 +21,4 @@ const Patreon = (): JSX.Element => { ); }; -export default Patreon; +export default KoFi; diff --git a/src/components/buttons/data/links.ts b/src/components/buttons/data/links.ts index 2b3c48b..4977be4 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" | "patreon"; + type: "primary" | "secondary" | "twitter" | "ko-fi"; } type Links = LinkObj[]; @@ -18,7 +18,7 @@ const links: Links = [ type: "secondary" }, { - type: "patreon" + type: "ko-fi" }, { type: "twitter" diff --git a/src/components/buttons/index.tsx b/src/components/buttons/index.tsx index d897253..380d361 100644 --- a/src/components/buttons/index.tsx +++ b/src/components/buttons/index.tsx @@ -2,7 +2,7 @@ import React from "react"; import { Box, HStack, VStack } from "@chakra-ui/react"; import CustomButton from "./Custom"; import links, { LinkObj } from "./data/links"; -import Patreon from "./Patreon"; +import Patreon from "./KoFi"; import Twitter from "./Twitter"; const Buttons = (): JSX.Element => { @@ -30,7 +30,7 @@ const Buttons = (): JSX.Element => { ); } - if (type === "patreon") { + if (type === "ko-fi") { return ; }