Added fonts to the app.

This commit is contained in:
Lucid Kobold
2024-03-11 18:04:10 -04:00
parent 39abadc1c4
commit 651e39e5a5
9 changed files with 89 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
import React from "react";
import { Box, Link, Button, BoxProps } from "@chakra-ui/react";
import { Box, Link, Button, BoxProps, Text } from "@chakra-ui/react";
import { motion } from "framer-motion";
interface CustomButtonProps {
@@ -14,7 +14,9 @@ const CustomButton = ({ text, link, type }: CustomButtonProps): JSX.Element => {
return (
<MotionBox whileHover={{ scale: 1.1 }} whileTap={{ scale: 0.9 }}>
<Link href={link} target="_blank" rel="noopener">
<Button variant={type}>{text}</Button>
<Button variant={type}>
<Text>{text}</Text>
</Button>
</Link>
</MotionBox>
);

View File

@@ -1,5 +1,5 @@
import React from "react";
import { Box, Link, Button, BoxProps } from "@chakra-ui/react";
import { Box, Link, Button, BoxProps, Text } from "@chakra-ui/react";
import { Icon } from "@iconify/react";
import { motion } from "framer-motion";
@@ -14,7 +14,7 @@ const KoFi = (): JSX.Element => {
rel="noopener"
>
<Button variant="kofi" leftIcon={<Icon icon="cib:ko-fi" />}>
{"Fund The App"}
<Text>{"Fund The App"}</Text>
</Button>
</Link>
</MotionBox>