Repalce patreon link and references with ko-fi
This commit is contained in:
@@ -5,15 +5,15 @@ import { motion } from "framer-motion";
|
|||||||
|
|
||||||
const MotionBox = motion<BoxProps>(Box);
|
const MotionBox = motion<BoxProps>(Box);
|
||||||
|
|
||||||
const Patreon = (): JSX.Element => {
|
const KoFi = (): JSX.Element => {
|
||||||
return (
|
return (
|
||||||
<MotionBox whileHover={{ scale: 1.1 }} whileTap={{ scale: 0.9 }}>
|
<MotionBox whileHover={{ scale: 1.1 }} whileTap={{ scale: 0.9 }}>
|
||||||
<Link
|
<Link
|
||||||
href="https://www.patreon.com/bePatron?u=15380906"
|
href="https://ko-fi.com/lucidcreationsmedia"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener"
|
rel="noopener"
|
||||||
>
|
>
|
||||||
<Button variant="patreon" leftIcon={<Icon icon="ri:patreon-fill" />}>
|
<Button variant="patreon" leftIcon={<Icon icon="cib:ko-fi" />}>
|
||||||
{"Fund The App"}
|
{"Fund The App"}
|
||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
@@ -21,4 +21,4 @@ const Patreon = (): JSX.Element => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default Patreon;
|
export default KoFi;
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
export interface LinkObj {
|
export interface LinkObj {
|
||||||
href?: string;
|
href?: string;
|
||||||
name?: string;
|
name?: string;
|
||||||
type: "primary" | "secondary" | "twitter" | "patreon";
|
type: "primary" | "secondary" | "twitter" | "ko-fi";
|
||||||
}
|
}
|
||||||
|
|
||||||
type Links = LinkObj[];
|
type Links = LinkObj[];
|
||||||
@@ -18,7 +18,7 @@ const links: Links = [
|
|||||||
type: "secondary"
|
type: "secondary"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "patreon"
|
type: "ko-fi"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: "twitter"
|
type: "twitter"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import React from "react";
|
|||||||
import { Box, HStack, VStack } from "@chakra-ui/react";
|
import { Box, HStack, VStack } from "@chakra-ui/react";
|
||||||
import CustomButton from "./Custom";
|
import CustomButton from "./Custom";
|
||||||
import links, { LinkObj } from "./data/links";
|
import links, { LinkObj } from "./data/links";
|
||||||
import Patreon from "./Patreon";
|
import Patreon from "./KoFi";
|
||||||
import Twitter from "./Twitter";
|
import Twitter from "./Twitter";
|
||||||
|
|
||||||
const Buttons = (): JSX.Element => {
|
const Buttons = (): JSX.Element => {
|
||||||
@@ -30,7 +30,7 @@ const Buttons = (): JSX.Element => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type === "patreon") {
|
if (type === "ko-fi") {
|
||||||
return <Patreon key={type} />;
|
return <Patreon key={type} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user