Sponsors. Minor tweaks to FAQ Accordion

This commit is contained in:
Antoine Phan
2025-07-25 17:28:04 -04:00
parent 7e2b9d32aa
commit 775d13fee2
4 changed files with 42 additions and 13 deletions

View File

@@ -3,6 +3,7 @@
import Section from 'components/Section.svelte';
import RichText from 'components/RichText.svelte';
import OhSchedule from 'components/OHSchedule.svelte';
import Link from 'components/Link.svelte';
/** loading things from the server side */
let { data } = $props();
@@ -56,12 +57,26 @@
</Section>
<Section>
<div class="col-span-1">
<h1>FAQ</h1>
<FaqAccordion entries={data.faqs} />
<div class="grid grid-cols-2 w-full max-w-[80vw] gap-24">
<div class="col-span-1">
<h1>FAQs</h1>
<hr class="hr py-4 border-dashed w-full">
<FaqAccordion entries={data.faqs} />
</div>
<div id="sponsors" class="col-span-1">
<h1>Sponsors</h1>
<hr class="hr py-4 border-dashed w-full">
<div class="flex gap-12">
{#each data.sponsors as sponsor}
<div class="max-h-20">
<Link href={sponsor.url}>
<img src={sponsor.logo} alt="{sponsor.name} Logo" class="max-h-24"/>
</Link>
</div>
{/each}
</div>
</div>
</div>
<div id="sponsors">
<h1>Sponsors</h1>
{'<Insert companies & brands/>'}
</div>
</Section>
</Section>