diff --git a/apps/performance/default-onpush/img/profiler-record.png b/docs/src/assets/34/profiler-record.png similarity index 100% rename from apps/performance/default-onpush/img/profiler-record.png rename to docs/src/assets/34/profiler-record.png diff --git a/apps/performance/default-onpush/img/profiler-tab.png b/docs/src/assets/34/profiler-tab.png similarity index 100% rename from apps/performance/default-onpush/img/profiler-tab.png rename to docs/src/assets/34/profiler-tab.png diff --git a/apps/context-outlet-type/img/unknown-person.png b/docs/src/assets/4/unknown-person.png similarity index 100% rename from apps/context-outlet-type/img/unknown-person.png rename to docs/src/assets/4/unknown-person.png diff --git a/apps/context-outlet-type/img/unknown-student.png b/docs/src/assets/4/unknown-student.png similarity index 100% rename from apps/context-outlet-type/img/unknown-student.png rename to docs/src/assets/4/unknown-student.png diff --git a/docs/src/content/docs/challenges/angular-performance/34-default-onpush.md b/docs/src/content/docs/challenges/angular-performance/34-default-onpush.md index 1c6426b..c5d1992 100644 --- a/docs/src/content/docs/challenges/angular-performance/34-default-onpush.md +++ b/docs/src/content/docs/challenges/angular-performance/34-default-onpush.md @@ -19,13 +19,13 @@ In this challenge, we will explore the differences and impacts of using `ChangeD Start by serving this application by running: `npx nx serve performance-default-onpush` inside your terminal. Then open Chrome DevTool by pressing **F12** and switch to the Angular Tab. From there you can select the Profiler tab as shown below. -![profiler tab](./img/profiler-tab.png 'Profiler tab') +![profiler tab](../../../../assets/34/profiler-tab.png 'Profiler tab') Start profiling your application and type some letters inside the input field. You will notice that each element of your application will flash at each change detection cycle and the profiler will show you a bar for each change detection cycle. If you click on one of the bars (indicated by the yellow arrow on the picture below), you can see that `PersonListComponent`, `RandomComponent` and all the `MatListItem` are impacted by the change detection cycle, even when we only interact with the input field. -![profiler record](./img/profiler-record.png 'Profiler Record') +![profiler record](../../../../assets/34/profiler-record.png 'Profiler Record') ### Statement diff --git a/docs/src/content/docs/challenges/angular/4-context-outlet-typed.md b/docs/src/content/docs/challenges/angular/4-context-outlet-typed.md index 61fc256..00943b8 100644 --- a/docs/src/content/docs/challenges/angular/4-context-outlet-typed.md +++ b/docs/src/content/docs/challenges/angular/4-context-outlet-typed.md @@ -25,7 +25,7 @@ This exercice has two level of complexity. Currently we have the following piece of code. -Unkown Person +![Unkown Person](../../../../assets/4/unknown-person.png 'Unkown Person') As we can see, name is of type "any". We want to infer the correct type. @@ -33,7 +33,7 @@ As we can see, name is of type "any". We want to infer the correct type. Currently we have the following piece of code. -Unkown Person +![Unkown Student](../../../../assets/4/unknown-student.png 'Unkown Student') As we can see, student is of type "any". We want to infer the correct type.