To get started, edit the page.js file.
-- Looking for a starting point or more instructions? Head over to{" "} - - Templates - {" "} - or the{" "} - - Learning - {" "} - center. -
-diff --git a/src/app/globals.css b/src/app/globals.css index 4c18fb3..e5d2a85 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1,49 +1,75 @@ -:root { - --background: #ffffff; - --foreground: #171717; +/* + Josh's Custom CSS Reset + https://www.joshwcomeau.com/css/custom-css-reset/ +*/ +*, +*::before, +*::after { + box-sizing: border-box; } - -@media (prefers-color-scheme: dark) { - :root { - --background: #0a0a0a; - --foreground: #ededed; - } -} - -html { - height: 100%; +* { + margin: 0; } - html, body { - max-width: 100vw; - overflow-x: hidden; + height: 100%; } - body { - min-height: 100%; - display: flex; - flex-direction: column; - color: var(--foreground); - background: var(--background); - font-family: Arial, Helvetica, sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; + line-height: 1.5; + -webkit-font-smoothing: antialiased; } - -* { - box-sizing: border-box; - padding: 0; - margin: 0; +img, +picture, +video, +canvas, +svg { + display: block; + max-width: 100%; } - -a { - color: inherit; - text-decoration: none; +input, +button, +textarea, +select { + font: inherit; +} +p, +h1, +h2, +h3, +h4, +h5, +h6 { + overflow-wrap: break-word; +} +#root, +#__next { + isolation: isolate; } -@media (prefers-color-scheme: dark) { - html { - color-scheme: dark; - } +/* Minimal styles */ +body { + display: flex; + flex-direction: column; + justify-content: flex-start; + padding: 16px; + min-height: 100%; + font-family: sans-serif; + background: hsl(0deg 0% 95%); + color: hsl(0deg 0% 10%); +} +main { + width: 100%; + max-width: 800px; + padding: 16px 24px; + margin: 0px auto; + border: 1px solid hsl(0deg 0% 50% / 0.3); + border-radius: 2px; + background: white; +} +footer { + width: 100%; + font-size: 0.875rem; + color: hsl(0deg 0% 30%); + text-align: center; + padding: 32px 0px; } diff --git a/src/app/layout.js b/src/app/layout.js index e41b55c..eff27e9 100644 --- a/src/app/layout.js +++ b/src/app/layout.js @@ -1,25 +1,16 @@ -import { Geist, Geist_Mono } from "next/font/google"; -import "./globals.css"; +import React from 'react'; +import Footer from './Footer/Footer'; +import './globals.css'; -const geistSans = Geist({ - variable: "--font-geist-sans", - subsets: ["latin"], -}); - -const geistMono = Geist_Mono({ - variable: "--font-geist-mono", - subsets: ["latin"], -}); - -export const metadata = { - title: "Create Next App", - description: "Generated by create next app", -}; - -export default function RootLayout({ children }) { +function RootLayout({ children }) { return ( - -
{children} + + + {children} + + ); } + +export default RootLayout; diff --git a/src/app/page.js b/src/app/page.js index 290b6c3..f14866a 100644 --- a/src/app/page.js +++ b/src/app/page.js @@ -1,66 +1,13 @@ -import Image from "next/image"; -import styles from "./page.module.css"; +import React from 'react'; -export default function Home() { +function Home() { return ( -- Looking for a starting point or more instructions? Head over to{" "} - - Templates - {" "} - or the{" "} - - Learning - {" "} - center. -
-