From b1083c934e5127032e64f565de78fc650a8dea1c Mon Sep 17 00:00:00 2001 From: Borja Robert Date: Sun, 2 Oct 2022 01:39:09 +0200 Subject: [PATCH] pruebas locas --- src/lib/preview/Preview.svelte | 5 ++++- src/lib/templates/heading.svelte | 15 +++++++++++++++ src/lib/templates/templates.js | 16 ++++++++++++++-- src/lib/templates/verde.js | 11 +++++++++++ 4 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 src/lib/templates/heading.svelte diff --git a/src/lib/preview/Preview.svelte b/src/lib/preview/Preview.svelte index c8b0e53..424992f 100644 --- a/src/lib/preview/Preview.svelte +++ b/src/lib/preview/Preview.svelte @@ -1,5 +1,7 @@ + +
+ +
+ + + diff --git a/src/lib/templates/templates.js b/src/lib/templates/templates.js index 675482b..289d461 100644 --- a/src/lib/templates/templates.js +++ b/src/lib/templates/templates.js @@ -1,6 +1,18 @@ import { verde } from '$lib/templates/verde'; + /** -* @type {Array} -*/ + * @typedef {{ + * name: string; + * heading: Object; + * title: string; + * subtitle: string; + * datetime: string; + * weekday: string; + * content: string; + * address: string; + * }} Template + */ + +/** @type Array