From d9de62d43d8dd7196604884112d0357c94b622a9 Mon Sep 17 00:00:00 2001 From: Borja Robert Date: Fri, 23 Dec 2022 13:23:35 +0100 Subject: [PATCH] =?UTF-8?q?a=C3=B1ade=20imagenes=20y=20plantillas=20js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/templates/acuarela.js | 117 ++++++++++++++++++++++++++++ src/lib/templates/amarillo.js | 117 ++++++++++++++++++++++++++++ src/lib/templates/curvas_azul.js | 117 ++++++++++++++++++++++++++++ src/lib/templates/diente_de_leon.js | 0 src/lib/templates/marroncito.js | 0 src/lib/templates/pajaros_papel.js | 0 src/lib/templates/sanitarios.js | 0 7 files changed, 351 insertions(+) create mode 100644 src/lib/templates/acuarela.js create mode 100644 src/lib/templates/amarillo.js create mode 100644 src/lib/templates/curvas_azul.js create mode 100644 src/lib/templates/diente_de_leon.js create mode 100644 src/lib/templates/marroncito.js create mode 100644 src/lib/templates/pajaros_papel.js create mode 100644 src/lib/templates/sanitarios.js diff --git a/src/lib/templates/acuarela.js b/src/lib/templates/acuarela.js new file mode 100644 index 0000000..89fc25d --- /dev/null +++ b/src/lib/templates/acuarela.js @@ -0,0 +1,117 @@ +import '$lib/templates/templates' + +/** @type {import('$lib/templates/templates').Template} */ +export const acuarela = { + name: "acuarela", + description: "Acuarela", + image: "acuarela.png", + heading: { + top: 20, + height: 32, + left: 20, + right: 350, + fontSize: 18, + color: "white", + fontFamily: "'Alegreya Sans SC', sans-serif", + lineHeight: 36, + textAlign: "left", + fontWeight: 400 + }, + title: { + top: 58, + height: 120, + left: 8, + right: 8, + fontSize: 35, + color: "white", + fontFamily: "'Alegreya Sans SC', sans-serif", + lineHeight: 28, + textAlign: "center", + fontWeight: 500 + + }, + subtitle: { + top: 160, + height: 48, + left: 8, + right: 8, + fontSize: 25, + color: "white", + fontFamily: "'Alegreya Sans SC', sans-serif", + lineHeight: 48, + textAlign: "center", + fontWeight: 300 + }, + content: { + top: 480, + height: 8.5, + left: 1.5, + right: 17, + fontSize: 0, + color: "#222", + fontFamily: "sans-serif", + lineHeight: 1.1, + textAlign: "left", + fontWeight: 700 + }, + date: { + top: 540, + height: 32, + left: 128, + right: 8, + fontSize: 32, + color: "#fff", + fontFamily: "'Arial', sans-serif", + lineHeight: 32, + textAlign: "left", + fontWeight: 700 + }, + time: { + top: 600, + height: 32, + left: 128, + right: 8, + fontSize: 32, + color: "#fff", + fontFamily: "'Arial', sans-serif", + lineHeight: 32, + textAlign: "left", + fontWeight: 700 + }, + weekday: { + top: 8, + height: 32, + left: 8, + right: 80, + fontSize: 0, + color: "#fff", + fontFamily: "sans-serif", + lineHeight: 1.8, + textAlign: "left", + fontWeight: 700 + }, + address: { + top: 650, + height: 48, + left: 128, + right: 8, + fontSize: 18, + color: "white", + fontFamily: "'Alegreya Sans SC', sans-serif", + lineHeight: 20, + textAlign: "left", + fontWeight: 400 + }, + city: { + top: 20, + height: 32, + left: 240, + right: 20, + fontSize: 18, + color: "white", + fontFamily: "'Alegreya Sans SC', sans-serif", + lineHeight: 36, + textAlign: "right", + fontWeight: 500 + }, +} diff --git a/src/lib/templates/amarillo.js b/src/lib/templates/amarillo.js new file mode 100644 index 0000000..c841372 --- /dev/null +++ b/src/lib/templates/amarillo.js @@ -0,0 +1,117 @@ +import '$lib/templates/templates' + +/** @type {import('$lib/templates/templates').Template} */ +export const amarillo = { + name: "amarillo", + description: "amarillo", + image: "amarillo.png", + heading: { + top: 20, + height: 32, + left: 20, + right: 350, + fontSize: 18, + color: "white", + fontFamily: "'Alegreya Sans SC', sans-serif", + lineHeight: 36, + textAlign: "left", + fontWeight: 400 + }, + title: { + top: 58, + height: 120, + left: 8, + right: 8, + fontSize: 35, + color: "white", + fontFamily: "'Alegreya Sans SC', sans-serif", + lineHeight: 28, + textAlign: "center", + fontWeight: 500 + + }, + subtitle: { + top: 160, + height: 48, + left: 8, + right: 8, + fontSize: 25, + color: "white", + fontFamily: "'Alegreya Sans SC', sans-serif", + lineHeight: 48, + textAlign: "center", + fontWeight: 300 + }, + content: { + top: 480, + height: 8.5, + left: 1.5, + right: 17, + fontSize: 0, + color: "#222", + fontFamily: "sans-serif", + lineHeight: 1.1, + textAlign: "left", + fontWeight: 700 + }, + date: { + top: 540, + height: 32, + left: 128, + right: 8, + fontSize: 32, + color: "#fff", + fontFamily: "'Arial', sans-serif", + lineHeight: 32, + textAlign: "left", + fontWeight: 700 + }, + time: { + top: 600, + height: 32, + left: 128, + right: 8, + fontSize: 32, + color: "#fff", + fontFamily: "'Arial', sans-serif", + lineHeight: 32, + textAlign: "left", + fontWeight: 700 + }, + weekday: { + top: 8, + height: 32, + left: 8, + right: 80, + fontSize: 0, + color: "#fff", + fontFamily: "sans-serif", + lineHeight: 1.8, + textAlign: "left", + fontWeight: 700 + }, + address: { + top: 650, + height: 48, + left: 128, + right: 8, + fontSize: 18, + color: "white", + fontFamily: "'Alegreya Sans SC', sans-serif", + lineHeight: 20, + textAlign: "left", + fontWeight: 400 + }, + city: { + top: 20, + height: 32, + left: 240, + right: 20, + fontSize: 18, + color: "white", + fontFamily: "'Alegreya Sans SC', sans-serif", + lineHeight: 36, + textAlign: "right", + fontWeight: 500 + }, +} diff --git a/src/lib/templates/curvas_azul.js b/src/lib/templates/curvas_azul.js new file mode 100644 index 0000000..174f8c5 --- /dev/null +++ b/src/lib/templates/curvas_azul.js @@ -0,0 +1,117 @@ +import '$lib/templates/templates' + +/** @type {import('$lib/templates/templates').Template} */ +export const curvas_azul = { + name: "Curvas azul", + description: "Curvas azul", + image: "curvas_azul.png", + heading: { + top: 20, + height: 32, + left: 20, + right: 350, + fontSize: 18, + color: "white", + fontFamily: "'Alegreya Sans SC', sans-serif", + lineHeight: 36, + textAlign: "left", + fontWeight: 400 + }, + title: { + top: 58, + height: 120, + left: 8, + right: 8, + fontSize: 35, + color: "white", + fontFamily: "'Alegreya Sans SC', sans-serif", + lineHeight: 28, + textAlign: "center", + fontWeight: 500 + + }, + subtitle: { + top: 160, + height: 48, + left: 8, + right: 8, + fontSize: 25, + color: "white", + fontFamily: "'Alegreya Sans SC', sans-serif", + lineHeight: 48, + textAlign: "center", + fontWeight: 300 + }, + content: { + top: 480, + height: 8.5, + left: 1.5, + right: 17, + fontSize: 0, + color: "#222", + fontFamily: "sans-serif", + lineHeight: 1.1, + textAlign: "left", + fontWeight: 700 + }, + date: { + top: 540, + height: 32, + left: 128, + right: 8, + fontSize: 32, + color: "#fff", + fontFamily: "'Arial', sans-serif", + lineHeight: 32, + textAlign: "left", + fontWeight: 700 + }, + time: { + top: 600, + height: 32, + left: 128, + right: 8, + fontSize: 32, + color: "#fff", + fontFamily: "'Arial', sans-serif", + lineHeight: 32, + textAlign: "left", + fontWeight: 700 + }, + weekday: { + top: 8, + height: 32, + left: 8, + right: 80, + fontSize: 0, + color: "#fff", + fontFamily: "sans-serif", + lineHeight: 1.8, + textAlign: "left", + fontWeight: 700 + }, + address: { + top: 650, + height: 48, + left: 128, + right: 8, + fontSize: 18, + color: "white", + fontFamily: "'Alegreya Sans SC', sans-serif", + lineHeight: 20, + textAlign: "left", + fontWeight: 400 + }, + city: { + top: 20, + height: 32, + left: 240, + right: 20, + fontSize: 18, + color: "white", + fontFamily: "'Alegreya Sans SC', sans-serif", + lineHeight: 36, + textAlign: "right", + fontWeight: 500 + }, +} diff --git a/src/lib/templates/diente_de_leon.js b/src/lib/templates/diente_de_leon.js new file mode 100644 index 0000000..e69de29 diff --git a/src/lib/templates/marroncito.js b/src/lib/templates/marroncito.js new file mode 100644 index 0000000..e69de29 diff --git a/src/lib/templates/pajaros_papel.js b/src/lib/templates/pajaros_papel.js new file mode 100644 index 0000000..e69de29 diff --git a/src/lib/templates/sanitarios.js b/src/lib/templates/sanitarios.js new file mode 100644 index 0000000..e69de29