Mergin Stable #76

Merged
LucidKobold merged 9 commits from stable into main 2022-09-18 14:30:47 -04:00
3 changed files with 8 additions and 8 deletions
Showing only changes of commit e9ea6aa279 - Show all commits

View File

@@ -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;

View File

@@ -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"

View File

@@ -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} />;
} }