docs(docc): add github star

This commit is contained in:
thomas
2023-09-22 22:46:45 +02:00
parent 7d36bf6635
commit b44e738bfa
2 changed files with 20 additions and 0 deletions

View File

@@ -31,6 +31,16 @@ export default defineConfig({
autogenerate: { directory: 'challenges' }, autogenerate: { directory: 'challenges' },
}, },
], ],
head: [
{
tag: 'script',
attrs: {
src: 'https://buttons.github.io/buttons.js',
defer: true,
async: true,
},
},
],
}), }),
], ],
}); });

View File

@@ -8,3 +8,13 @@ sidebar:
:::note :::note
WIP: WIP:
::: :::
<a
class="github-button"
href="https://github.com/tomalaforge/angular-challenges"
data-color-scheme="no-preference: dark; light: light; dark: dark;"
data-size="large"
data-show-count="true"
aria-label="Star tomalaforgee/angular-challenges on GitHub">
Star
</a>