bruhhh this layout is giving me a headache
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
<script>
|
||||
import FaqAccordion from 'components/FAQAccordion.svelte';
|
||||
import Section from 'components/Section.svelte';
|
||||
import { PortableText } from '@portabletext/svelte';
|
||||
|
||||
/** loading things from the server side */
|
||||
let { data } = $props();
|
||||
|
||||
// Getting info from ECSESS CMS
|
||||
let longAnswer = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.';
|
||||
const query = '_type:homepage';
|
||||
|
||||
const data = [
|
||||
const faqs = [
|
||||
{
|
||||
q: "A fequently asked question?",
|
||||
a: "This is a short answer",
|
||||
@@ -33,29 +37,30 @@
|
||||
<Section>
|
||||
<div class="flex h-1/2 flex-col items-center justify-center text-center">
|
||||
<p class="page-title">What is ECSESS?</p>
|
||||
|
||||
<p>{description}</p>
|
||||
<div id="test">
|
||||
<PortableText value={data.description} />
|
||||
</div>
|
||||
</div>
|
||||
</Section>
|
||||
|
||||
<!-- Picture, FAQ -->
|
||||
<Section black>
|
||||
<div class="flex justify-around gap-12">
|
||||
<div>
|
||||
<h1>PICTURES</h1>
|
||||
</div>
|
||||
<div>
|
||||
<h1>FAQ</h1>
|
||||
{#each data as { q, a }}
|
||||
<FaqAccordion entry={{ title: q, description: a }} />
|
||||
{/each}
|
||||
</div>
|
||||
<div>
|
||||
<h1>Our Student Council</h1>
|
||||
<img src={data.councilPhoto} alt="ECSESS Council" />
|
||||
</div>
|
||||
<div>
|
||||
<h1>FAQ</h1>
|
||||
{#each faqs as { q, a }}
|
||||
<FaqAccordion entry={{ title: q, description: a }} />
|
||||
{/each}
|
||||
</div>
|
||||
</Section>
|
||||
|
||||
<!-- Office Hours Calendar -->
|
||||
<Section>
|
||||
<div>
|
||||
<p class="text-2xl">Office Hours</p>
|
||||
<h1 class="text-2xl">Office Hours</h1>
|
||||
<p>Under development</p>
|
||||
</div>
|
||||
</Section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user