interim commit
This commit is contained in:
parent
7851d93807
commit
85097a82ea
|
@ -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 →</h3>
|
||||
<p>Find in-depth information about Next.js features and API.</p>
|
||||
</a>
|
||||
<a href="https://nextjs.org/docs" className="card">
|
||||
<h3>Documentation →</h3>
|
||||
<p>Find in-depth information about Next.js features and API.</p>
|
||||
</a>
|
||||
|
||||
<a href="https://nextjs.org/learn" className="card">
|
||||
<h3>Learn →</h3>
|
||||
|
|
|
@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue