mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-11 21:33:02 -05:00
feat(docs): setup all docs
This commit is contained in:
BIN
docs/src/assets/angular-challenge.webp
Normal file
BIN
docs/src/assets/angular-challenge.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 96 KiB |
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/angular/bug-cd.md
Normal file
4
docs/src/content/docs/challenges/angular/bug-cd.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/angular/crud.md
Normal file
4
docs/src/content/docs/challenges/angular/crud.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/angular/decoupling.md
Normal file
4
docs/src/content/docs/challenges/angular/decoupling.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/angular/di.md
Normal file
4
docs/src/content/docs/challenges/angular/di.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/angular/permissions.md
Normal file
4
docs/src/content/docs/challenges/angular/permissions.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/angular/pipe-pure.md
Normal file
4
docs/src/content/docs/challenges/angular/pipe-pure.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/angular/pipe-utility.md
Normal file
4
docs/src/content/docs/challenges/angular/pipe-utility.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/angular/pipe-wrapFn.md
Normal file
4
docs/src/content/docs/challenges/angular/pipe-wrapFn.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
52
docs/src/content/docs/challenges/angular/projection.md
Normal file
52
docs/src/content/docs/challenges/angular/projection.md
Normal file
@@ -0,0 +1,52 @@
|
||||
---
|
||||
title: Projection
|
||||
description: angular-challenge-1/projection
|
||||
---
|
||||
|
||||
#1 - <span class="sl-badge success astro-vohx2lp7">Easy</span>
|
||||
|
||||
## Statement
|
||||
|
||||
Refactor this working exemple of a dasboard containing multiple cards (teachers, students, ...)
|
||||
Implement the City card.
|
||||
|
||||
## Constraints:
|
||||
|
||||
- You **must** keep **CardComponent** and **ListItemComponent**
|
||||
- **NgFor** directive must be declare and stay inside **CardComponent**
|
||||
- No **NgIf** or **NgSwitch** inside **CardComponent**
|
||||
- CSS: prefer not to use **::ng-deep**, find a better way
|
||||
|
||||
## Submitting your work
|
||||
|
||||
1. Fork the project
|
||||
2. clone it
|
||||
3. npm ci
|
||||
4. **nx serve projection**
|
||||
5. _...work on it_
|
||||
6. Commit your work
|
||||
7. Submit a PR with a title beginning with **Answer:1** that I will review and other dev can review.
|
||||
|
||||
<a href="https://github.com/tomalaforge/angular-challenges/pulls?q=label%3A1+label%3Aanswer">
|
||||
<img
|
||||
src="https://img.shields.io/badge/-Solutions-green"
|
||||
alt="Projection solution"
|
||||
/>
|
||||
</a>
|
||||
<a href='https://github.com/tomalaforge/angular-challenges/pulls?q=label%3A1+label%3A"answer+author"'>
|
||||
<img
|
||||
src="https://img.shields.io/badge/-Author solution-important"
|
||||
alt="Projection solution author"
|
||||
/>
|
||||
</a>
|
||||
<a
|
||||
href="https://medium.com/@thomas.laforge/create-a-highly-customizable-component-cc3a9805e4c5"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">
|
||||
<img
|
||||
src="https://img.shields.io/badge/-Blog post explanation-blue"
|
||||
alt="Projection blog article"
|
||||
/>
|
||||
</a>
|
||||
|
||||
_You can ask any question on_ <a href="https://twitter.com/laforge_toma" target="_blank" rel="noopener noreferrer"><img src="./../../logo/twitter.svg" height=20px alt="twitter"/></a>
|
||||
4
docs/src/content/docs/challenges/angular/router-input.md
Normal file
4
docs/src/content/docs/challenges/angular/router-input.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/angular/scroll-cd.md
Normal file
4
docs/src/content/docs/challenges/angular/scroll-cd.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/angular/styling.md
Normal file
4
docs/src/content/docs/challenges/angular/styling.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/ngrx/effect-selector.md
Normal file
4
docs/src/content/docs/challenges/ngrx/effect-selector.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/ngrx/power-effect.md
Normal file
4
docs/src/content/docs/challenges/ngrx/power-effect.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/nx/forbid-enum-rule.md
Normal file
4
docs/src/content/docs/challenges/nx/forbid-enum-rule.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/nx/generator-comp.md
Normal file
4
docs/src/content/docs/challenges/nx/generator-comp.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/nx/generator-lib-ext.md
Normal file
4
docs/src/content/docs/challenges/nx/generator-lib-ext.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/rxjs/race-condition.md
Normal file
4
docs/src/content/docs/challenges/rxjs/race-condition.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/testing/checkbox.md
Normal file
4
docs/src/content/docs/challenges/testing/checkbox.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/testing/harness.md
Normal file
4
docs/src/content/docs/challenges/testing/harness.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/testing/input-output.md
Normal file
4
docs/src/content/docs/challenges/testing/input-output.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/testing/modal.md
Normal file
4
docs/src/content/docs/challenges/testing/modal.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/testing/nested-comp.md
Normal file
4
docs/src/content/docs/challenges/testing/nested-comp.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/challenges/testing/router.md
Normal file
4
docs/src/content/docs/challenges/testing/router.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Example Guide
|
||||
description: A guide in my new Starlight docs site.
|
||||
title: Getting Started
|
||||
description: A guide on how to get started with Angular Challenges.
|
||||
---
|
||||
|
||||
Guides lead a user through a specific task they want to accomplish, often with a sequence of steps.
|
||||
4
docs/src/content/docs/guides/submit-answer.md
Normal file
4
docs/src/content/docs/guides/submit-answer.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Submit your answer
|
||||
description: Guide to submit an answer
|
||||
---
|
||||
4
docs/src/content/docs/guides/x-contribute.md
Normal file
4
docs/src/content/docs/guides/x-contribute.md
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
title: Contribute
|
||||
description: Guide to contribute
|
||||
---
|
||||
@@ -1,14 +1,14 @@
|
||||
---
|
||||
title: Welcome to Starlight
|
||||
description: Get started building your docs site with Starlight.
|
||||
title: Welcome to Angular Challenges
|
||||
description: Get started by resolving those challenges and becoming a better Angular FrontEnd engineer.
|
||||
template: splash
|
||||
hero:
|
||||
tagline: Congrats on setting up a new Starlight project!
|
||||
image:
|
||||
file: ../../assets/houston.webp
|
||||
file: ../../assets/angular-challenge.webp
|
||||
actions:
|
||||
- text: Example Guide
|
||||
link: /guides/example/
|
||||
- text: Get Started
|
||||
link: /guides/getting-started/
|
||||
icon: right-arrow
|
||||
variant: primary
|
||||
- text: Read the Starlight docs
|
||||
@@ -21,16 +21,16 @@ import { Card, CardGrid } from '@astrojs/starlight/components';
|
||||
## Next steps
|
||||
|
||||
<CardGrid stagger>
|
||||
<Card title="Update content" icon="pencil">
|
||||
Edit `src/content/docs/index.mdx` to see this page change.
|
||||
</Card>
|
||||
<Card title="Add new content" icon="add-document">
|
||||
Add Markdown or MDX files to `src/content/docs` to create new pages.
|
||||
</Card>
|
||||
<Card title="Configure your site" icon="setting">
|
||||
Edit your `sidebar` and other config in `astro.config.mjs`.
|
||||
</Card>
|
||||
<Card title="Read the docs" icon="open-book">
|
||||
Learn more in [the Starlight Docs](https://starlight.astro.build/).
|
||||
</Card>
|
||||
<Card title="Update content" icon="pencil">
|
||||
Edit `src/content/docs/index.mdx` to see this page change.
|
||||
</Card>
|
||||
<Card title="Add new content" icon="add-document">
|
||||
Add Markdown or MDX files to `src/content/docs` to create new pages.
|
||||
</Card>
|
||||
<Card title="Configure your site" icon="setting">
|
||||
Edit your `sidebar` and other config in `astro.config.mjs`.
|
||||
</Card>
|
||||
<Card title="Read the docs" icon="open-book">
|
||||
Learn more in [the Starlight Docs](https://starlight.astro.build/).
|
||||
</Card>
|
||||
</CardGrid>
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
---
|
||||
title: Example Reference
|
||||
description: A reference page in my new Starlight docs site.
|
||||
---
|
||||
|
||||
Reference pages are ideal for outlining how things work in terse and clear terms.
|
||||
Less concerned with telling a story or addressing a specific use case, they should give a comprehensive outline of what your documenting.
|
||||
|
||||
## Further reading
|
||||
|
||||
- Read [about reference](https://diataxis.fr/reference/) in the Diátaxis framework
|
||||
Reference in New Issue
Block a user