Merge pull request #10 from LucidKobold/calender-nav

Added Patreon and Learn More buttons in footer.
This commit is contained in:
Lucid Kobold
2021-11-25 20:19:17 -06:00
committed by GitHub
2 changed files with 41 additions and 21 deletions

View File

@@ -1,19 +1,19 @@
import React, { useEffect, useRef, useState } from "react"; import React/*, { useEffect, useRef, useState }*/ from "react";
import { import {
Box, Box,
// HStack,
Text, Text,
VStack, VStack,
Link, Link,
// Icon, HStack,
// Image, // Image,
// Button, Button,
// BoxProps, BoxProps,
} from "@chakra-ui/react"; } from "@chakra-ui/react";
import { Icon } from "@iconify/react";
// import BackToTopButton from "./BackToTopButton"; // import BackToTopButton from "./BackToTopButton";
// import { motion } from "framer-motion"; import { motion } from "framer-motion";
// export const MotionBox = motion<BoxProps>(Box); export const MotionBox = motion<BoxProps>(Box);
const Footer = (): JSX.Element => { const Footer = (): JSX.Element => {
// const [showBackToTop, setShowBackToTop] = useState<boolean>(false); // const [showBackToTop, setShowBackToTop] = useState<boolean>(false);
@@ -52,18 +52,7 @@ const Footer = (): JSX.Element => {
justifyItems="center" justifyItems="center"
justifyContent="center" justifyContent="center"
> >
{/* <HStack color="brand.footerText" spacing={2}> <VStack spacing={4}>
<Text fontSize="xl">Deployed by</Text>
<Link
aria-label="Vercel"
href="https://vercel.com/"
rel="noopener"
target="_blank"
>
<Icon fontSize="1.75rem" icon="logos:vercel" />
</Link>
</HStack> */}
<VStack spacing={2}>
{/* <MotionBox whileHover={{ scale: 1.1 }} whileTap={{ scale: 0.9 }}> {/* <MotionBox whileHover={{ scale: 1.1 }} whileTap={{ scale: 0.9 }}>
<Link <Link
href="https://github.com/LucidCreationsMedia" href="https://github.com/LucidCreationsMedia"
@@ -79,10 +68,41 @@ const Footer = (): JSX.Element => {
</Button> </Button>
</Link> </Link>
</MotionBox> */} </MotionBox> */}
<MotionBox whileHover={{ scale: 1.1 }} whileTap={{ scale: 0.9 }}>
<Link
href="https://lucidcreations.media/introducing-code-name-potty-chart/"
target="_blank"
rel="noopener"
>
<Button
color="whiteAlpha"
variant="credits"
>
More About This App
</Button>
</Link>
</MotionBox>
<MotionBox whileHover={{ scale: 1.1 }} whileTap={{ scale: 0.9 }}>
<Link
href="https://www.patreon.com/bePatron?u=15380906"
target="_blank"
rel="noopener"
>
<Button
color="whiteAlpha"
background="#FF424D"
variant="credits"
leftIcon={<Icon icon="ri:patreon-fill" />}
>
Fund This App
</Button>
</Link>
</MotionBox>
<Text color="brand.footerText" fontSize="xs"> <Text color="brand.footerText" fontSize="xs">
&copy; &copy;
{" 2021 - "} {" 2021 - "}
{new Date().getFullYear()} {new Date().getFullYear()}
{" "}
<Link <Link
href="https://lucidcreations.media" href="https://lucidcreations.media"
rel="noopener" rel="noopener"

View File

@@ -15,7 +15,7 @@ import MobileNav from "./MobileNav";
const Header = (): JSX.Element => { const Header = (): JSX.Element => {
const appName = "LCM Potty Chart" const appName = "LCM Potty Chart"
const appVersion = "v0.0.2.3-pre-alpha" const appVersion = "v0.0.2.4-pre-alpha"
// Add transparency while not at the top of the page. // Add transparency while not at the top of the page.