diff --git a/.all-contributorsrc b/.all-contributorsrc index f7c11a1..9005b37 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -112,7 +112,8 @@ "avatar_url": "https://avatars.githubusercontent.com/u/30800393?v=4", "profile": "http://www.sagardev.com.np", "contributions": [ - "doc" + "doc", + "code" ] }, { diff --git a/README.md b/README.md index 51c2587..2680b4a 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Check [all 39 challenges](https://angular-challenges.vercel.app/) Devesh Chaudhari
Devesh Chaudhari

πŸ’» πŸ› 🧩 Dmitriy Mishchenko
Dmitriy Mishchenko

πŸ“– - Sagar Devkota
Sagar Devkota

πŸ“– + Sagar Devkota
Sagar Devkota

πŸ“– πŸ’» Nelson Gutierrez
Nelson Gutierrez

πŸ“– Hossain K. M.
Hossain K. M.

πŸ“– diff --git a/apps/angular/anchor-scrolling/README.md b/apps/angular/anchor-scrolling/README.md index c6ffb7f..a159fd8 100644 --- a/apps/angular/anchor-scrolling/README.md +++ b/apps/angular/anchor-scrolling/README.md @@ -1,6 +1,6 @@ # Anchor Navigation -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/bug-cd/README.md b/apps/angular/bug-cd/README.md index 5f0e3b4..cb42e77 100644 --- a/apps/angular/bug-cd/README.md +++ b/apps/angular/bug-cd/README.md @@ -1,6 +1,6 @@ # Change Detection Bug -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/context-outlet-type/README.md b/apps/angular/context-outlet-type/README.md index c7eb23b..d195baa 100644 --- a/apps/angular/context-outlet-type/README.md +++ b/apps/angular/context-outlet-type/README.md @@ -1,6 +1,6 @@ # Typed ContextOutlet -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/crud/README.md b/apps/angular/crud/README.md index e351dc1..0a6518b 100644 --- a/apps/angular/crud/README.md +++ b/apps/angular/crud/README.md @@ -1,6 +1,6 @@ # Crud application -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/decoupling/README.md b/apps/angular/decoupling/README.md index faea604..0ba00e7 100644 --- a/apps/angular/decoupling/README.md +++ b/apps/angular/decoupling/README.md @@ -1,6 +1,6 @@ # Decoupling Components -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/di/README.md b/apps/angular/di/README.md index e41c911..032601c 100644 --- a/apps/angular/di/README.md +++ b/apps/angular/di/README.md @@ -1,6 +1,6 @@ # Master Dependancy Injection -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/injection-token/README.md b/apps/angular/injection-token/README.md index 8764b23..a96eb9c 100644 --- a/apps/angular/injection-token/README.md +++ b/apps/angular/injection-token/README.md @@ -1,6 +1,6 @@ # InjectionToken -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/interop-rxjs-signal/README.md b/apps/angular/interop-rxjs-signal/README.md index d137b09..9cf32ef 100644 --- a/apps/angular/interop-rxjs-signal/README.md +++ b/apps/angular/interop-rxjs-signal/README.md @@ -1,6 +1,6 @@ # Interoperability Rxjs/Signal -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/module-to-standalone/README.md b/apps/angular/module-to-standalone/README.md index fbbade2..bd227b7 100644 --- a/apps/angular/module-to-standalone/README.md +++ b/apps/angular/module-to-standalone/README.md @@ -1,6 +1,6 @@ # Module to Standalone -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/ngfor-enhancement/README.md b/apps/angular/ngfor-enhancement/README.md index 0a849c0..937dfb5 100644 --- a/apps/angular/ngfor-enhancement/README.md +++ b/apps/angular/ngfor-enhancement/README.md @@ -1,6 +1,6 @@ # Directive Enhancement -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/permissions/README.md b/apps/angular/permissions/README.md index bf79187..99b2e55 100644 --- a/apps/angular/permissions/README.md +++ b/apps/angular/permissions/README.md @@ -1,6 +1,6 @@ # Structural Directive -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/pipe-easy/README.md b/apps/angular/pipe-easy/README.md index 350a0d5..8501be8 100644 --- a/apps/angular/pipe-easy/README.md +++ b/apps/angular/pipe-easy/README.md @@ -1,6 +1,6 @@ # Pure Pipe -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/pipe-hard/README.md b/apps/angular/pipe-hard/README.md index d86000e..ba801bd 100644 --- a/apps/angular/pipe-hard/README.md +++ b/apps/angular/pipe-hard/README.md @@ -1,6 +1,6 @@ # Utility Wrapper Pipe -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/pipe-intermediate/README.md b/apps/angular/pipe-intermediate/README.md index 78fa327..72809fd 100644 --- a/apps/angular/pipe-intermediate/README.md +++ b/apps/angular/pipe-intermediate/README.md @@ -1,6 +1,6 @@ # Wrap Function Pipe -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/projection/README.md b/apps/angular/projection/README.md index 4d89c98..781198e 100644 --- a/apps/angular/projection/README.md +++ b/apps/angular/projection/README.md @@ -1,6 +1,6 @@ # Projection -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/router-input/README.md b/apps/angular/router-input/README.md index c213e10..0aad6c3 100644 --- a/apps/angular/router-input/README.md +++ b/apps/angular/router-input/README.md @@ -1,6 +1,6 @@ # @RouterInput() -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/angular/styling/README.md b/apps/angular/styling/README.md index 760a772..d47efe3 100644 --- a/apps/angular/styling/README.md +++ b/apps/angular/styling/README.md @@ -1,6 +1,6 @@ # Highly Customizable CSS -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/ngrx/effect-selector/README.md b/apps/ngrx/effect-selector/README.md index 3f12862..b12a534 100644 --- a/apps/ngrx/effect-selector/README.md +++ b/apps/ngrx/effect-selector/README.md @@ -1,6 +1,6 @@ # Effect vs Selector -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/ngrx/notification/README.md b/apps/ngrx/notification/README.md index 136a30f..36acdab 100644 --- a/apps/ngrx/notification/README.md +++ b/apps/ngrx/notification/README.md @@ -1,6 +1,6 @@ # Power of Effect -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/performance/default-onpush/README.md b/apps/performance/default-onpush/README.md index 72b8090..29d7696 100644 --- a/apps/performance/default-onpush/README.md +++ b/apps/performance/default-onpush/README.md @@ -1,6 +1,6 @@ # Default vs OnPush -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/performance/memoized/README.md b/apps/performance/memoized/README.md index 94feadd..520efb1 100644 --- a/apps/performance/memoized/README.md +++ b/apps/performance/memoized/README.md @@ -1,6 +1,6 @@ # Memoization -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/performance/ngfor-biglist/README.md b/apps/performance/ngfor-biglist/README.md index 828f93e..4d164f0 100644 --- a/apps/performance/ngfor-biglist/README.md +++ b/apps/performance/ngfor-biglist/README.md @@ -1,6 +1,6 @@ # NgFor optimize big list -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/performance/ngfor-optimize/README.md b/apps/performance/ngfor-optimize/README.md index a26efa5..1e9b2f8 100644 --- a/apps/performance/ngfor-optimize/README.md +++ b/apps/performance/ngfor-optimize/README.md @@ -1,6 +1,6 @@ # NgFor Optimization -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/performance/scroll-cd/README.md b/apps/performance/scroll-cd/README.md index ef30c5c..dc0c313 100644 --- a/apps/performance/scroll-cd/README.md +++ b/apps/performance/scroll-cd/README.md @@ -1,6 +1,6 @@ # Optimize Change Detection -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/rxjs/pipe-bug/README.md b/apps/rxjs/pipe-bug/README.md index d66511b..cad896a 100644 --- a/apps/rxjs/pipe-bug/README.md +++ b/apps/rxjs/pipe-bug/README.md @@ -1,6 +1,6 @@ # High Order Operator Bug -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/rxjs/race-condition/README.md b/apps/rxjs/race-condition/README.md index 1c6b710..e9b6110 100644 --- a/apps/rxjs/race-condition/README.md +++ b/apps/rxjs/race-condition/README.md @@ -1,6 +1,6 @@ # Race Condition -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/testing/checkbox/README.md b/apps/testing/checkbox/README.md index c1c3db7..905db5f 100644 --- a/apps/testing/checkbox/README.md +++ b/apps/testing/checkbox/README.md @@ -1,6 +1,6 @@ # Checkbox -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/testing/create-harness/README.md b/apps/testing/create-harness/README.md index 4773835..600f340 100644 --- a/apps/testing/create-harness/README.md +++ b/apps/testing/create-harness/README.md @@ -1,6 +1,6 @@ # Harness Creation -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/testing/harness/README.md b/apps/testing/harness/README.md index 15d9b51..541da1a 100644 --- a/apps/testing/harness/README.md +++ b/apps/testing/harness/README.md @@ -1,6 +1,6 @@ # Harness -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/testing/input-output/README.md b/apps/testing/input-output/README.md index 127480a..59b5fff 100644 --- a/apps/testing/input-output/README.md +++ b/apps/testing/input-output/README.md @@ -1,6 +1,6 @@ # Input Output -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/testing/modal/README.md b/apps/testing/modal/README.md index 01cc159..08737d5 100644 --- a/apps/testing/modal/README.md +++ b/apps/testing/modal/README.md @@ -1,6 +1,6 @@ # Modal -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/testing/nested/README.md b/apps/testing/nested/README.md index 1b7fea6..8e1876a 100644 --- a/apps/testing/nested/README.md +++ b/apps/testing/nested/README.md @@ -1,6 +1,6 @@ # Nested Components -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/testing/router-outlet/README.md b/apps/testing/router-outlet/README.md index 71208a4..7749159 100644 --- a/apps/testing/router-outlet/README.md +++ b/apps/testing/router-outlet/README.md @@ -1,6 +1,6 @@ # Router -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/testing/table/README.md b/apps/testing/table/README.md index f5e232e..36451ff 100644 --- a/apps/testing/table/README.md +++ b/apps/testing/table/README.md @@ -1,6 +1,6 @@

Table testing

-> Author: Thomas Laforge +> author: thomas-laforge ## Statement: diff --git a/apps/testing/todos-list/README.md b/apps/testing/todos-list/README.md index 2adce88..37a8e93 100644 --- a/apps/testing/todos-list/README.md +++ b/apps/testing/todos-list/README.md @@ -1,6 +1,6 @@ # Real-life Application -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/apps/typescript/overload/README.md b/apps/typescript/overload/README.md index d181c0d..b4336af 100644 --- a/apps/typescript/overload/README.md +++ b/apps/typescript/overload/README.md @@ -1,6 +1,6 @@ # Function Overload -> Author: Thomas Laforge +> author: thomas-laforge ### Run Application diff --git a/docs/src/components/Author.astro b/docs/src/components/Author.astro new file mode 100644 index 0000000..65bf6cb --- /dev/null +++ b/docs/src/components/Author.astro @@ -0,0 +1,41 @@ +--- +import { Icon } from '@astrojs/starlight/components'; + +interface Props { + name: string; + twitter?: string; + linkedin?: string; + github?: string; +} + +const { name, twitter, linkedin, github } = Astro.props; + +--- + +

+ Created by {name} + {twitter && } + {linkedin && } + {github && } + +

+ + \ No newline at end of file diff --git a/docs/src/components/ChallengeFooter.astro b/docs/src/components/ChallengeFooter.astro index f73bcd0..d0a71ae 100644 --- a/docs/src/components/ChallengeFooter.astro +++ b/docs/src/components/ChallengeFooter.astro @@ -1,5 +1,7 @@ --- import VideoButton from './VideoButton.astro' +import ClipboardCopy from './ClipboardCopy.astro' + const {author, challengeNumber, title, blogLink, videoLink, command} = Astro.props.entry.data; @@ -7,14 +9,16 @@ const authorLink = `https://github.com/tomalaforge/angular-challenges/pulls?q=la const authorDescription = `${title} solution author`; const communityLink = `https://github.com/tomalaforge/angular-challenges/pulls?q=label%3A${challengeNumber}+label%3Aanswer`; const communityDescription = `${title} community solutions`; - +const npxCommand = `npx nx serve ${command}`; ---
-{command && +{npxCommand && +

Start the project by running: {npxCommand} + +

}