interim commit

This commit is contained in:
Rob Drake 2020-11-21 02:39:49 -06:00
parent 7851d93807
commit 85097a82ea
2 changed files with 34 additions and 15 deletions

View File

@ -1,27 +1,28 @@
import Head from 'next/head'
import Link from 'next/link'
export default function Home() {
return (
<div className="container">
<Head>
<title>Create Next App</title>
<link rel="icon" href="/favicon.ico" />
</Head>
return (
<div className="container">
<Head>
<title>Create Next App</title>
<link rel="icon" href="/favicon.ico" />
</Head>
<main>
<h1 className="title">
Welcome to <a href="https://nextjs.org">Next.js!</a>
</h1>
<main>
<h1 className="title">
Read <Link href="/posts/first-post"><a>this page!</a></Link>
</h1>
<p className="description">
Get started by editing <code>pages/index.js</code>
Get started by editing <code>pages/index.js</code>
</p>
<div className="grid">
<a href="https://nextjs.org/docs" className="card">
<h3>Documentation &rarr;</h3>
<p>Find in-depth information about Next.js features and API.</p>
</a>
<a href="https://nextjs.org/docs" className="card">
<h3>Documentation &rarr;</h3>
<p>Find in-depth information about Next.js features and API.</p>
</a>
<a href="https://nextjs.org/learn" className="card">
<h3>Learn &rarr;</h3>

18
pages/posts/first-post.js Normal file
View File

@ -0,0 +1,18 @@
import Link from 'next/link';
import Head from 'next/head';
export default function FirstPost() {
return (
<>
<Head>
<title>First Post</title>
</Head>
<h1>First Post!</h1>
<h2>
<Link href="/">
<a>Back to Home</a>
</Link>
</h2>
</>
);
}