From 216d485c53523391607f4df052e357c1a7cb46c3 Mon Sep 17 00:00:00 2001 From: thomas Date: Sat, 11 May 2024 07:59:40 +0200 Subject: [PATCH] refactor: change projection and anchor navigation --- .../.eslintrc.json | 0 .../{projection => 1-projection}/README.md | 0 .../jest.config.ts | 2 +- .../{projection => 1-projection}/project.json | 20 +++++++------- .../src/app/app.component.ts | 0 .../city-card/city-card.component.ts | 0 .../student-card/student-card.component.ts | 0 .../teacher-card/teacher-card.component.ts | 0 .../src/app/data-access/city.store.ts | 0 .../src/app/data-access/fake-http.service.ts | 0 .../src/app/data-access/student.store.ts | 0 .../src/app/data-access/teacher.store.ts | 0 .../src/app/model/card.model.ts | 0 .../src/app/model/city.model.ts | 0 .../src/app/model/student.model.ts | 0 .../src/app/model/teacher.model.ts | 0 .../src/app/ui/card/card.component.ts | 0 .../app/ui/list-item/list-item.component.ts | 0 .../src/assets/.gitkeep | 0 .../src/assets/img/city.png | Bin .../src/assets/img/student.webp | Bin .../src/assets/img/teacher.png | Bin .../src/assets/svg/trash.svg | 0 .../src/favicon.ico | Bin .../src/index.html | 0 .../{projection => 1-projection}/src/main.ts | 0 .../src/polyfills.ts | 0 .../src/styles.scss | 0 .../src/test-setup.ts | 0 .../tailwind.config.js | 0 .../tsconfig.app.json | 0 .../tsconfig.editor.json | 0 .../tsconfig.json | 0 .../tsconfig.spec.json | 0 .../.eslintrc.json | 0 .../README.md | 2 +- .../jest.config.ts | 4 +-- .../project.json | 26 +++++++++--------- .../src/app/app.component.ts | 0 .../src/app/app.config.ts | 0 .../src/app/app.routes.ts | 0 .../src/app/foo.component.ts | 0 .../src/app/home.component.ts | 0 .../src/app/nav-button.component.ts | 0 .../src/assets/.gitkeep | 0 .../src/favicon.ico | Bin .../src/index.html | 0 .../src/main.ts | 0 .../src/styles.scss | 0 .../src/test-setup.ts | 0 .../tailwind.config.js | 0 .../tsconfig.app.json | 0 .../tsconfig.editor.json | 0 .../tsconfig.json | 0 .../tsconfig.spec.json | 0 ...r-scrolling.md => 21-anchor-navigation.md} | 2 +- ...r-scrolling.md => 21-anchor-navigation.md} | 2 +- ...r-scrolling.md => 21-anchor-navigation.md} | 2 +- ...r-scrolling.md => 21-anchor-navigation.md} | 2 +- 59 files changed, 31 insertions(+), 31 deletions(-) rename apps/angular/{projection => 1-projection}/.eslintrc.json (100%) rename apps/angular/{projection => 1-projection}/README.md (100%) rename apps/angular/{projection => 1-projection}/jest.config.ts (90%) rename apps/angular/{projection => 1-projection}/project.json (75%) rename apps/angular/{projection => 1-projection}/src/app/app.component.ts (100%) rename apps/angular/{projection => 1-projection}/src/app/component/city-card/city-card.component.ts (100%) rename apps/angular/{projection => 1-projection}/src/app/component/student-card/student-card.component.ts (100%) rename apps/angular/{projection => 1-projection}/src/app/component/teacher-card/teacher-card.component.ts (100%) rename apps/angular/{projection => 1-projection}/src/app/data-access/city.store.ts (100%) rename apps/angular/{projection => 1-projection}/src/app/data-access/fake-http.service.ts (100%) rename apps/angular/{projection => 1-projection}/src/app/data-access/student.store.ts (100%) rename apps/angular/{projection => 1-projection}/src/app/data-access/teacher.store.ts (100%) rename apps/angular/{projection => 1-projection}/src/app/model/card.model.ts (100%) rename apps/angular/{projection => 1-projection}/src/app/model/city.model.ts (100%) rename apps/angular/{projection => 1-projection}/src/app/model/student.model.ts (100%) rename apps/angular/{projection => 1-projection}/src/app/model/teacher.model.ts (100%) rename apps/angular/{projection => 1-projection}/src/app/ui/card/card.component.ts (100%) rename apps/angular/{projection => 1-projection}/src/app/ui/list-item/list-item.component.ts (100%) rename apps/angular/{anchor-scrolling => 1-projection}/src/assets/.gitkeep (100%) rename apps/angular/{projection => 1-projection}/src/assets/img/city.png (100%) rename apps/angular/{projection => 1-projection}/src/assets/img/student.webp (100%) rename apps/angular/{projection => 1-projection}/src/assets/img/teacher.png (100%) rename apps/angular/{projection => 1-projection}/src/assets/svg/trash.svg (100%) rename apps/angular/{anchor-scrolling => 1-projection}/src/favicon.ico (100%) rename apps/angular/{projection => 1-projection}/src/index.html (100%) rename apps/angular/{projection => 1-projection}/src/main.ts (100%) rename apps/angular/{projection => 1-projection}/src/polyfills.ts (100%) rename apps/angular/{projection => 1-projection}/src/styles.scss (100%) rename apps/angular/{anchor-scrolling => 1-projection}/src/test-setup.ts (100%) rename apps/angular/{anchor-scrolling => 1-projection}/tailwind.config.js (100%) rename apps/angular/{projection => 1-projection}/tsconfig.app.json (100%) rename apps/angular/{projection => 1-projection}/tsconfig.editor.json (100%) rename apps/angular/{projection => 1-projection}/tsconfig.json (100%) rename apps/angular/{projection => 1-projection}/tsconfig.spec.json (100%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/.eslintrc.json (100%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/README.md (85%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/jest.config.ts (82%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/project.json (66%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/src/app/app.component.ts (100%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/src/app/app.config.ts (100%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/src/app/app.routes.ts (100%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/src/app/foo.component.ts (100%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/src/app/home.component.ts (100%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/src/app/nav-button.component.ts (100%) rename apps/angular/{projection => 21-anchor-navigation}/src/assets/.gitkeep (100%) rename apps/angular/{projection => 21-anchor-navigation}/src/favicon.ico (100%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/src/index.html (100%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/src/main.ts (100%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/src/styles.scss (100%) rename apps/angular/{projection => 21-anchor-navigation}/src/test-setup.ts (100%) rename apps/angular/{projection => 21-anchor-navigation}/tailwind.config.js (100%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/tsconfig.app.json (100%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/tsconfig.editor.json (100%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/tsconfig.json (100%) rename apps/angular/{anchor-scrolling => 21-anchor-navigation}/tsconfig.spec.json (100%) rename docs/src/content/docs/challenges/angular/{21-achor-scrolling.md => 21-anchor-navigation.md} (95%) rename docs/src/content/docs/es/challenges/angular/{21-achor-scrolling.md => 21-anchor-navigation.md} (95%) rename docs/src/content/docs/pt/challenges/angular/{21-achor-scrolling.md => 21-anchor-navigation.md} (95%) rename docs/src/content/docs/ru/challenges/angular/{21-achor-scrolling.md => 21-anchor-navigation.md} (97%) diff --git a/apps/angular/projection/.eslintrc.json b/apps/angular/1-projection/.eslintrc.json similarity index 100% rename from apps/angular/projection/.eslintrc.json rename to apps/angular/1-projection/.eslintrc.json diff --git a/apps/angular/projection/README.md b/apps/angular/1-projection/README.md similarity index 100% rename from apps/angular/projection/README.md rename to apps/angular/1-projection/README.md diff --git a/apps/angular/projection/jest.config.ts b/apps/angular/1-projection/jest.config.ts similarity index 90% rename from apps/angular/projection/jest.config.ts rename to apps/angular/1-projection/jest.config.ts index 289a9b0..8eb2510 100644 --- a/apps/angular/projection/jest.config.ts +++ b/apps/angular/1-projection/jest.config.ts @@ -4,7 +4,7 @@ export default { preset: '../../../jest.preset.js', setupFilesAfterEnv: ['/src/test-setup.ts'], globals: {}, - coverageDirectory: '../../../coverage/apps/angular/projection', + coverageDirectory: '../../../coverage/apps/angular/1-projection', transform: { '^.+\\.(ts|mjs|js|html)$': [ 'jest-preset-angular', diff --git a/apps/angular/projection/project.json b/apps/angular/1-projection/project.json similarity index 75% rename from apps/angular/projection/project.json rename to apps/angular/1-projection/project.json index 67be273..0e6b88b 100644 --- a/apps/angular/projection/project.json +++ b/apps/angular/1-projection/project.json @@ -2,24 +2,24 @@ "name": "angular-projection", "$schema": "../../../node_modules/nx/schemas/project-schema.json", "projectType": "application", - "sourceRoot": "apps/angular/projection/src", + "sourceRoot": "apps/angular/1-projection/src", "prefix": "app", "targets": { "build": { "executor": "@angular-devkit/build-angular:application", "outputs": ["{options.outputPath}"], "options": { - "outputPath": "dist/apps/angular/projection", - "index": "apps/angular/projection/src/index.html", - "browser": "apps/angular/projection/src/main.ts", - "polyfills": ["apps/angular/projection/src/polyfills.ts"], - "tsConfig": "apps/angular/projection/tsconfig.app.json", + "outputPath": "dist/apps/angular/1-projection", + "index": "apps/angular/1-projection/src/index.html", + "browser": "apps/angular/1-projection/src/main.ts", + "polyfills": ["apps/angular/1-projection/src/polyfills.ts"], + "tsConfig": "apps/angular/1-projection/tsconfig.app.json", "inlineStyleLanguage": "scss", "assets": [ - "apps/angular/projection/src/favicon.ico", - "apps/angular/projection/src/assets" + "apps/angular/1-projection/src/favicon.ico", + "apps/angular/1-projection/src/assets" ], - "styles": ["apps/angular/projection/src/styles.scss"], + "styles": ["apps/angular/1-projection/src/styles.scss"], "scripts": [], "allowedCommonJsDependencies": ["seedrandom"] }, @@ -73,7 +73,7 @@ "executor": "@nx/jest:jest", "outputs": ["{workspaceRoot}/coverage/{projectRoot}"], "options": { - "jestConfig": "apps/angular/projection/jest.config.ts" + "jestConfig": "apps/angular/1-projection/jest.config.ts" } } }, diff --git a/apps/angular/projection/src/app/app.component.ts b/apps/angular/1-projection/src/app/app.component.ts similarity index 100% rename from apps/angular/projection/src/app/app.component.ts rename to apps/angular/1-projection/src/app/app.component.ts diff --git a/apps/angular/projection/src/app/component/city-card/city-card.component.ts b/apps/angular/1-projection/src/app/component/city-card/city-card.component.ts similarity index 100% rename from apps/angular/projection/src/app/component/city-card/city-card.component.ts rename to apps/angular/1-projection/src/app/component/city-card/city-card.component.ts diff --git a/apps/angular/projection/src/app/component/student-card/student-card.component.ts b/apps/angular/1-projection/src/app/component/student-card/student-card.component.ts similarity index 100% rename from apps/angular/projection/src/app/component/student-card/student-card.component.ts rename to apps/angular/1-projection/src/app/component/student-card/student-card.component.ts diff --git a/apps/angular/projection/src/app/component/teacher-card/teacher-card.component.ts b/apps/angular/1-projection/src/app/component/teacher-card/teacher-card.component.ts similarity index 100% rename from apps/angular/projection/src/app/component/teacher-card/teacher-card.component.ts rename to apps/angular/1-projection/src/app/component/teacher-card/teacher-card.component.ts diff --git a/apps/angular/projection/src/app/data-access/city.store.ts b/apps/angular/1-projection/src/app/data-access/city.store.ts similarity index 100% rename from apps/angular/projection/src/app/data-access/city.store.ts rename to apps/angular/1-projection/src/app/data-access/city.store.ts diff --git a/apps/angular/projection/src/app/data-access/fake-http.service.ts b/apps/angular/1-projection/src/app/data-access/fake-http.service.ts similarity index 100% rename from apps/angular/projection/src/app/data-access/fake-http.service.ts rename to apps/angular/1-projection/src/app/data-access/fake-http.service.ts diff --git a/apps/angular/projection/src/app/data-access/student.store.ts b/apps/angular/1-projection/src/app/data-access/student.store.ts similarity index 100% rename from apps/angular/projection/src/app/data-access/student.store.ts rename to apps/angular/1-projection/src/app/data-access/student.store.ts diff --git a/apps/angular/projection/src/app/data-access/teacher.store.ts b/apps/angular/1-projection/src/app/data-access/teacher.store.ts similarity index 100% rename from apps/angular/projection/src/app/data-access/teacher.store.ts rename to apps/angular/1-projection/src/app/data-access/teacher.store.ts diff --git a/apps/angular/projection/src/app/model/card.model.ts b/apps/angular/1-projection/src/app/model/card.model.ts similarity index 100% rename from apps/angular/projection/src/app/model/card.model.ts rename to apps/angular/1-projection/src/app/model/card.model.ts diff --git a/apps/angular/projection/src/app/model/city.model.ts b/apps/angular/1-projection/src/app/model/city.model.ts similarity index 100% rename from apps/angular/projection/src/app/model/city.model.ts rename to apps/angular/1-projection/src/app/model/city.model.ts diff --git a/apps/angular/projection/src/app/model/student.model.ts b/apps/angular/1-projection/src/app/model/student.model.ts similarity index 100% rename from apps/angular/projection/src/app/model/student.model.ts rename to apps/angular/1-projection/src/app/model/student.model.ts diff --git a/apps/angular/projection/src/app/model/teacher.model.ts b/apps/angular/1-projection/src/app/model/teacher.model.ts similarity index 100% rename from apps/angular/projection/src/app/model/teacher.model.ts rename to apps/angular/1-projection/src/app/model/teacher.model.ts diff --git a/apps/angular/projection/src/app/ui/card/card.component.ts b/apps/angular/1-projection/src/app/ui/card/card.component.ts similarity index 100% rename from apps/angular/projection/src/app/ui/card/card.component.ts rename to apps/angular/1-projection/src/app/ui/card/card.component.ts diff --git a/apps/angular/projection/src/app/ui/list-item/list-item.component.ts b/apps/angular/1-projection/src/app/ui/list-item/list-item.component.ts similarity index 100% rename from apps/angular/projection/src/app/ui/list-item/list-item.component.ts rename to apps/angular/1-projection/src/app/ui/list-item/list-item.component.ts diff --git a/apps/angular/anchor-scrolling/src/assets/.gitkeep b/apps/angular/1-projection/src/assets/.gitkeep similarity index 100% rename from apps/angular/anchor-scrolling/src/assets/.gitkeep rename to apps/angular/1-projection/src/assets/.gitkeep diff --git a/apps/angular/projection/src/assets/img/city.png b/apps/angular/1-projection/src/assets/img/city.png similarity index 100% rename from apps/angular/projection/src/assets/img/city.png rename to apps/angular/1-projection/src/assets/img/city.png diff --git a/apps/angular/projection/src/assets/img/student.webp b/apps/angular/1-projection/src/assets/img/student.webp similarity index 100% rename from apps/angular/projection/src/assets/img/student.webp rename to apps/angular/1-projection/src/assets/img/student.webp diff --git a/apps/angular/projection/src/assets/img/teacher.png b/apps/angular/1-projection/src/assets/img/teacher.png similarity index 100% rename from apps/angular/projection/src/assets/img/teacher.png rename to apps/angular/1-projection/src/assets/img/teacher.png diff --git a/apps/angular/projection/src/assets/svg/trash.svg b/apps/angular/1-projection/src/assets/svg/trash.svg similarity index 100% rename from apps/angular/projection/src/assets/svg/trash.svg rename to apps/angular/1-projection/src/assets/svg/trash.svg diff --git a/apps/angular/anchor-scrolling/src/favicon.ico b/apps/angular/1-projection/src/favicon.ico similarity index 100% rename from apps/angular/anchor-scrolling/src/favicon.ico rename to apps/angular/1-projection/src/favicon.ico diff --git a/apps/angular/projection/src/index.html b/apps/angular/1-projection/src/index.html similarity index 100% rename from apps/angular/projection/src/index.html rename to apps/angular/1-projection/src/index.html diff --git a/apps/angular/projection/src/main.ts b/apps/angular/1-projection/src/main.ts similarity index 100% rename from apps/angular/projection/src/main.ts rename to apps/angular/1-projection/src/main.ts diff --git a/apps/angular/projection/src/polyfills.ts b/apps/angular/1-projection/src/polyfills.ts similarity index 100% rename from apps/angular/projection/src/polyfills.ts rename to apps/angular/1-projection/src/polyfills.ts diff --git a/apps/angular/projection/src/styles.scss b/apps/angular/1-projection/src/styles.scss similarity index 100% rename from apps/angular/projection/src/styles.scss rename to apps/angular/1-projection/src/styles.scss diff --git a/apps/angular/anchor-scrolling/src/test-setup.ts b/apps/angular/1-projection/src/test-setup.ts similarity index 100% rename from apps/angular/anchor-scrolling/src/test-setup.ts rename to apps/angular/1-projection/src/test-setup.ts diff --git a/apps/angular/anchor-scrolling/tailwind.config.js b/apps/angular/1-projection/tailwind.config.js similarity index 100% rename from apps/angular/anchor-scrolling/tailwind.config.js rename to apps/angular/1-projection/tailwind.config.js diff --git a/apps/angular/projection/tsconfig.app.json b/apps/angular/1-projection/tsconfig.app.json similarity index 100% rename from apps/angular/projection/tsconfig.app.json rename to apps/angular/1-projection/tsconfig.app.json diff --git a/apps/angular/projection/tsconfig.editor.json b/apps/angular/1-projection/tsconfig.editor.json similarity index 100% rename from apps/angular/projection/tsconfig.editor.json rename to apps/angular/1-projection/tsconfig.editor.json diff --git a/apps/angular/projection/tsconfig.json b/apps/angular/1-projection/tsconfig.json similarity index 100% rename from apps/angular/projection/tsconfig.json rename to apps/angular/1-projection/tsconfig.json diff --git a/apps/angular/projection/tsconfig.spec.json b/apps/angular/1-projection/tsconfig.spec.json similarity index 100% rename from apps/angular/projection/tsconfig.spec.json rename to apps/angular/1-projection/tsconfig.spec.json diff --git a/apps/angular/anchor-scrolling/.eslintrc.json b/apps/angular/21-anchor-navigation/.eslintrc.json similarity index 100% rename from apps/angular/anchor-scrolling/.eslintrc.json rename to apps/angular/21-anchor-navigation/.eslintrc.json diff --git a/apps/angular/anchor-scrolling/README.md b/apps/angular/21-anchor-navigation/README.md similarity index 85% rename from apps/angular/anchor-scrolling/README.md rename to apps/angular/21-anchor-navigation/README.md index a159fd8..3683899 100644 --- a/apps/angular/anchor-scrolling/README.md +++ b/apps/angular/21-anchor-navigation/README.md @@ -5,7 +5,7 @@ ### Run Application ```bash -npx nx serve angular-anchor-scrolling +npx nx serve angular-anchor-navigation ``` ### Documentation and Instruction diff --git a/apps/angular/anchor-scrolling/jest.config.ts b/apps/angular/21-anchor-navigation/jest.config.ts similarity index 82% rename from apps/angular/anchor-scrolling/jest.config.ts rename to apps/angular/21-anchor-navigation/jest.config.ts index 6915111..7347f70 100644 --- a/apps/angular/anchor-scrolling/jest.config.ts +++ b/apps/angular/21-anchor-navigation/jest.config.ts @@ -1,9 +1,9 @@ /* eslint-disable */ export default { - displayName: 'angular-anchor-scrolling', + displayName: 'anchor-navigation-anchor-navigation', preset: '../../../jest.preset.js', setupFilesAfterEnv: ['/src/test-setup.ts'], - coverageDirectory: '../../../coverage/apps/angular/anchor-scrolling', + coverageDirectory: '../../../coverage/apps/angular/21-anchor-navigation', transform: { '^.+\\.(ts|mjs|js|html)$': [ 'jest-preset-angular', diff --git a/apps/angular/anchor-scrolling/project.json b/apps/angular/21-anchor-navigation/project.json similarity index 66% rename from apps/angular/anchor-scrolling/project.json rename to apps/angular/21-anchor-navigation/project.json index 8db932f..45b1866 100644 --- a/apps/angular/anchor-scrolling/project.json +++ b/apps/angular/21-anchor-navigation/project.json @@ -1,25 +1,25 @@ { - "name": "angular-anchor-scrolling", + "name": "angular-anchor-navigation", "$schema": "../../../node_modules/nx/schemas/project-schema.json", "projectType": "application", - "sourceRoot": "apps/angular/anchor-scrolling/src", + "sourceRoot": "apps/angular/21-anchor-navigation/src", "prefix": "app", "targets": { "build": { "executor": "@angular-devkit/build-angular:browser", "outputs": ["{options.outputPath}"], "options": { - "outputPath": "dist/apps/angular/anchor-scrolling", - "index": "apps/angular/anchor-scrolling/src/index.html", - "main": "apps/angular/anchor-scrolling/src/main.ts", + "outputPath": "dist/apps/angular/21-anchor-navigation", + "index": "apps/angular/21-anchor-navigation/src/index.html", + "main": "apps/angular/21-anchor-navigation/src/main.ts", "polyfills": ["zone.js"], - "tsConfig": "apps/angular/anchor-scrolling/tsconfig.app.json", + "tsConfig": "apps/angular/21-anchor-navigation/tsconfig.app.json", "inlineStyleLanguage": "scss", "assets": [ - "apps/angular/anchor-scrolling/src/favicon.ico", - "apps/angular/anchor-scrolling/src/assets" + "apps/angular/21-anchor-navigation/src/favicon.ico", + "apps/angular/21-anchor-navigation/src/assets" ], - "styles": ["apps/angular/anchor-scrolling/src/styles.scss"], + "styles": ["apps/angular/21-anchor-navigation/src/styles.scss"], "scripts": [] }, "configurations": { @@ -53,10 +53,10 @@ "executor": "@angular-devkit/build-angular:dev-server", "configurations": { "production": { - "buildTarget": "angular-anchor-scrolling:build:production" + "buildTarget": "angular-anchor-navigation:build:production" }, "development": { - "buildTarget": "angular-anchor-scrolling:build:development" + "buildTarget": "angular-anchor-navigation:build:development" } }, "defaultConfiguration": "development" @@ -64,7 +64,7 @@ "extract-i18n": { "executor": "@angular-devkit/build-angular:extract-i18n", "options": { - "buildTarget": "angular-anchor-scrolling:build" + "buildTarget": "angular-anchor-navigation:build" } }, "lint": { @@ -74,7 +74,7 @@ "executor": "@nx/jest:jest", "outputs": ["{workspaceRoot}/coverage/{projectRoot}"], "options": { - "jestConfig": "apps/angular/anchor-scrolling/jest.config.ts" + "jestConfig": "apps/angular/21-anchor-navigation/jest.config.ts" } } }, diff --git a/apps/angular/anchor-scrolling/src/app/app.component.ts b/apps/angular/21-anchor-navigation/src/app/app.component.ts similarity index 100% rename from apps/angular/anchor-scrolling/src/app/app.component.ts rename to apps/angular/21-anchor-navigation/src/app/app.component.ts diff --git a/apps/angular/anchor-scrolling/src/app/app.config.ts b/apps/angular/21-anchor-navigation/src/app/app.config.ts similarity index 100% rename from apps/angular/anchor-scrolling/src/app/app.config.ts rename to apps/angular/21-anchor-navigation/src/app/app.config.ts diff --git a/apps/angular/anchor-scrolling/src/app/app.routes.ts b/apps/angular/21-anchor-navigation/src/app/app.routes.ts similarity index 100% rename from apps/angular/anchor-scrolling/src/app/app.routes.ts rename to apps/angular/21-anchor-navigation/src/app/app.routes.ts diff --git a/apps/angular/anchor-scrolling/src/app/foo.component.ts b/apps/angular/21-anchor-navigation/src/app/foo.component.ts similarity index 100% rename from apps/angular/anchor-scrolling/src/app/foo.component.ts rename to apps/angular/21-anchor-navigation/src/app/foo.component.ts diff --git a/apps/angular/anchor-scrolling/src/app/home.component.ts b/apps/angular/21-anchor-navigation/src/app/home.component.ts similarity index 100% rename from apps/angular/anchor-scrolling/src/app/home.component.ts rename to apps/angular/21-anchor-navigation/src/app/home.component.ts diff --git a/apps/angular/anchor-scrolling/src/app/nav-button.component.ts b/apps/angular/21-anchor-navigation/src/app/nav-button.component.ts similarity index 100% rename from apps/angular/anchor-scrolling/src/app/nav-button.component.ts rename to apps/angular/21-anchor-navigation/src/app/nav-button.component.ts diff --git a/apps/angular/projection/src/assets/.gitkeep b/apps/angular/21-anchor-navigation/src/assets/.gitkeep similarity index 100% rename from apps/angular/projection/src/assets/.gitkeep rename to apps/angular/21-anchor-navigation/src/assets/.gitkeep diff --git a/apps/angular/projection/src/favicon.ico b/apps/angular/21-anchor-navigation/src/favicon.ico similarity index 100% rename from apps/angular/projection/src/favicon.ico rename to apps/angular/21-anchor-navigation/src/favicon.ico diff --git a/apps/angular/anchor-scrolling/src/index.html b/apps/angular/21-anchor-navigation/src/index.html similarity index 100% rename from apps/angular/anchor-scrolling/src/index.html rename to apps/angular/21-anchor-navigation/src/index.html diff --git a/apps/angular/anchor-scrolling/src/main.ts b/apps/angular/21-anchor-navigation/src/main.ts similarity index 100% rename from apps/angular/anchor-scrolling/src/main.ts rename to apps/angular/21-anchor-navigation/src/main.ts diff --git a/apps/angular/anchor-scrolling/src/styles.scss b/apps/angular/21-anchor-navigation/src/styles.scss similarity index 100% rename from apps/angular/anchor-scrolling/src/styles.scss rename to apps/angular/21-anchor-navigation/src/styles.scss diff --git a/apps/angular/projection/src/test-setup.ts b/apps/angular/21-anchor-navigation/src/test-setup.ts similarity index 100% rename from apps/angular/projection/src/test-setup.ts rename to apps/angular/21-anchor-navigation/src/test-setup.ts diff --git a/apps/angular/projection/tailwind.config.js b/apps/angular/21-anchor-navigation/tailwind.config.js similarity index 100% rename from apps/angular/projection/tailwind.config.js rename to apps/angular/21-anchor-navigation/tailwind.config.js diff --git a/apps/angular/anchor-scrolling/tsconfig.app.json b/apps/angular/21-anchor-navigation/tsconfig.app.json similarity index 100% rename from apps/angular/anchor-scrolling/tsconfig.app.json rename to apps/angular/21-anchor-navigation/tsconfig.app.json diff --git a/apps/angular/anchor-scrolling/tsconfig.editor.json b/apps/angular/21-anchor-navigation/tsconfig.editor.json similarity index 100% rename from apps/angular/anchor-scrolling/tsconfig.editor.json rename to apps/angular/21-anchor-navigation/tsconfig.editor.json diff --git a/apps/angular/anchor-scrolling/tsconfig.json b/apps/angular/21-anchor-navigation/tsconfig.json similarity index 100% rename from apps/angular/anchor-scrolling/tsconfig.json rename to apps/angular/21-anchor-navigation/tsconfig.json diff --git a/apps/angular/anchor-scrolling/tsconfig.spec.json b/apps/angular/21-anchor-navigation/tsconfig.spec.json similarity index 100% rename from apps/angular/anchor-scrolling/tsconfig.spec.json rename to apps/angular/21-anchor-navigation/tsconfig.spec.json diff --git a/docs/src/content/docs/challenges/angular/21-achor-scrolling.md b/docs/src/content/docs/challenges/angular/21-anchor-navigation.md similarity index 95% rename from docs/src/content/docs/challenges/angular/21-achor-scrolling.md rename to docs/src/content/docs/challenges/angular/21-anchor-navigation.md index 99fef0b..f094023 100644 --- a/docs/src/content/docs/challenges/angular/21-achor-scrolling.md +++ b/docs/src/content/docs/challenges/angular/21-anchor-navigation.md @@ -6,7 +6,7 @@ contributors: - tomalaforge - tomer953 challengeNumber: 21 -command: angular-anchor-scrolling +command: angular-anchor-navigation sidebar: order: 4 --- diff --git a/docs/src/content/docs/es/challenges/angular/21-achor-scrolling.md b/docs/src/content/docs/es/challenges/angular/21-anchor-navigation.md similarity index 95% rename from docs/src/content/docs/es/challenges/angular/21-achor-scrolling.md rename to docs/src/content/docs/es/challenges/angular/21-anchor-navigation.md index 06427c4..2a20954 100644 --- a/docs/src/content/docs/es/challenges/angular/21-achor-scrolling.md +++ b/docs/src/content/docs/es/challenges/angular/21-anchor-navigation.md @@ -5,7 +5,7 @@ author: thomas-laforge contributors: - ErickRodrCodes challengeNumber: 21 -command: angular-anchor-scrolling +command: angular-anchor-navigation sidebar: order: 4 --- diff --git a/docs/src/content/docs/pt/challenges/angular/21-achor-scrolling.md b/docs/src/content/docs/pt/challenges/angular/21-anchor-navigation.md similarity index 95% rename from docs/src/content/docs/pt/challenges/angular/21-achor-scrolling.md rename to docs/src/content/docs/pt/challenges/angular/21-anchor-navigation.md index d969d87..8ef3475 100644 --- a/docs/src/content/docs/pt/challenges/angular/21-achor-scrolling.md +++ b/docs/src/content/docs/pt/challenges/angular/21-anchor-navigation.md @@ -5,7 +5,7 @@ author: thomas-laforge contributors: - kabrunko-dev challengeNumber: 21 -command: angular-anchor-scrolling +command: angular-anchor-navigation sidebar: order: 4 --- diff --git a/docs/src/content/docs/ru/challenges/angular/21-achor-scrolling.md b/docs/src/content/docs/ru/challenges/angular/21-anchor-navigation.md similarity index 97% rename from docs/src/content/docs/ru/challenges/angular/21-achor-scrolling.md rename to docs/src/content/docs/ru/challenges/angular/21-anchor-navigation.md index fc73eca..cfcf035 100644 --- a/docs/src/content/docs/ru/challenges/angular/21-achor-scrolling.md +++ b/docs/src/content/docs/ru/challenges/angular/21-anchor-navigation.md @@ -5,7 +5,7 @@ author: thomas-laforge contributors: - stillst challengeNumber: 21 -command: angular-anchor-scrolling +command: angular-anchor-navigation sidebar: order: 4 ---