diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 4512e56..e13a518 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -5,6 +5,7 @@ import ItemCard from "../components/ItemCard"; import {getPlaiceholder} from "plaiceholder"; import {useBreakpointValue} from "../utils/helpers"; import type {Project} from "../utils/types"; +import Link from "next/link"; type ProjectWithBlur = Project & { bannerBlur: string }; @@ -78,6 +79,11 @@ export async function getStaticProps() { } } +const buttons = [ + {text: "GitHub", href: "https://github.com/Xevion"}, + {text: "Contact", href: "/contact"} +] + const Home: NextPage = ({projects}: HomeStaticProps) => { const useLong = useBreakpointValue("sm", true, false); @@ -99,13 +105,20 @@ const Home: NextPage = ({projects}: HomeStaticProps) => { WIP -
Hi. I'm Ryan Walters.
Full Stack Software Developer
+
+ {buttons.map(({text, href}) => + +
+ {text} +
+ + )} +
-