@@ -160,7 +162,7 @@ Albacete"
font-size: 0.8rem;
font-family: sans-serif;
padding: 0.5rem;
- min-height: 5rem;
+ min-height: 3rem;
line-height: 1.3rem;
resize: vertical;
}
diff --git a/src/lib/preview/Preview.svelte b/src/lib/preview/Preview.svelte
index e34cad1..381c496 100644
--- a/src/lib/preview/Preview.svelte
+++ b/src/lib/preview/Preview.svelte
@@ -13,6 +13,7 @@
import Weekday from '$lib/components/Weekday.svelte';
import Address from '$lib/components/Address.svelte';
import Text from '$lib/components/Text.svelte';
+ import City from '$lib/components/City.svelte';
@@ -26,6 +27,7 @@
+
{/if}
{#if $organizedBy[0] && $colabs[0]}
diff --git a/src/lib/stores/store.js b/src/lib/stores/store.js
index 798a479..39570d3 100644
--- a/src/lib/stores/store.js
+++ b/src/lib/stores/store.js
@@ -8,6 +8,7 @@ export const date = writable("");
export const time = writable("");
export const weekday = writable("");
export const address = writable("");
+export const city = writable("");
export const organizedBy = writable([]);
export const colabs = writable([]);
export const canvas = writable();
diff --git a/src/lib/templates/azul.js b/src/lib/templates/azul.js
index aabec16..dcaf50d 100644
--- a/src/lib/templates/azul.js
+++ b/src/lib/templates/azul.js
@@ -101,4 +101,16 @@ export const azul = {
textAlign: "center",
fontWeight: 400
},
+ city: {
+ 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.js b/src/lib/templates/corazon.js
index ecefa67..d53b84e 100644
--- a/src/lib/templates/corazon.js
+++ b/src/lib/templates/corazon.js
@@ -101,4 +101,16 @@ export const corazon = {
textAlign: "left",
fontWeight: 400
},
+ city: {
+ top: 645,
+ height: 5.5,
+ left: 8,
+ right: 2,
+ fontSize: 1.3,
+ color: "white",
+ fontFamily: "'Arial', sans-serif",
+ lineHeight: 1.6,
+ textAlign: "left",
+ fontWeight: 400
+ },
}
diff --git a/src/lib/templates/templates.js b/src/lib/templates/templates.js
index f66c28c..83b37d2 100644
--- a/src/lib/templates/templates.js
+++ b/src/lib/templates/templates.js
@@ -28,6 +28,7 @@ import { corazon } from '$lib/templates/corazon';
* weekday: Element;
* content: Element;
* address: Element;
+* city: Element;
* }} Template
*/
diff --git a/src/lib/templates/verde.js b/src/lib/templates/verde.js
index baf3509..e8f6cc7 100644
--- a/src/lib/templates/verde.js
+++ b/src/lib/templates/verde.js
@@ -90,7 +90,7 @@ export const verde = {
},
address: {
top: 625,
- height: 4.5,
+ height: 2.8,
left: 2,
right: 20,
fontSize: 1,
@@ -100,4 +100,16 @@ export const verde = {
textAlign: "center",
fontWeight: 700
},
+ city: {
+ top: 675,
+ height: 2,
+ left: 2,
+ right: 20,
+ fontSize: 1.2,
+ color: "#91b756",
+ fontFamily: "sans-serif",
+ lineHeight: 1.5,
+ textAlign: "center",
+ fontWeight: 700
+ },
}