docs(docs): update docs

This commit is contained in:
thomas
2023-09-20 09:54:20 +02:00
parent c05629b6e4
commit f7c100cb16
41 changed files with 21 additions and 309 deletions

View File

@@ -29,315 +29,6 @@ export default defineConfig({
{
label: 'Challenges',
autogenerate: { directory: 'challenges' },
// items: [
// {
// label: 'Angular',
// items: [
// {
// label: 'Projection',
// link: '/challenges/angular/projection',
// badge: {
// text: 'E',
// variant: 'success',
// },
// },
// {
// label: 'Directive enhancement',
// link: '/challenges/angular/directive-enhancement',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// {
// label: 'ContextOutlet Typing',
// link: '/challenges/angular/context-outlet-typing',
// badge: {
// text: 'H',
// variant: 'danger',
// },
// },
// {
// label: 'CRUD',
// link: '/challenges/angular/crud',
// badge: {
// text: 'E',
// variant: 'success',
// },
// },
// {
// label: 'Permissions',
// link: '/challenges/angular/permissions',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// {
// label: 'Simple Pure Pipe',
// link: '/challenges/angular/pipe-pure',
// badge: {
// text: 'E',
// variant: 'success',
// },
// },
// {
// label: 'WrapFn Pipe',
// link: '/challenges/angular/pipe-wrapFn',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// {
// label: 'Utility Pipe',
// link: '/challenges/angular/pipe-utility',
// badge: {
// text: 'H',
// variant: 'danger',
// },
// },
// {
// label: 'Change Dectection - scroll',
// link: '/challenges/angular/scroll-cd',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// {
// label: 'Styling',
// link: '/challenges/angular/styling',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// {
// label: 'Dependancy Injection',
// link: '/challenges/angular/di',
// badge: {
// text: 'H',
// variant: 'danger',
// },
// },
// {
// label: 'Anchor Scrolling',
// link: '/challenges/angular/anchor-scrolling',
// badge: {
// text: 'E',
// variant: 'success',
// },
// },
// {
// label: 'Router Input',
// link: '/challenges/angular/router-input',
// badge: {
// text: 'E',
// variant: 'success',
// },
// },
// {
// label: 'Interop Rxjs Signal',
// link: '/challenges/angular/interop-rxjs-signal',
// badge: {
// text: 'H',
// variant: 'danger',
// },
// },
// {
// label: 'Module to Standalone',
// link: '/challenges/angular/modaule-to-standalone',
// badge: {
// text: 'E',
// variant: 'success',
// },
// },
// {
// label: 'Bug - Change Detection',
// link: '/challenges/angular/bug-cd',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// {
// label: "Component's Decoupling",
// link: '/challenges/angular/decoupling',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// ],
// },
// {
// label: 'Angular - Performance',
// items: [
// {
// label: 'Default vs OnPush',
// link: '/challenges/angular-performance/default-onpush',
// badge: {
// text: 'E',
// variant: 'success',
// },
// },
// ],
// },
// {
// label: 'Testing',
// items: [
// {
// label: 'Router',
// link: '/challenges/testing/router',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// {
// label: 'Nested Component',
// link: '/challenges/testing/nested-comp',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// {
// label: 'Input Output',
// link: '/challenges/testing/input-output',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// {
// label: 'Modal',
// link: '/challenges/testing/modal',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// {
// label: 'harness',
// link: '/challenges/testing/harness',
// badge: {
// text: 'E',
// variant: 'success',
// },
// },
// {
// label: 'Harness Creation',
// link: '/challenges/testing/harness-creation',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// {
// label: 'Checkbox',
// link: '/challenges/testing/checkbox',
// badge: {
// text: 'E',
// variant: 'success',
// },
// },
// {
// label: 'Reallife Application',
// link: '/challenges/testing/real-application',
// badge: {
// text: 'H',
// variant: 'danger',
// },
// },
// ],
// },
// {
// label: 'RxJs',
// items: [
// {
// label: 'Bug - Chaining Operators',
// link: '/challenges/rxjs/bug-chaining-operator',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// {
// label: 'Race Condition',
// link: '/challenges/rxjs/race-condition',
// badge: {
// text: 'E',
// variant: 'success',
// },
// },
// ],
// },
// {
// label: 'Nx',
// items: [
// {
// label: 'Extending Library Generator',
// link: '/challenges/nx/generator-lib-ext',
// badge: {
// text: 'H',
// variant: 'danger',
// },
// },
// {
// label: 'Component Generator',
// link: '/challenges/nx/generator-comp',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// {
// label: 'Custom Eslint Rule',
// link: '/challenges/nx/forbid-enum-rule',
// badge: {
// text: 'E',
// variant: 'success',
// },
// },
// ],
// },
// {
// label: 'NgRx',
// items: [
// {
// label: 'Effect vs Selector',
// link: '/challenges/ngrx/effect-selector',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// {
// label: 'Power of Effects',
// link: '/challenges/ngrx/power-effect',
// badge: {
// text: 'H',
// variant: 'danger',
// },
// },
// ],
// },
// {
// label: 'Typescript',
// items: [
// {
// label: 'Function Overload',
// link: '/challenges/typescript/overload-fn',
// badge: {
// text: 'M',
// variant: 'caution',
// },
// },
// ],
// },
// ],
},
],
}),

View File

@@ -0,0 +1,6 @@
---
title: Checkout Answer
description: Guide to checkout the answer of someone else
sidebar:
order: 3
---

View File

@@ -1,4 +1,6 @@
---
title: Contribute
description: Guide to contribute
sidebar:
order: 4
---

View File

@@ -1,6 +1,8 @@
---
title: Getting Started
description: A guide on how to get started with Angular Challenges.
sidebar:
order: 1
---
To get started with **Angular Challenges**, follow the step:

View File

@@ -1,6 +1,8 @@
---
title: Resolve a Challenge
description: Guide to resolve a challenge
sidebar:
order: 2
---
In this guide, you will learn how to resolve a challenge and submit an answer to the main Github repository.

View File

@@ -38,4 +38,8 @@ import { Card, CardGrid } from '@astrojs/starlight/components';
You have an issue, an interesing bug, an idea. Don't waste any time and
create your own challenges.
</Card>
<Card title="Prepare yourself for interview">
Doing those challenges will get you ready for any technical challenges for a
frontend role.
</Card>
</CardGrid>

View File

@@ -2,6 +2,7 @@
--sl-color-black: #1b1b1d;
--sl-color-gray-6: #242526;
--sl-color-accent-high: #f10023;
/* --sl-color-black: white; */
--sl-icon-color: #fff;
--sl-color-text-invert: #fff;
--primary-color: var(--sl-color-bg-nav) !important;
@@ -17,3 +18,7 @@
background-color: rgb(35, 134, 54);
color: white;
}
a.primary {
color: #fff !important;
}