Unverified Commit 436c5c71 authored by Lee Robinson's avatar Lee Robinson Committed by GitHub

Fix a few ZEIT to Vercel, .now.sh to .vercel.app. (#34300)

Some spring cleaning 🧹 
parent ef31084e
...@@ -2,7 +2,7 @@ export const EXAMPLE_PATH = 'cms-builder-io' ...@@ -2,7 +2,7 @@ export const EXAMPLE_PATH = 'cms-builder-io'
export const CMS_NAME = 'Builder.io' export const CMS_NAME = 'Builder.io'
export const CMS_URL = 'https://builder.io/' export const CMS_URL = 'https://builder.io/'
export const HOME_OG_IMAGE_URL = export const HOME_OG_IMAGE_URL =
'https://og-image.now.sh/Next.js%20Blog%20example%20with%20**Builder.io**.png?theme=light&md=1&fontSize=100px&images=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Ffront%2Fassets%2Fdesign%2Fnextjs-black-logo.svg&images=https%3A%2F%2Fcdn.builder.io%2Fapi%2Fv1%2Fimage%2Fassets%252FYJIGb4i01jvw0SRdL5Bt%252F79c8b61740bc41d5ae722c000ddb5915' 'https://og-image.vercel.app/Next.js%20Blog%20example%20with%20**Builder.io**.png?theme=light&md=1&fontSize=100px&images=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Ffront%2Fassets%2Fdesign%2Fnextjs-black-logo.svg&images=https%3A%2F%2Fcdn.builder.io%2Fapi%2Fv1%2Fimage%2Fassets%252FYJIGb4i01jvw0SRdL5Bt%252F79c8b61740bc41d5ae722c000ddb5915'
export const BUILDER_CONFIG = { export const BUILDER_CONFIG = {
apiKey: process.env.NEXT_PUBLIC_BUILDER_API_KEY, apiKey: process.env.NEXT_PUBLIC_BUILDER_API_KEY,
postsModel: 'post', postsModel: 'post',
......
...@@ -4,10 +4,10 @@ This example showcases Next.js's [Static Generation](https://nextjs.org/docs/bas ...@@ -4,10 +4,10 @@ This example showcases Next.js's [Static Generation](https://nextjs.org/docs/bas
## Demo ## Demo
- **Live**: [https://next-blog-prepr.now.sh/](https://next-blog-prepr.now.sh/) - **Live**: [https://next-blog-prepr.vercel.app/](https://next-blog-prepr.vercel.app/)
- **Preview Mode**: [https://next-blog-prepr.now.sh/api/preview...](https://next-blog-prepr.now.sh/api/preview?secret=237864ihasdhj283768&slug=discover-enjoy-amsterdam) - **Preview Mode**: [https://next-blog-prepr.vercel.app/api/preview...](https://next-blog-prepr.vercel.app/api/preview?secret=237864ihasdhj283768&slug=discover-enjoy-amsterdam)
### [https://next-blog-prepr.now.sh/](https://next-blog-prepr.now.sh/) ### [https://next-blog-prepr.vercel.app/](https://next-blog-prepr.vercel.app/)
### Related examples ### Related examples
......
...@@ -33,7 +33,7 @@ Once you have access to [the environment variables you'll need](#step-3-set-up-e ...@@ -33,7 +33,7 @@ Once you have access to [the environment variables you'll need](#step-3-set-up-e
## How to use ## How to use
Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example: Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:
```bash ```bash
npx create-next-app --example cms-umbraco-heartcore cms-umbraco-heartcore-app npx create-next-app --example cms-umbraco-heartcore cms-umbraco-heartcore-app
...@@ -91,7 +91,7 @@ yarn install ...@@ -91,7 +91,7 @@ yarn install
yarn dev yarn dev
``` ```
Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/zeit/next.js/discussions). Your blog should be up and running on [http://localhost:3000](http://localhost:3000)! If it doesn't work, post on [GitHub discussions](https://github.com/vercel/next.js/discussions).
### Step 5. Try preview mode ### Step 5. Try preview mode
......
...@@ -27,7 +27,7 @@ export default function Alert({ preview }) { ...@@ -27,7 +27,7 @@ export default function Alert({ preview }) {
<> <>
The source code for this blog is{' '} The source code for this blog is{' '}
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="underline hover:text-success duration-200 transition-colors" className="underline hover:text-success duration-200 transition-colors"
> >
available on GitHub available on GitHub
......
...@@ -17,7 +17,7 @@ export default function Footer() { ...@@ -17,7 +17,7 @@ export default function Footer() {
Read Documentation Read Documentation
</a> </a>
<a <a
href={`https://github.com/zeit/next.js/tree/canary/examples/${EXAMPLE_PATH}`} href={`https://github.com/vercel/next.js/tree/canary/examples/${EXAMPLE_PATH}`}
className="mx-3 font-bold hover:underline" className="mx-3 font-bold hover:underline"
> >
View on GitHub View on GitHub
......
...@@ -2,4 +2,4 @@ export const EXAMPLE_PATH = 'cms-umbraco-heartcore' ...@@ -2,4 +2,4 @@ export const EXAMPLE_PATH = 'cms-umbraco-heartcore'
export const CMS_NAME = 'Umbraco Heartcore' export const CMS_NAME = 'Umbraco Heartcore'
export const CMS_URL = 'https://umbraco.com/heartcore' export const CMS_URL = 'https://umbraco.com/heartcore'
export const HOME_OG_IMAGE_URL = export const HOME_OG_IMAGE_URL =
'https://og-image.now.sh/Next.js%20Blog%20Example%20with%20**Umbraco%20Heartcore**.png?theme=light&md=1&fontSize=100px&images=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Ffront%2Fassets%2Fdesign%2Fnextjs-black-logo.svg&images=https://media.umbraco.io/demo-headless/8d8a349dde73ca6/u_heartcore_heart_lockup_tagline_dark.svg' 'https://og-image.vercel.app/Next.js%20Blog%20Example%20with%20**Umbraco%20Heartcore**.png?theme=light&md=1&fontSize=100px&images=https%3A%2F%2Fassets.vercel.com%2Fimage%2Fupload%2Ffront%2Fassets%2Fdesign%2Fnextjs-black-logo.svg&images=https://media.umbraco.io/demo-headless/8d8a349dde73ca6/u_heartcore_heart_lockup_tagline_dark.svg'
...@@ -24,7 +24,7 @@ export default function Home() { ...@@ -24,7 +24,7 @@ export default function Home() {
1. <b>no `getInitialProps`</b> to ensure every page is static 1. <b>no `getInitialProps`</b> to ensure every page is static
<br /> <br />
2. <b>`useUser` hook</b> together with ` 2. <b>`useUser` hook</b> together with `
<a href="https://swr.now.sh/">swr`</a> for data fetching <a href="https://swr.vercel.app/">swr`</a> for data fetching
</p> </p>
<h2>Features</h2> <h2>Features</h2>
......
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