mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-11 13:23:02 -05:00
feat(doc): add comment section
This commit is contained in:
31
docs/src/components/TableOfContents.astro
Normal file
31
docs/src/components/TableOfContents.astro
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
import Default from '@astrojs/starlight/components/TableOfContents.astro';
|
||||
import { Icon } from '@astrojs/starlight/components';
|
||||
|
||||
---
|
||||
|
||||
<Default {...Astro.props}><slot /></Default>
|
||||
|
||||
|
||||
<a class="action-button" href='https://github.com/tomalaforge/angular-challenges'>
|
||||
<div>Give a star</div>
|
||||
<Icon name='github' size="1.5rem" />
|
||||
</a>
|
||||
|
||||
<style>
|
||||
.action-button {
|
||||
display: flex!important;
|
||||
justify-content: center;
|
||||
width: fit-content;
|
||||
gap: 0.5em;
|
||||
align-items: center;
|
||||
border-radius: 999rem;
|
||||
color: var(--sl-color-white)!important;
|
||||
line-height: 1.1875;
|
||||
text-decoration: none;
|
||||
font-size: var(--sl-text-sm)!important;
|
||||
border: 1px solid;
|
||||
font-size: var(--sl-text-base);
|
||||
padding: 0.5rem 0.8rem;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user