Content retrival on all pages

This commit is contained in:
Antoine Phan
2025-06-05 17:51:43 +01:00
committed by Antoine Phan
parent dec7e70c43
commit 7ead9f397c
8 changed files with 65 additions and 16 deletions

View File

@@ -1,6 +1,7 @@
<script>
import CouncilCard from 'components/CouncilCard.svelte';
import Section from 'components/Section.svelte';
// import CouncilMember from 'utils/schemas.ts';
let { data } = $props();
</script>
@@ -9,6 +10,7 @@
<p class="page-title">Meet the council!</p>
<p>Group picture!</p>
<div class="flex flex-row flex-wrap items-center align-middle gap-10 p-4">
{#each data.members as councilMember}
<CouncilCard
@@ -21,13 +23,4 @@
></CouncilCard>
{/each}
</div>
<p>Here are the members of the ECSESS council!</p>
<div>
<h2>President</h2>
<p>Name:</p>
<p>Email:</p>
<p>Year:</p>
<p>Program:</p>
</div>
</Section>