summaryrefslogtreecommitdiff
path: root/docs/src/pages/themes.astro
blob: c4eea3067f78dae5286a4bae921f85cd9e25b0b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
import Layout from '../layouts/MainLayout.astro';
import Card from '../components/Examples/Card.astro';
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>
        ## Featured Themes

        Astro is supported by a growing ecosystem of third-pary themes and components.
    </Markdown>
    <div class="card-grid">
    
        {themes.community.map((item)=>(<Card data={item} />))}
    </div>
    <Markdown>
        ## Official Themes

        Astro maintains several official themes for common use-cases like documentation, portfolios, and more.
    </Markdown>
    <div class="card-grid">
    
        {themes.official.map((item)=>(<Card data={item} />))}
    </div>
    <Markdown>
        ## Featured Packages
        
        Our package ecosystem is growing! Check out these featured community packages.
    </Markdown>
    <div class="card-grid">
    
        {components.community.map((item)=>(<Card data={item} />))}
    </div>
</Layout>