fix(react): fixes broken links to 01-create-application vs 1-code-generation (#12737)

This commit is contained in:
Zachary DeRose 2022-10-21 10:17:13 -07:00 committed by GitHub
parent 53c859842d
commit 67376209dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 9 additions and 9 deletions

View File

@ -600,12 +600,12 @@ export function NpxCreateNxWorkspaceAnimation({
First time using Nx? Check out this interactive Nx tutorial. First time using Nx? Check out this interactive Nx tutorial.
<br /> <br />
<a <a
href="https://nx.dev/react-tutorial/01-create-application" href="https://nx.dev/react-tutorial/1-code-generation"
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"
className="cursor-pointer opacity-50 hover:underline hover:opacity-100" className="cursor-pointer opacity-50 hover:underline hover:opacity-100"
> >
https://nx.dev/react-tutorial/01-create-application https://nx.dev/react-tutorial/1-code-generation
</a> </a>
<br /> <br />
Prefer watching videos? Check out this free Nx course on Prefer watching videos? Check out this free Nx course on

View File

@ -45,7 +45,7 @@ nx generate lib ui-button
### Courses, guides, docs ### Courses, guides, docs
- [Follow the Nx React tutorial](https://nx.dev/react-tutorial/01-create-application) - [Follow the Nx React tutorial](https://nx.dev/react-tutorial/1-code-generation)
- [Free Nx course on Egghead.io](https://egghead.io/playlists/scale-react-development-with-nx-4038) - [Free Nx course on Egghead.io](https://egghead.io/playlists/scale-react-development-with-nx-4038)

View File

@ -172,7 +172,7 @@ export async function createNxWorkspaceForReact(options: Record<string, any>) {
output.note({ output.note({
title: 'First time using Nx? Check out this interactive Nx tutorial.', title: 'First time using Nx? Check out this interactive Nx tutorial.',
bodyLines: [ bodyLines: [
`https://nx.dev/react-tutorial/01-create-application`, `https://nx.dev/react-tutorial/1-code-generation`,
` `, ` `,
`Prefer watching videos? Check out this free Nx course on Egghead.io.`, `Prefer watching videos? Check out this free Nx course on Egghead.io.`,
`https://egghead.io/playlists/scale-react-development-with-nx-4038`, `https://egghead.io/playlists/scale-react-development-with-nx-4038`,

View File

@ -1035,7 +1035,7 @@ function pointToTutorialAndCourse(preset: Preset) {
output.addVerticalSeparator(); output.addVerticalSeparator();
output.note({ output.note({
title, title,
bodyLines: [`https://nx.dev/react-tutorial/01-create-application`], bodyLines: [`https://nx.dev/react-tutorial/1-code-generation`],
}); });
break; break;
case Preset.Angular: case Preset.Angular:

View File

@ -152,7 +152,7 @@ export function createAppJsx(name: string) {
</svg> </svg>
</a> </a>
<a <a
href="https://nx.dev/react-tutorial/01-create-application?utm_source=nx-project" href="https://nx.dev/react-tutorial/1-code-generation?utm_source=nx-project"
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"
className="list-item-link" className="list-item-link"

View File

@ -132,7 +132,7 @@ export const App = () => {
style={[styles.listItem, styles.learning]} style={[styles.listItem, styles.learning]}
onPress={() => onPress={() =>
Linking.openURL( Linking.openURL(
'https://nx.dev/react-tutorial/01-create-application?utm_source=nx-project' 'https://nx.dev/react-tutorial/1-code-generation?utm_source=nx-project'
) )
} }
> >

View File

@ -565,7 +565,7 @@ export function NxWelcome({ title }: { title: string }) {
</svg> </svg>
</a> </a>
<a <a
href="https://nx.dev/react-tutorial/01-create-application?utm_source=nx-project" href="https://nx.dev/react-tutorial/1-code-generation?utm_source=nx-project"
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"
className="list-item-link" className="list-item-link"

View File

@ -151,7 +151,7 @@ export class AppElement extends HTMLElement {
/> />
</svg> </svg>
</a> </a>
<a href="https://nx.dev/react-tutorial/01-create-application?utm_source=nx-project" target="_blank" rel="noreferrer" class="list-item-link"> <a href="https://nx.dev/react-tutorial/1-code-generation?utm_source=nx-project" target="_blank" rel="noreferrer" class="list-item-link">
<svg <svg
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"