Format
This commit is contained in:
parent
a2195ff0a7
commit
0e256dc8c7
5 changed files with 37 additions and 37 deletions
|
@ -1,18 +1,18 @@
|
||||||
import Link from "next/link";
|
import Link from 'next/link'
|
||||||
import React from "react";
|
import React from 'react'
|
||||||
|
|
||||||
import styles from "./Header.module.css";
|
import styles from './Header.module.css'
|
||||||
|
|
||||||
function Header() {
|
function Header () {
|
||||||
return (
|
return (
|
||||||
<header className={styles.header}>
|
<header className={styles.header}>
|
||||||
<nav>
|
<nav>
|
||||||
<Link href={"/"}>home</Link>
|
<Link href='/'>home</Link>
|
||||||
<Link href={"/writing"}>writing</Link>
|
<Link href='/writing'>writing</Link>
|
||||||
<Link href={"/cv"}>cv</Link>
|
<Link href='/cv'>cv</Link>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
);
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Header;
|
export default Header
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
import React from "react";
|
import React from 'react'
|
||||||
|
|
||||||
import style from "./DefaultLayout.module.css";
|
import style from './DefaultLayout.module.css'
|
||||||
import Header from "@/components/Header/Header";
|
import Header from '@/components/Header/Header'
|
||||||
import Footer from "@/components/Footer";
|
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 (
|
return (
|
||||||
<div className={style.layout}>
|
<div className={style.layout}>
|
||||||
<Header />
|
<Header />
|
||||||
<main className={`${fontMain.className}`}>{children}</main>
|
<main className={`${fontMain.className}`}>{children}</main>
|
||||||
<Footer />
|
<Footer />
|
||||||
</div>
|
</div>
|
||||||
);
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default DefaultLayout;
|
export default DefaultLayout
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import '@/styles/globals.css'
|
import '@/styles/globals.css'
|
||||||
|
|
||||||
import { DefaultSeo } from "next-seo";
|
import { DefaultSeo } from 'next-seo'
|
||||||
|
|
||||||
|
export default function App ({ Component, pageProps }) {
|
||||||
|
return (
|
||||||
export default function App({ Component, pageProps }) {
|
<>
|
||||||
return <>
|
<DefaultSeo defaultTitle='Aaron Yarborough' titleTemplate='%s | Aaron Yarborough' />
|
||||||
<DefaultSeo defaultTitle="Aaron Yarborough" titleTemplate="%s | Aaron Yarborough"/>
|
<Component {...pageProps} />
|
||||||
<Component {...pageProps} />
|
</>
|
||||||
</>
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import Head from "next/head";
|
import Head from 'next/head'
|
||||||
import ExternalLink from "@/components/ExternalLink";
|
import ExternalLink from '@/components/ExternalLink'
|
||||||
import DefaultLayout from "@/layouts/DefaultLayout/DefaultLayout";
|
import DefaultLayout from '@/layouts/DefaultLayout/DefaultLayout'
|
||||||
|
|
||||||
export default function Home () {
|
export default function Home () {
|
||||||
return (
|
return (
|
||||||
|
@ -33,26 +33,26 @@ export default function Home () {
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<strong>
|
<strong>
|
||||||
<ExternalLink href="https://letterboxd.com/aaronyarbz/">
|
<ExternalLink href='https://letterboxd.com/aaronyarbz/'>
|
||||||
Letterboxd
|
Letterboxd
|
||||||
</ExternalLink>
|
</ExternalLink>
|
||||||
</strong>{" "}
|
</strong>{' '}
|
||||||
is a social platform for film lovers to rate, review, and discover
|
is a social platform for film lovers to rate, review, and discover
|
||||||
movies, akin to "Goodreads for film."
|
movies, akin to "Goodreads for film."
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<strong>
|
<strong>
|
||||||
<ExternalLink href="https://github.com/AaronJY">
|
<ExternalLink href='https://github.com/AaronJY'>
|
||||||
GitHub
|
GitHub
|
||||||
</ExternalLink>
|
</ExternalLink>
|
||||||
</strong>{" "}
|
</strong>{' '}
|
||||||
is a web-based platform for version control and collaboration on
|
is a web-based platform for version control and collaboration on
|
||||||
software development projects. Find out what I've been working
|
software development projects. Find out what I've been working
|
||||||
on here!
|
on here!
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<strong>
|
<strong>
|
||||||
<ExternalLink href="https://www.linkedin.com/in/aaronjyarborough/">
|
<ExternalLink href='https://www.linkedin.com/in/aaronjyarborough/'>
|
||||||
LinkedIn
|
LinkedIn
|
||||||
</ExternalLink>
|
</ExternalLink>
|
||||||
</strong>
|
</strong>
|
||||||
|
@ -72,5 +72,5 @@ export default function Home () {
|
||||||
</p> */}
|
</p> */}
|
||||||
</section>
|
</section>
|
||||||
</DefaultLayout>
|
</DefaultLayout>
|
||||||
);
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Footer from "@/components/Footer";
|
import Footer from '@/components/Footer'
|
||||||
import Header from "@/components/Header/Header";
|
import Header from '@/components/Header/Header'
|
||||||
|
|
||||||
export default function Writing () {
|
export default function Writing () {
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Add table
Reference in a new issue