Skip to content

Commit

Permalink
fix(react): fixes broken links to 01-create-application vs 1-code-gen…
Browse files Browse the repository at this point in the history
…eration (#12737)
  • Loading branch information
ZackDeRose committed Oct 21, 2022
1 parent 53c8598 commit 6737620
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions nx-dev/ui-common/src/lib/npx-create-nx-workspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/cra-to-nx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion packages/cra-to-nx/src/lib/cra-to-nx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down
2 changes: 1 addition & 1 deletion packages/create-nx-workspace/bin/create-nx-workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
)
}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

1 comment on commit 6737620

@vercel
Copy link

@vercel vercel bot commented on 6737620 Oct 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-nrwl.vercel.app
nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev

Please sign in to comment.