Event blocks and RichText needs update...

This commit is contained in:
Antoine Phan
2025-12-10 01:08:23 -05:00
parent cb8a67e008
commit a7ce1b8683
2 changed files with 4 additions and 3 deletions

View File

@@ -4,6 +4,6 @@
let { value } = $props(); let { value } = $props();
</script> </script>
<div id="test" class="typography"> <div class="typography">
<PortableText {value} /> <PortableText {value} />
</div> </div>

View File

@@ -1,6 +1,7 @@
<script lang="ts"> <script lang="ts">
import { PortableText } from '@portabletext/svelte'; import { PortableText } from '@portabletext/svelte';
import { CalendarDays, MapPin, Link as LinkIcon, FilePen, CalendarPlus } from '@lucide/svelte'; import { CalendarDays, MapPin, Link as LinkIcon, FilePen, CalendarPlus } from '@lucide/svelte';
import RichText from 'components/RichText.svelte';
let { let {
eventTitle, eventTitle,
@@ -139,9 +140,9 @@
<!-- Description --> <!-- Description -->
{#if eventDescription} {#if eventDescription}
<div <div
class="text-ecsess-100 mb-6 line-clamp-3 flex-1 text-sm leading-relaxed" class="text-ecsess-100 mb-6 line-clamp-5"
> >
<PortableText value={eventDescription} /> <RichText value={eventDescription} />
</div> </div>
{/if} {/if}