Añade la cuarta plantilla

Co-authored-by: Borja Robert <borja@brobert.net>
Reviewed-on: #14
main
brobert 2 years ago
parent bb6df8630f
commit bf74361fc3

@ -19,4 +19,4 @@ Aplicación para que los grupos creen sus propios carteles.
* [ ] Confirmar con Esther * [ ] Confirmar con Esther
### Nueva plantilla ### Nueva plantilla
* [ ] Incluir * [x] Incluir

@ -0,0 +1,115 @@
import '$lib/templates/templates'
/** @type {import('$lib/templates/templates').Template} */
export const posits = {
name: "posits",
image: "plantilla_posits.jpg",
heading: {
top: 100,
height: 1.2,
left: 8,
right: 1,
fontSize: 0,
color: "white",
fontFamily: "sans-serif",
lineHeight: 1.1,
textAlign: "left",
fontWeight: 400
},
title: {
top: 430,
height: 3,
left: 4,
right: 4,
fontSize: 2,
color: "#000",
fontFamily: "'Arial', sans-serif",
lineHeight: 2.1,
textAlign: "center",
fontWeight: 700
},
subtitle: {
top: 300,
height: 3,
left: 8,
right: 2,
fontSize: 0,
color: "firebrick",
fontFamily: "'Arial', 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: 400
},
date: {
top: 600,
height: 4,
left: 26.5,
right: 2,
fontSize: 1.2,
color: "firebrick",
fontFamily: "sans-serif",
lineHeight: 1.5,
textAlign: "center",
fontWeight: 700
},
time: {
top: 655,
height: 2,
left: 26.5,
right: 2,
fontSize: 1.8,
color: "firebrick",
fontFamily: "sans-serif",
lineHeight: 2,
textAlign: "center",
fontWeight: 700
},
weekday: {
top: 600,
height: 1.5,
left: 18.5,
right: 5,
fontSize: 0,
color: "#fff",
fontFamily: "sans-serif",
lineHeight: 1.8,
textAlign: "center",
fontWeight: 700
},
address: {
top: 555,
height: 4.5,
left: 1.5,
right: 23,
fontSize: 1.2,
color: "#000",
fontFamily: "'Arial', sans-serif",
lineHeight: 1.5,
textAlign: "center",
fontWeight: 400
},
city: {
top: 655,
height: 1.5,
left: 2,
right: 23,
fontSize: 1.2,
color: "#000",
fontFamily: "'Arial', sans-serif",
lineHeight: 1.5,
textAlign: "center",
fontWeight: 700
},
}

@ -1,6 +1,7 @@
import { verde } from '$lib/templates/verde'; import { verde } from '$lib/templates/verde';
import { azul } from '$lib/templates/azul'; import { azul } from '$lib/templates/azul';
import { corazon } from '$lib/templates/corazon'; import { corazon } from '$lib/templates/corazon';
import { posits } from '$lib/templates/posits';
/** /**
* @typedef {{ * @typedef {{
* top: number; * top: number;
@ -33,4 +34,4 @@ import { corazon } from '$lib/templates/corazon';
*/ */
/** @type Array<Template> */ /** @type Array<Template> */
export const templates = [verde, azul, corazon]; export const templates = [verde, azul, corazon, posits];

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

Loading…
Cancel
Save