Optimize homepage query, Portable Text formatting, Events
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
<script>
|
||||
import Section from 'components/Section.svelte';
|
||||
import { PortableText } from '@portabletext/svelte';
|
||||
/** loading things from the server side */
|
||||
let { data } = $props();
|
||||
console.log(data);
|
||||
</script>
|
||||
|
||||
<title> McGill ECSESS </title>
|
||||
@@ -10,18 +12,18 @@
|
||||
<Section>
|
||||
<div class="flex h-1/2 flex-col items-center justify-center text-center">
|
||||
<p class="page-title">What is ECSESS?</p>
|
||||
<p>{data.description}</p>
|
||||
<div id="test">
|
||||
<PortableText value={data.description} />
|
||||
</div>
|
||||
</div>
|
||||
</Section>
|
||||
|
||||
<!-- Picture, FAQ -->
|
||||
<Section black>
|
||||
<h1>Our student council</h1>
|
||||
<div class="flex justify-around gap-12">
|
||||
<div>
|
||||
<p>PICTURES</p>
|
||||
</div>
|
||||
<div>
|
||||
<p>FAQ</p>
|
||||
<img src={data.councilPhoto} alt="ECSESS Council" />
|
||||
</div>
|
||||
</div>
|
||||
</Section>
|
||||
@@ -29,6 +31,11 @@
|
||||
<!-- Office Hours Calendar -->
|
||||
<Section>
|
||||
<div>
|
||||
<p class="text-2xl">Office Hours</p>
|
||||
<h1>FAQ</h1>
|
||||
<p>Under development</p>
|
||||
</div>
|
||||
<div>
|
||||
<h1 class="text-2xl">Office Hours</h1>
|
||||
<p>Under development</p>
|
||||
</div>
|
||||
</Section>
|
||||
|
||||
Reference in New Issue
Block a user