feat(index): added Discord card

This commit is contained in:
Ethan Holz
2023-11-05 19:49:26 -06:00
parent 06519d28af
commit ec1c60e79e
3 changed files with 24 additions and 11 deletions

View File

@@ -114,7 +114,7 @@ export default defineConfig({
components: { components: {
Footer: './src/components/AdatomicFooter.astro', Footer: './src/components/AdatomicFooter.astro',
}, },
customCss: ['./src/tailwind.css'], customCss: ['./src/tailwind.css', './src/custom.css'],
defaultLocale: 'root', defaultLocale: 'root',
locales: { locales: {
root: { root: {

View File

@@ -16,18 +16,26 @@ hero:
icon: github icon: github
--- ---
import { Card, CardGrid } from '@astrojs/starlight/components'; import { Card, CardGrid } from '@astrojs/starlight/components'
## Next steps ## Next steps
<CardGrid stagger> <CardGrid stagger>
<Card title="Install grlx with our Getting Started" icon="laptop"> <Card title="Install grlx with our Getting Started" icon="laptop">
Check out our [Getting Started](/getting-started) started page on how to install `grlx` Check out our [Getting Started](/getting-started) started page on how to
</Card> install grlx
<Card title="Learn about ingredient components" icon="setting"> </Card>
Check out our [ingredients](/ingredients/overview) to learn more about how to configure your fleet <Card title="Learn about ingredient components" icon="setting">
</Card> Check out our [ingredients](/ingredients/overview) to learn more about how
<Card title="Read the docs" icon="open-book"> to configure your fleet
Learn more in [the grlx Docs](/getting-started) </Card>
</Card> <Card title="Read the docs" icon="open-book" class="open-book">
Learn more in [the grlx Docs](/getting-started)
</Card>
<div class="discord-bg">
<Card title="Join our Discord" icon="discord" class="discord">
Join our [Discord](https://discord.gg/RNsZ3KWjXm) for learning more about
grlx
</Card>
</div>
</CardGrid> </CardGrid>

5
src/custom.css Normal file
View File

@@ -0,0 +1,5 @@
.discord-bg .card .icon{
background-color: #7289da;
--sl-card-border: #454FBF !important;
}