diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 74984f3..b14ac6c 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -50,6 +50,7 @@ export default defineConfig({ MarkdownContent: './src/components/Content.astro', TableOfContents: './src/components/TableOfContents.astro', PageTitle: './src/components/PageTitle.astro', + MobileMenuFooter: './src/components/MobileMenuFooter.astro', }, }), ], diff --git a/docs/src/components/ActionButtonFooter.astro b/docs/src/components/ActionButtonFooter.astro new file mode 100644 index 0000000..3110f89 --- /dev/null +++ b/docs/src/components/ActionButtonFooter.astro @@ -0,0 +1,48 @@ +--- +import { Icon } from '@astrojs/starlight/components'; +import MyIcon from './MyIcon.astro'; + +--- + + + + \ No newline at end of file diff --git a/docs/src/components/MobileMenuFooter.astro b/docs/src/components/MobileMenuFooter.astro new file mode 100644 index 0000000..2d6e9ba --- /dev/null +++ b/docs/src/components/MobileMenuFooter.astro @@ -0,0 +1,9 @@ +--- +import Default from '@astrojs/starlight/components/MobileMenuFooter.astro'; +import ActionButtonFooter from './ActionButtonFooter.astro'; + +--- + + + + \ No newline at end of file diff --git a/docs/src/components/TableOfContents.astro b/docs/src/components/TableOfContents.astro index b3513e1..13af9e4 100644 --- a/docs/src/components/TableOfContents.astro +++ b/docs/src/components/TableOfContents.astro @@ -1,45 +1,9 @@ --- -import { Icon } from '@astrojs/starlight/components'; import Default from '@astrojs/starlight/components/TableOfContents.astro'; -import MyIcon from './MyIcon.astro'; +import ActionButtonFooter from './ActionButtonFooter.astro'; --- - - - - \ No newline at end of file + diff --git a/docs/src/content/docs/guides/resolve-challenge.md b/docs/src/content/docs/guides/resolve-challenge.md index 9570a7b..b161621 100644 --- a/docs/src/content/docs/guides/resolve-challenge.md +++ b/docs/src/content/docs/guides/resolve-challenge.md @@ -80,7 +80,9 @@ In the description section, you can add questions, troubles you encountered, or You can now click on Create pull request. -I will read and comment on it when I have some free time. +I will read and comment on it when I have some free time. + +

Don't worry if your answer is not reviewed immediatly. I'm doing it for free and during my free time. If you want to support me, you can do so by sponsoring me on github. It will validate that my work is of great help for you or your team.

:::note Everyone is welcome to comment and read other PRs. diff --git a/docs/src/content/docs/index.mdx b/docs/src/content/docs/index.mdx index 436245c..1cc653a 100644 --- a/docs/src/content/docs/index.mdx +++ b/docs/src/content/docs/index.mdx @@ -3,6 +3,8 @@ title: Welcome to Angular Challenges description: Get started by resolving those challenges and becoming a better Angular FrontEnd engineer. template: splash noCommentSection: true +banner: + content: I will have less free time in the next two months, so don't worry if your pull requests take some time to be reviewed. hero: tagline: Start now and become an Angular Expert! image: @@ -51,7 +53,12 @@ import MyIcon from '../../components/MyIcon.astro'; - Completing these challenges will prepare you for any technical challenges you may encounter in a frontend role during interviews. + Completing these challenges will prepare you for any technical challenges you + may encounter in a frontend role during interviews. + + + + This project is free and aims to remain so for as long as possible. However, everything is accomplished during my free time, including creating challenges and reviewing pull requests (PRs). Sponsorship can support me and contribute to the growth of the project. diff --git a/docs/src/styles/custom-css.css b/docs/src/styles/custom-css.css index 9faabe1..35a4be9 100644 --- a/docs/src/styles/custom-css.css +++ b/docs/src/styles/custom-css.css @@ -84,7 +84,7 @@ a.primary > svg { } b { - color: var(--sl-color-accent-high); + color: var(--sl-color-accent-high) !important; } .starlight-aside--tip b { @@ -124,3 +124,31 @@ starlight-menu-button svg { flex-direction: column; justify-content: space-between; } + +.important-block { + border: solid 1px red; + padding: 16px; + background-color: #f100002e; +} + +.starlight-aside--note, +.starlight-aside--tip { + background-color: transparent; + border: solid 1px gray; + color: var(--sl-color-text); +} + +.starlight-aside--note .starlight-aside__title, +.starlight-aside--tip .starlight-aside__title { + color: white; +} + +.starlight-aside--danger { + background-color: #f100002e; + border: solid 1px red; + color: var(--sl-color-text); +} + +.starlight-aside--danger .starlight-aside__title { + color: red; +}