diff --git a/README.md b/README.md index 5b30a70..1defe5d 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,8 @@ This is the latest iteration of my personal site built with [Next.js](https://ne - Home - Contrast on Pebblepad - - View code animations - Timeline - - Animations for posts - - Accessability for posts + - Accessability for posts and nav - Implement ability to add different types of posts diff --git a/components/Icons/RightArrowIcon.tsx b/components/Icons/RightArrowIcon.tsx index 50a26af..f72025b 100644 --- a/components/Icons/RightArrowIcon.tsx +++ b/components/Icons/RightArrowIcon.tsx @@ -1,3 +1,5 @@ +import { motion } from "framer-motion"; + type RightArrowIconProps = { className?: string; }; @@ -16,7 +18,7 @@ function RightArrowIcon({ className }: RightArrowIconProps) { className={className} viewBox="0 0 24 24" > - + ); } diff --git a/components/NavBar/NavBar.tsx b/components/NavBar/NavBar.tsx index ecdfcd1..da293c3 100644 --- a/components/NavBar/NavBar.tsx +++ b/components/NavBar/NavBar.tsx @@ -17,15 +17,10 @@ function NavBar() { return ( diff --git a/components/ProjectCard/ProjectCard.tsx b/components/ProjectCard/ProjectCard.tsx index 2360096..9d6679c 100644 --- a/components/ProjectCard/ProjectCard.tsx +++ b/components/ProjectCard/ProjectCard.tsx @@ -1,3 +1,4 @@ +import { motion } from "framer-motion"; import RightArrowIcon from "../Icons/RightArrowIcon"; import styles from "./ProjectCard.module.css"; @@ -15,9 +16,16 @@ function ProjectCard({ header, desc, link, image, imageAlt }: ProjectCardProps)

{header}

{desc}

- + View Code - +
{image ? {imageAlt} : null} diff --git a/components/TimeLinePost/TimeLinePost.tsx b/components/TimeLinePost/TimeLinePost.tsx index f851ca5..10b9523 100644 --- a/components/TimeLinePost/TimeLinePost.tsx +++ b/components/TimeLinePost/TimeLinePost.tsx @@ -1,4 +1,5 @@ import Link from "next/link"; +import { motion } from "framer-motion"; import PostIcon from "../Icons/PostIcon"; import styles from "./TimeLinePost.module.css"; @@ -14,10 +15,19 @@ function TimeLinePost({ post }) {

New Post - {post.data.date}

-
+

{post.data.title}

{post.data.description}

-
+
diff --git a/pages/index.tsx b/pages/index.tsx index 45cae3b..b364d0d 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,4 +1,5 @@ import Head from "next/head"; +import { motion } from "framer-motion"; import { GreenBlob, LightBlueBlob, LightPurpleBlob, PurpleBlob, YellowBlob } from "../components/Blobs/Blobs"; import Bio from "../components/Bio/Bio"; import RightArrowIcon from "../components/Icons/RightArrowIcon"; @@ -45,9 +46,16 @@ function Home() { desc="A package that generates randomised sentences by providing datasets of values and specifying which parts of a sentence you wish to randomise." link="https://github.com/ZaphodAndo/scribejs" /> - + View More - +
diff --git a/styles/Home.module.css b/styles/Home.module.css index ba6f441..8fcee74 100644 --- a/styles/Home.module.css +++ b/styles/Home.module.css @@ -70,6 +70,10 @@ margin-left: 5px; } +.home .projects a:hover { + color: #56ccf2; +} + .home .info { position: relative; z-index: 1;