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.
<br />
<a
href="https://nx.dev/react-tutorial/01-create-application"
href="https://nx.dev/react-tutorial/1-code-generation"
target="_blank"
rel="noreferrer"
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>
<br />
Prefer watching videos? Check out this free Nx course on

View File

@ -45,7 +45,7 @@ nx generate lib ui-button
### 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)

View File

@ -172,7 +172,7 @@ export async function createNxWorkspaceForReact(options: Record<string, any>) {
output.note({
title: 'First time using Nx? Check out this interactive Nx tutorial.',
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.`,
`https://egghead.io/playlists/scale-react-development-with-nx-4038`,

View File

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

View File

@ -152,7 +152,7 @@ export function createAppJsx(name: string) {
</svg>
</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"
rel="noreferrer"
className="list-item-link"

View File

@ -132,7 +132,7 @@ export const App = () => {
style={[styles.listItem, styles.learning]}
onPress={() =>
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>
</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"
rel="noreferrer"
className="list-item-link"

View File

@ -151,7 +151,7 @@ export class AppElement extends HTMLElement {
/>
</svg>
</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
fill="none"
stroke="currentColor"