Checkpoint: Most pages are setup and components are ready to be implemented

This commit is contained in:
Antoine Phan
2025-03-06 21:26:47 -05:00
parent 6018a7c0f1
commit e868c6252b
8 changed files with 69 additions and 19 deletions

View File

@@ -2,6 +2,6 @@
import { Button } from "bits-ui"; import { Button } from "bits-ui";
</script> </script>
<Button.Root class="bg-ecsess-600 text-ecsess-200 px-4 py-2 m-1 rounded-lg border-none"> <Button.Root class="bg-ecsess-600 text-ecsess-200 px-4 py-2 m-1 rounded-lg border-none hover:shadow-lg hover:shadow-ecsess-800 active:bg-ecsess-800 transition-all">
<slot /> <slot />
</Button.Root> </Button.Root>

View File

@@ -8,7 +8,7 @@
<div> <div>
<p class="text-ecsess-200 py-3 text-center"> <p class="text-ecsess-200 py-3 text-center">
Created by ECSESS with love {'<3'}. <br /> Created by ECSESS with love {'<3'}. <br />
&copy; {year} under GNU General Public License v3.0. &copy; ECSESS {year}, under GNU General Public License v3.0.
</p> </p>
</div> </div>
</footer> </footer>

View File

@@ -0,0 +1,17 @@
<script>
import Button from './Button.svelte';
import Link from './Link.svelte';
let { title = '_Resource Title_', children = () => {}, link = "https://example.com"} = $props();
</script>
<div class="bg-ecsess-200 w-96 rounded-lg px-8 py-4">
<p class="text-ecsess-black text-xl font-semibold pb-2">
{title}
</p>
<p class="text-ecsess-black text-base font-normal py-2">{@render children()}</p>
<Link href={link}>
<Button>Access</Button>
</Link>
</div>

View File

@@ -5,7 +5,7 @@
<title> ECSESS council </title> <title> ECSESS council </title>
<Section> <Section>
<p class="page-title">Meet the ECSESS council!</p> <p class="page-title">Meet the council!</p>
<p>Group picture!</p> <p>Group picture!</p>

View File

@@ -5,4 +5,5 @@
<title> ECSESS Events </title> <title> ECSESS Events </title>
<Section> <Section>
<p class='page-title'>Events</p>
</Section> </Section>

View File

@@ -0,0 +1,19 @@
<script>
import ResourceCard from 'components/ResourceCard.svelte';
import Section from 'components/Section.svelte';
let isElectionTime = $state(true);
</script>
<title> Join ECSESS !!! </title>
<Section>
<p class="page-title">Want to join ECSESS Council?</p>
{#if isElectionTime}
<ResourceCard title="Involvement Booklet">
A guide to involvement with ECSESS and its subcommittees (The Factory, IEEE McGill, CodeJam).
</ResourceCard>
{:else}
<p>Come back around March for application period!</p>
{/if}
</Section>

View File

@@ -1,17 +1,15 @@
<script> <script>
import Section from "components/Section.svelte"; import Section from 'components/Section.svelte';
</script> </script>
<title> Resources </title> <title> Resources </title>
<div class=""> <Section>
<Section> <p class='page-title'> Resources </p>
<h1>
Resources for ECSE students at McGill University, presented by ECSESS!
</h1>
<h2>Technical</h2> <h1>Resources for ECSE students at McGill University, presented by ECSESS!</h1>
<h2>Academic</h2> <h2>Technical</h2>
</Section>
</div> <h2>Academic</h2>
</Section>

View File

@@ -1,7 +1,22 @@
<script> <script>
import Button from "components/Button.svelte"; import Button from 'components/Button.svelte';
import ResourceCard from 'components/ResourceCard.svelte';
import Section from 'components/Section.svelte';
</script> </script>
<Button> <title> Component showroom for developers </title>
Button
</Button> <Section>
<Button>Button</Button>
<ResourceCard></ResourceCard>
</Section>
<Section black>
<Button>Button</Button>
<ResourceCard title="Workshop feedback">
Description of the workshop
</ResourceCard>
</Section>
<Section>
<Button>Button</Button>
</Section>