Elige plantilla
-
@@ -17,18 +17,24 @@
- - + {#if template.description} + + {:else} + + {/if} + {/each}
diff --git a/src/lib/templates/templates.js b/src/lib/templates/templates.js index d548de4..ed9ab57 100644 --- a/src/lib/templates/templates.js +++ b/src/lib/templates/templates.js @@ -20,6 +20,7 @@ import { posits } from '$lib/templates/posits'; /** * @typedef {{ * name: string; +* description: string; * image: string; * heading: Element; * title: Element; diff --git a/src/lib/templates/verde.js b/src/lib/templates/verde.js index 569a9ec..9a77cf9 100644 --- a/src/lib/templates/verde.js +++ b/src/lib/templates/verde.js @@ -3,6 +3,14 @@ import '$lib/templates/templates' /** @type {import('$lib/templates/templates').Template} */ export const verde = { name: "verde", + description: `
Elige plantilla