Unverified Commit e4cfd3b3 authored by Sam Ko's avatar Sam Ko Committed by GitHub

chore(create-next-app): update empty templates (#65620)

## Why?

- Remove `favicon.ico` from empty templates
- Update Index pages in `default-empty` templates to be the same as the
`app-empty` templates
- x-ref: https://github.com/vercel/next.js/pull/65532
parent 3c06a506
...@@ -7,10 +7,9 @@ export default function Home() { ...@@ -7,10 +7,9 @@ export default function Home() {
<title>Create Next App</title> <title>Create Next App</title>
<meta name="description" content="Generated by create next app" /> <meta name="description" content="Generated by create next app" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
</Head> </Head>
<main> <main>
<div>Hello World!</div> <div>Hello world!</div>
</main> </main>
</> </>
); );
......
...@@ -7,7 +7,6 @@ export default function Home() { ...@@ -7,7 +7,6 @@ export default function Home() {
<title>Create Next App</title> <title>Create Next App</title>
<meta name="description" content="Generated by create next app" /> <meta name="description" content="Generated by create next app" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
</Head> </Head>
<main> <main>
<div>Hello world!</div> <div>Hello world!</div>
......
import Head from "next/head";
export default function Home() { export default function Home() {
return ( return (
<>
<Head>
<title>Create Next App</title>
<meta name="description" content="Generated by create next app" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</Head>
<main> <main>
<div>Hello world!</div> <div>Hello world!</div>
</main> </main>
</>
); );
} }
import Head from "next/head";
export default function Home() { export default function Home() {
return ( return (
<>
<Head>
<title>Create Next App</title>
<meta name="description" content="Generated by create next app" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</Head>
<main> <main>
<div>Hello world!</div> <div>Hello world!</div>
</main> </main>
</>
); );
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment