|
|
@ -11,9 +11,9 @@
|
|
|
|
canvas
|
|
|
|
canvas
|
|
|
|
} from '$lib/stores/store';
|
|
|
|
} from '$lib/stores/store';
|
|
|
|
|
|
|
|
|
|
|
|
let newdate = '';
|
|
|
|
/** @type {Object<string,string>} */ let newdate = {};
|
|
|
|
|
|
|
|
|
|
|
|
const convertDateTime = (datetime) => {
|
|
|
|
const convertDateTime = (/** @type {string | undefined} */ datetime) => {
|
|
|
|
if (datetime == undefined) {
|
|
|
|
if (datetime == undefined) {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
date: '',
|
|
|
|
date: '',
|
|
|
@ -41,15 +41,15 @@
|
|
|
|
<div class="title">{$title}</div>
|
|
|
|
<div class="title">{$title}</div>
|
|
|
|
<div class="subtitle">{$subtitle}</div>
|
|
|
|
<div class="subtitle">{$subtitle}</div>
|
|
|
|
<div class="content">{@html $content}</div>
|
|
|
|
<div class="content">{@html $content}</div>
|
|
|
|
{#if newdate}<div class="date">{newdate.date}</div>{/if}
|
|
|
|
{#if newdate.date}<div class="date">{newdate.date}</div>{/if}
|
|
|
|
{#if newdate}<div class="time">{newdate.time}</div>{/if}
|
|
|
|
{#if newdate.time}<div class="time">{newdate.time}</div>{/if}
|
|
|
|
<div class="address">{$address}</div>
|
|
|
|
<div class="address">{$address}</div>
|
|
|
|
{#if $organizedBy[0]}
|
|
|
|
{#if $organizedBy[0]}
|
|
|
|
<div class="imagetitle">Organiza:</div>
|
|
|
|
<div class="imagetitle">Organiza:</div>
|
|
|
|
<div class="organized-by">
|
|
|
|
<div class="organized-by">
|
|
|
|
{#each $organizedBy as organization, i}
|
|
|
|
{#each $organizedBy as organization, i}
|
|
|
|
<div class="organization">
|
|
|
|
<div class="organization">
|
|
|
|
<img src={organization.image} />
|
|
|
|
<img src={organization.image} alt={organization.text} />
|
|
|
|
<div class="caption">{organization.text}</div>
|
|
|
|
<div class="caption">{organization.text}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{/each}
|
|
|
|
{/each}
|
|
|
|