Checkpoint: Most pages are setup and components are ready to be implemented
This commit is contained in:
@@ -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>
|
||||||
@@ -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 />
|
||||||
© {year} under GNU General Public License v3.0.
|
© ECSESS {year}, under GNU General Public License v3.0.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -5,4 +5,5 @@
|
|||||||
<title> ECSESS Events </title>
|
<title> ECSESS Events </title>
|
||||||
|
|
||||||
<Section>
|
<Section>
|
||||||
|
<p class='page-title'>Events</p>
|
||||||
</Section>
|
</Section>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>Resources for ECSE students at McGill University, presented by ECSESS!</h1>
|
||||||
</h1>
|
|
||||||
|
<h2>Technical</h2>
|
||||||
<h2>Technical</h2>
|
|
||||||
|
<h2>Academic</h2>
|
||||||
<h2>Academic</h2>
|
</Section>
|
||||||
</Section>
|
|
||||||
</div>
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user