mirror of
https://github.com/LukeHagar/sveltesociety.dev.git
synced 2025-12-06 04:21:38 +00:00
21 lines
442 B
Svelte
21 lines
442 B
Svelte
<script lang="ts">
|
|
import templates from './templates.json';
|
|
import SearchableJson from '../searchableJson.svelte';
|
|
import { injectStars } from '$utils/stars';
|
|
|
|
const categoryId = {
|
|
Sapper: 'sapper',
|
|
Svelte: 'svelte',
|
|
'Svelte Add': 'adders',
|
|
SvelteKit: 'svelte-kit'
|
|
};
|
|
</script>
|
|
|
|
<SearchableJson
|
|
{categoryId}
|
|
data={injectStars(templates)}
|
|
displayTitle="Template"
|
|
displayTitleSingular="template"
|
|
submittingType="template"
|
|
/>
|