blob: c60a9e05dd49ce06458cf9fc7bc7430e29a3203a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
---
import Layout from '../layouts/ExamplesLayout.astro'
import templateData from '../components/Examples/function-generate-examples-data.js'
import Card from '../components/Examples/Card.astro'
let data = await templateData()
---
<Layout content={data}>
{data.filter(item=> (item.pkgJSON?.keywords?.includes('create-astro')))
.sort((a,b)=> ((a.name === 'starter')? -1 : 1))
.map((item)=>(<Card data={item}/>))}
</Layout>
|