This commit is contained in:
Aaron Yarborough 2024-03-08 22:13:15 +00:00
parent a2195ff0a7
commit 0e256dc8c7
5 changed files with 37 additions and 37 deletions

View file

@ -1,18 +1,18 @@
import Link from "next/link";
import React from "react";
import Link from 'next/link'
import React from 'react'
import styles from "./Header.module.css";
import styles from './Header.module.css'
function Header() {
function Header () {
return (
<header className={styles.header}>
<nav>
<Link href={"/"}>home</Link>
<Link href={"/writing"}>writing</Link>
<Link href={"/cv"}>cv</Link>
<Link href='/'>home</Link>
<Link href='/writing'>writing</Link>
<Link href='/cv'>cv</Link>
</nav>
</header>
);
)
}
export default Header;
export default Header

View file

@ -1,21 +1,21 @@
import React from "react";
import React from 'react'
import style from "./DefaultLayout.module.css";
import Header from "@/components/Header/Header";
import Footer from "@/components/Footer";
import style from './DefaultLayout.module.css'
import Header from '@/components/Header/Header'
import Footer from '@/components/Footer'
import {Barlow} from "next/font/google";
import { Barlow } from 'next/font/google'
const fontMain = Barlow({ subsets: ["latin"], weight: [ "400", "600" ]});
const fontMain = Barlow({ subsets: ['latin'], weight: ['400', '600'] })
function DefaultLayout({ children }) {
function DefaultLayout ({ children }) {
return (
<div className={style.layout}>
<Header />
<main className={`${fontMain.className}`}>{children}</main>
<Footer />
</div>
);
)
}
export default DefaultLayout;
export default DefaultLayout

View file

@ -1,12 +1,12 @@
import '@/styles/globals.css'
import { DefaultSeo } from "next-seo";
import { DefaultSeo } from 'next-seo'
export default function App({ Component, pageProps }) {
return <>
<DefaultSeo defaultTitle="Aaron Yarborough" titleTemplate="%s | Aaron Yarborough"/>
<Component {...pageProps} />
</>
export default function App ({ Component, pageProps }) {
return (
<>
<DefaultSeo defaultTitle='Aaron Yarborough' titleTemplate='%s | Aaron Yarborough' />
<Component {...pageProps} />
</>
)
}

View file

@ -1,6 +1,6 @@
import Head from "next/head";
import ExternalLink from "@/components/ExternalLink";
import DefaultLayout from "@/layouts/DefaultLayout/DefaultLayout";
import Head from 'next/head'
import ExternalLink from '@/components/ExternalLink'
import DefaultLayout from '@/layouts/DefaultLayout/DefaultLayout'
export default function Home () {
return (
@ -33,26 +33,26 @@ export default function Home () {
<ul>
<li>
<strong>
<ExternalLink href="https://letterboxd.com/aaronyarbz/">
<ExternalLink href='https://letterboxd.com/aaronyarbz/'>
Letterboxd
</ExternalLink>
</strong>{" "}
</strong>{' '}
is a social platform for film lovers to rate, review, and discover
movies, akin to &quot;Goodreads for film.&quot;
</li>
<li>
<strong>
<ExternalLink href="https://github.com/AaronJY">
<ExternalLink href='https://github.com/AaronJY'>
GitHub
</ExternalLink>
</strong>{" "}
</strong>{' '}
is a web-based platform for version control and collaboration on
software development projects. Find out what I&apos;ve been working
on here!
</li>
<li>
<strong>
<ExternalLink href="https://www.linkedin.com/in/aaronjyarborough/">
<ExternalLink href='https://www.linkedin.com/in/aaronjyarborough/'>
LinkedIn
</ExternalLink>
</strong>
@ -72,5 +72,5 @@ export default function Home () {
</p> */}
</section>
</DefaultLayout>
);
)
}

View file

@ -1,5 +1,5 @@
import Footer from "@/components/Footer";
import Header from "@/components/Header/Header";
import Footer from '@/components/Footer'
import Header from '@/components/Header/Header'
export default function Writing () {
return (