2021-09-06 08:20:40 +00:00
---
import Layout from '../layouts/MainLayout.astro';
2021-09-06 08:42:02 +00:00
import Card from '../components/Card.astro';
2021-09-06 08:20:40 +00:00
import {Markdown} from 'astro/components';
import themes from '../data/themes.json';
import components from '../data/components.json';
---
<style>
.card-grid {
display: grid;
grid-column-gap: 15px;
grid-row-gap: 15px;
grid-auto-flow: dense;
grid-template-columns: repeat(auto-fit,minmax(300px,1fr))
}
</style>
<Layout content={{title: 'Themes'}} hideRightSidebar>
<Markdown>
2021-09-07 05:49:23 +00:00
## Featured Theme
2021-09-06 08:20:40 +00:00
</Markdown>
<div class="card-grid">
{themes.community.map((item)=>(<Card data={item} />))}
</div>
<Markdown>
## Official Themes
2021-09-07 05:49:23 +00:00
Astro maintains several official themes for documentation sites, portfolios, and more.
2021-09-06 08:20:40 +00:00
</Markdown>
<div class="card-grid">
{themes.official.map((item)=>(<Card data={item} />))}
</div>
<Markdown>
## Featured Packages
2021-09-07 05:49:23 +00:00
Our package ecosystem is growing! Check out these featured community packages. Search the entire collection [on npm.](https://www.npmjs.com/search?q=keywords%3Aastro-component)
2021-09-06 08:20:40 +00:00
</Markdown>
<div class="card-grid">
{components.community.map((item)=>(<Card data={item} />))}
</div>
2021-09-07 18:39:36 +00:00
<Markdown>
> Want to see your own work featured? [Share it to Discord!](https://astro.build/chat)
We'll often take our favorites from the `#showcase` channel and post them here.
</Markdown>
2021-09-06 08:20:40 +00:00
</Layout>