diff --git a/src/lib/templates/corazon.js b/src/lib/templates/corazon.js new file mode 100644 index 0000000..13539e9 --- /dev/null +++ b/src/lib/templates/corazon.js @@ -0,0 +1,104 @@ +import '$lib/templates/templates' + +/** @type {import('$lib/templates/templates').Template} */ +export const azul = { + name: "azul", + image: "plantilla_azul.png", + heading: { + top: 400, + height: 2, + left: 10, + right: 1, + fontSize: 2, + color: "white", + fontFamily: "sans-serif", + lineHeight: 2, + textAlign: "right", + fontWeight: 700 + }, + title: { + top: 445, + height: 7.5, + left: 1, + right: 1, + fontSize: 3, + color: "firebrick", + fontFamily: "sans-serif", + lineHeight: 2.4, + textAlign: "right", + fontWeight: 700 + + }, + subtitle: { + top: 575, + height: 1.4, + left: 1, + right: 2, + fontSize: 1.6, + color: "white", + fontFamily: "Gill Sans, sans-serif", + lineHeight: 1.5, + textAlign: "center", + fontWeight: 400 + }, + 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: 25, + height: 4, + left: 5, + right: 1, + fontSize: 1.1, + color: "#fff", + fontFamily: "sans-serif", + lineHeight: 1, + textAlign: "right", + fontWeight: 700 + }, + time: { + top: 55, + height: 2, + left: 18.5, + right: 1, + fontSize: 1.8, + color: "#fff", + fontFamily: "sans-serif", + lineHeight: 2, + textAlign: "right", + fontWeight: 700 + }, + weekday: { + top: 25, + height: 1.5, + left: 1, + right: 10, + fontSize: 1.3, + color: "#fff", + fontFamily: "sans-serif", + lineHeight: 1.8, + textAlign: "left", + fontWeight: 700 + }, + address: { + top: 620, + height: 5.5, + left: 2, + right: 2, + fontSize: 1.2, + color: "white", + fontFamily: "sans-serif", + lineHeight: 1.8, + textAlign: "center", + fontWeight: 400 + }, +} diff --git a/src/lib/templates/corazon.png b/src/lib/templates/corazon.png new file mode 100644 index 0000000..13539e9 --- /dev/null +++ b/src/lib/templates/corazon.png @@ -0,0 +1,104 @@ +import '$lib/templates/templates' + +/** @type {import('$lib/templates/templates').Template} */ +export const azul = { + name: "azul", + image: "plantilla_azul.png", + heading: { + top: 400, + height: 2, + left: 10, + right: 1, + fontSize: 2, + color: "white", + fontFamily: "sans-serif", + lineHeight: 2, + textAlign: "right", + fontWeight: 700 + }, + title: { + top: 445, + height: 7.5, + left: 1, + right: 1, + fontSize: 3, + color: "firebrick", + fontFamily: "sans-serif", + lineHeight: 2.4, + textAlign: "right", + fontWeight: 700 + + }, + subtitle: { + top: 575, + height: 1.4, + left: 1, + right: 2, + fontSize: 1.6, + color: "white", + fontFamily: "Gill Sans, sans-serif", + lineHeight: 1.5, + textAlign: "center", + fontWeight: 400 + }, + 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: 25, + height: 4, + left: 5, + right: 1, + fontSize: 1.1, + color: "#fff", + fontFamily: "sans-serif", + lineHeight: 1, + textAlign: "right", + fontWeight: 700 + }, + time: { + top: 55, + height: 2, + left: 18.5, + right: 1, + fontSize: 1.8, + color: "#fff", + fontFamily: "sans-serif", + lineHeight: 2, + textAlign: "right", + fontWeight: 700 + }, + weekday: { + top: 25, + height: 1.5, + left: 1, + right: 10, + fontSize: 1.3, + color: "#fff", + fontFamily: "sans-serif", + lineHeight: 1.8, + textAlign: "left", + fontWeight: 700 + }, + address: { + top: 620, + height: 5.5, + left: 2, + right: 2, + fontSize: 1.2, + color: "white", + fontFamily: "sans-serif", + lineHeight: 1.8, + textAlign: "center", + fontWeight: 400 + }, +} diff --git a/static/corazon.png b/static/corazon.png new file mode 100644 index 0000000..e3b3cd6 Binary files /dev/null and b/static/corazon.png differ