diff --git a/next.config.mjs b/next.config.mjs index d5456a1..8368bdf 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -1,6 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - reactStrictMode: true, -}; + reactStrictMode: true +} -export default nextConfig; +export default nextConfig diff --git a/package.json b/package.json index d88c828..0cece3f 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "link": "npx standard", + "format": "npx standard --fix" }, "dependencies": { "next": "14.1.1", diff --git a/src/components/ExternalLink.jsx b/src/components/ExternalLink.jsx index a4e2ed7..6139180 100644 --- a/src/components/ExternalLink.jsx +++ b/src/components/ExternalLink.jsx @@ -1,31 +1,31 @@ -import React from "react"; +import React from 'react' /** * Sets default values for external links on an anchor tag. - * @returns + * @returns */ -function ExternalLink({ +function ExternalLink ({ href, - rel = "nofollow noopener", + rel = 'nofollow noopener', children, - target = "_blank", + target = '_blank' }) { return ( <> - + {children} - ); + ) } -export default ExternalLink; +export default ExternalLink diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index 3d74a9a..d623e46 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -1,15 +1,15 @@ -import React from "react"; +import React from 'react' -function Footer() { +function Footer () { return ( - ); + ) } -export default Footer; +export default Footer diff --git a/src/components/Header.jsx b/src/components/Header.jsx index b3de074..7be33ee 100644 --- a/src/components/Header.jsx +++ b/src/components/Header.jsx @@ -1,24 +1,24 @@ -import Link from "next/link"; -import React from "react"; +import Link from 'next/link' +import React from 'react' -function Header() { +function Header () { return (
- ); + ) } -export default Header; +export default Header diff --git a/src/pages/_app.js b/src/pages/_app.js index 32da580..86f5cff 100644 --- a/src/pages/_app.js +++ b/src/pages/_app.js @@ -1,14 +1,15 @@ -import "@/styles/globals.css"; +import '@/styles/globals.css' -import { Inter } from "next/font/google"; -import { DefaultSeo } from "next-seo"; +import { Inter } from 'next/font/google' +import { DefaultSeo } from 'next-seo' -const inter = Inter({ subsets: ["latin"], weight: [ "400", "700" ]}); +const inter = Inter({ subsets: ['latin'], weight: ['400', '700'] }) - -export default function App({ Component, pageProps }) { - return
- - -
+export default function App ({ Component, pageProps }) { + return ( +
+ + +
+ ) } diff --git a/src/pages/_document.js b/src/pages/_document.js index 3ab84ce..d679015 100644 --- a/src/pages/_document.js +++ b/src/pages/_document.js @@ -1,15 +1,15 @@ -import { Html, Head, Main, NextScript } from "next/document"; +import { Html, Head, Main, NextScript } from 'next/document' -export default function Document() { +export default function Document () { return ( - + - +
- ); + ) } diff --git a/src/pages/index.js b/src/pages/index.js index 5a3ace4..a01e6a4 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -1,14 +1,14 @@ -import Head from "next/head"; -import Footer from "@/components/Footer"; -import Header from "@/components/Header"; -import ExternalLink from "@/components/ExternalLink"; +import Head from 'next/head' +import Footer from '@/components/Footer' +import Header from '@/components/Header' +import ExternalLink from '@/components/ExternalLink' -export default function Home() { +export default function Home () { return ( <> - - + +
@@ -48,7 +48,7 @@ export default function Home() { film."

- + See what I've watched recently.

@@ -59,7 +59,7 @@ export default function Home() { I've been working on here!

- + Check out what I've been working on.

@@ -70,7 +70,7 @@ export default function Home() { have to be 😩

- + Be creepy and stalk me on LinkedIn.

@@ -81,7 +81,7 @@ export default function Home() { and book a class if it suits you.

- + Read more about my tutoring side-gig.

@@ -89,5 +89,5 @@ export default function Home() {