summaryrefslogtreecommitdiff
path: root/docs/src/pages/themes.astro
diff options
context:
space:
mode:
authorGravatar Mark Teekman <markteekman@users.noreply.github.com> 2021-10-13 22:22:00 +0200
committerGravatar GitHub <noreply@github.com> 2021-10-13 16:22:00 -0400
commit8c308a14907c0e995274a6cd634ca36cbf26e610 (patch)
tree4bd857ec94f0af250cc88d1b7ac12fed593ccb5c /docs/src/pages/themes.astro
parent3aafb58d60afe03f2c4fef036452451fb3f399da (diff)
downloadastro-8c308a14907c0e995274a6cd634ca36cbf26e610.tar.gz
astro-8c308a14907c0e995274a6cd634ca36cbf26e610.tar.zst
astro-8c308a14907c0e995274a6cd634ca36cbf26e610.zip
Add Community Themes and separate Featured Theme (#1543)
* Separate object for featured and community themes I've split up the two so there's the featured one at the top at the page and community ones below the official themes * Add community themes and change featured themes * Add comma after featured object
Diffstat (limited to '')
-rw-r--r--docs/src/pages/themes.astro12
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/src/pages/themes.astro b/docs/src/pages/themes.astro
index 3677988dd..3bcc1df48 100644
--- a/docs/src/pages/themes.astro
+++ b/docs/src/pages/themes.astro
@@ -19,7 +19,7 @@ import components from '../data/components.json';
## Featured Theme
</Markdown>
<div class="card-grid">
- {themes.community.map((item)=>(<Card data={item} />))}
+ {themes.featured.map((item)=>(<Card data={item} />))}
</div>
<Markdown>
## Official Themes
@@ -30,6 +30,14 @@ import components from '../data/components.json';
{themes.official.map((item)=>(<Card data={item} />))}
</div>
<Markdown>
+ ## Community Themes
+
+ Checkout some themes developed by our community!
+ </Markdown>
+ <div class="card-grid">
+ {themes.community.map((item)=>(<Card data={item} />))}
+ </div>
+ <Markdown>
## Featured Packages
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)
@@ -41,4 +49,4 @@ import components from '../data/components.json';
> 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>
-</Layout> \ No newline at end of file
+</Layout>