Merge
ci/woodpecker/push/woodpecker Pipeline failed Podrobnosti

This commit is contained in:
tree 2022-11-09 17:37:34 +01:00
revize e2d206d245
1 změnil soubory, kde provedl 5 přidání a 2 odebrání

Zobrazit soubor

@ -35,6 +35,9 @@
name: item ? item.name : contributor.name
}
})
function isPast(date) {
return new Date() > new Date(date);
}
//console.log(filteredEvents);
</script>
@ -69,9 +72,9 @@
<section class="text-white bg-black body-font overflow-hidden">
<div class="container px-5 py-24 mx-auto">
{#each filteredEvents as evt}
<div class="py-8 divide-y-2 divide-gray-800">
<div class="py-8 divide-y-2 divide-gray-800 {isPast(evt.datetime) && 'hidden'}">
<div class=" flex flex-wrap md:flex-nowrap">
{#if evt.eventtype === 'Key'}
{#if evt.eventType === 'Catering'}
<div class="md:w-64 md:mb-0 flex-shrink-0 flex flex-col border-l-4 border-white pl-2">
<span class="font-bold title-font px-2 ">{getTiming(evt.datetime, evt.duration)}</span
>