Upgrades #84

Merged
LucidKobold merged 7 commits from upgrades into main 2022-12-14 16:04:34 -05:00
5 changed files with 473 additions and 471 deletions
Showing only changes of commit 6a9684751e - Show all commits

View File

@@ -5,17 +5,17 @@ import { motion } from "framer-motion";
const MotionBox = motion<BoxProps>(Box);
const Twitter = (): JSX.Element => {
const Updates = (): JSX.Element => {
return (
<MotionBox whileHover={{ scale: 1.1 }} whileTap={{ scale: 0.9 }}>
<Link
href="https://twitter.com/LCMDevelopment"
href="https://t.me/LucidCreationsMedia"
target="_blank"
rel="noopener"
>
<Button
variant="twitter"
leftIcon={<Icon icon="akar-icons:twitter-fill" />}
variant="primary"
leftIcon={<Icon icon="bi:info-lg" />}
>
{"Dev Updates"}
</Button>
@@ -24,4 +24,4 @@ const Twitter = (): JSX.Element => {
);
};
export default Twitter;
export default Updates;

View File

@@ -1,7 +1,7 @@
export interface LinkObj {
href?: string;
name?: string;
type: "primary" | "secondary" | "twitter" | "ko-fi";
type: "primary" | "secondary" | "updates" | "ko-fi";
}
type Links = LinkObj[];
@@ -21,7 +21,9 @@ const links: Links = [
type: "ko-fi"
},
{
type: "twitter"
href: "https://t.me/LucidCreationsMedia",
name: "Dev Updates",
type: "secondary"
}
];

View File

@@ -3,7 +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 Twitter from "./Twitter";
import Updates from "./Updates";
const Buttons = (): JSX.Element => {
return (
@@ -33,10 +33,6 @@ const Buttons = (): JSX.Element => {
if (type === "ko-fi") {
return <KoFi key={type} />;
}
if (type === "twitter") {
return <Twitter key={type} />;
}
})}
</HStack>
<VStack
@@ -64,10 +60,6 @@ const Buttons = (): JSX.Element => {
if (type === "ko-fi") {
return <KoFi key={type} />;
}
if (type === "twitter") {
return <Twitter key={type} />;
}
})}
</VStack>
</Box>