Update dependencies, remove "as" for links, ZEIT -> Vercel. (#14)

This commit is contained in:
Lee Robinson
2020-09-16 01:53:09 -05:00
committed by GitHub
parent d90855ed3f
commit a24ee6c823
19 changed files with 23 additions and 33 deletions

View File

@@ -10,10 +10,10 @@
"dependencies": {
"date-fns": "^2.11.1",
"gray-matter": "^4.0.2",
"next": "9.3.5",
"next": "9.5.3",
"react": "16.13.1",
"react-dom": "16.13.1",
"remark": "^12.0.0",
"remark-html": "^11.0.1"
"remark-html": "^12.0.0"
}
}

View File

@@ -23,7 +23,7 @@ export default function Home({ allPostsData }) {
<ul className={utilStyles.list}>
{allPostsData.map(({ id, date, title }) => (
<li className={utilStyles.listItem} key={id}>
<Link href="/posts/[id]" as={`/posts/${id}`}>
<Link href={`/posts/${id}`}>
<a>{title}</a>
</Link>
<br />

View File

@@ -8,7 +8,7 @@
"start": "next start"
},
"dependencies": {
"next": "9.3.5",
"next": "9.5.3",
"react": "16.13.1",
"react-dom": "16.13.1"
}

View File

@@ -34,7 +34,7 @@ export default function Home() {
</a>
<a
href="https://github.com/zeit/next.js/tree/master/examples"
href="https://github.com/vercel/next.js/tree/master/examples"
className="card"
>
<h3>Examples &rarr;</h3>

View File

@@ -10,10 +10,10 @@
"dependencies": {
"date-fns": "^2.11.1",
"gray-matter": "^4.0.2",
"next": "9.3.5",
"next": "9.5.3",
"react": "16.13.1",
"react-dom": "16.13.1",
"remark": "^12.0.0",
"remark-html": "^11.0.1"
"remark-html": "^12.0.0"
}
}

View File

@@ -23,7 +23,7 @@ export default function Home({ allPostsData }) {
<ul className={utilStyles.list}>
{allPostsData.map(({ id, date, title }) => (
<li className={utilStyles.listItem} key={id}>
<Link href="/posts/[id]" as={`/posts/${id}`}>
<Link href={`/posts/${id}`}>
<a>{title}</a>
</Link>
<br />

View File

@@ -8,7 +8,7 @@
"start": "next start"
},
"dependencies": {
"next": "9.3.5",
"next": "9.5.3",
"react": "16.13.1",
"react-dom": "16.13.1"
}

View File

@@ -1,10 +0,0 @@
<svg width="82" height="16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="url(#prefix__paint0_linear)" d="M9.018 0l9.019 16H0L9.018 0z"/>
<path fill="#333" fill-rule="evenodd" d="M51.634 12.028h-6.492V2.052h6.492v1.256H46.61v3.007h4.37V7.57h-4.37v3.202h5.024v1.255zm-14.063 0h-7.235v-1.096l5.342-7.624h-5.253V2.052h7.058v1.097l-5.342 7.623h5.43v1.256zm21.88 0h6.333v-1.256h-2.423V3.308h2.423V2.052h-6.332v1.256h2.441v7.465h-2.441v1.255zm18.22 0h-1.468v-8.72h-3.36V2.052h8.225v1.256H77.67v8.72z" clip-rule="evenodd"/>
<defs>
<linearGradient id="prefix__paint0_linear" x1="28.022" x2="16.189" y1="22.991" y2="8.569" gradientUnits="userSpaceOnUse">
<stop stop-color="#fff"/>
<stop offset="1"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 794 B

View File

@@ -10,10 +10,10 @@
"dependencies": {
"date-fns": "^2.11.1",
"gray-matter": "^4.0.2",
"next": "9.3.5",
"next": "9.5.3",
"react": "16.13.1",
"react-dom": "16.13.1",
"remark": "^12.0.0",
"remark-html": "^11.0.1"
"remark-html": "^12.0.0"
}
}

View File

@@ -27,7 +27,7 @@ export default function Home({ allPostsData }) {
<ul className={utilStyles.list}>
{allPostsData.map(({ id, date, title }) => (
<li className={utilStyles.listItem} key={id}>
<Link href="/posts/[id]" as={`/posts/${id}`}>
<Link href={`/posts/${id}`}>
<a>{title}</a>
</Link>
<br />

View File

@@ -9,7 +9,7 @@
},
"dependencies": {
"gray-matter": "^4.0.2",
"next": "9.3.5",
"next": "9.5.3",
"react": "16.13.1",
"react-dom": "16.13.1"
}

View File

@@ -9,7 +9,7 @@
},
"dependencies": {
"gray-matter": "^4.0.2",
"next": "9.3.5",
"next": "9.5.3",
"react": "16.13.1",
"react-dom": "16.13.1"
}

View File

@@ -5,7 +5,7 @@
If you see an installation error for the following installation command:
```bash
npm init next-app nextjs-blog --example "https://github.com/zeit/next-learn-starter/tree/master/learn-starter"
npm init next-app nextjs-blog --example "https://github.com/vercel/next-learn-starter/tree/master/learn-starter"
```
Try removing everything after `--example`:
@@ -20,4 +20,4 @@ And hit <kbd>return</kbd> to choose the default template:
Default starter app
```
If that doesnt work either, please let us know on [GitHub Discussions](https://github.com/zeit/next.js/discussions) with the error text, your OS, and Node.js version (make sure your Node.js version is at least 10.13). You can also reach out to [@chibicode on Twitter](https://twitter.com/chibicode).
If that doesnt work either, please let us know on [GitHub Discussions](https://github.com/vercel/next.js/discussions) with the error text, your OS, and Node.js version (make sure your Node.js version is at least 10.13). You can also reach out to [@chibicode on Twitter](https://twitter.com/chibicode).

View File

@@ -8,7 +8,7 @@
"start": "next start"
},
"dependencies": {
"next": "9.3.5",
"next": "9.5.3",
"react": "16.13.1",
"react-dom": "16.13.1"
}

View File

@@ -29,7 +29,7 @@ export default function Home() {
</a>
<a
href="https://github.com/zeit/next.js/tree/master/examples"
href="https://github.com/vercel/next.js/tree/master/examples"
className="card"
>
<h3>Examples &rarr;</h3>

View File

@@ -8,7 +8,7 @@
"start": "next start"
},
"dependencies": {
"next": "9.3.5",
"next": "9.5.3",
"react": "16.13.1",
"react-dom": "16.13.1"
}

View File

@@ -29,7 +29,7 @@ export default function Home() {
</a>
<a
href="https://github.com/zeit/next.js/tree/master/examples"
href="https://github.com/vercel/next.js/tree/master/examples"
className="card"
>
<h3>Examples &rarr;</h3>

View File

@@ -10,11 +10,11 @@
"dependencies": {
"date-fns": "^2.11.1",
"gray-matter": "^4.0.2",
"next": "9.3.5",
"next": "9.5.3",
"react": "16.13.1",
"react-dom": "16.13.1",
"remark": "^12.0.0",
"remark-html": "^11.0.1"
"remark-html": "^12.0.0"
},
"devDependencies": {
"@types/node": "^13.11.0",

View File

@@ -32,7 +32,7 @@ export default function Home({
<ul className={utilStyles.list}>
{allPostsData.map(({ id, date, title }) => (
<li className={utilStyles.listItem} key={id}>
<Link href="/posts/[id]" as={`/posts/${id}`}>
<Link href={`/posts/${id}`}>
<a>{title}</a>
</Link>
<br />