Finish setting up the project. Moving to implementation
This commit is contained in:
18
src/app.css
18
src/app.css
@@ -1,10 +1,26 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Saira:ital,wght@0,100..900;1,100..900&display=swap');
|
||||
@import 'tailwindcss';
|
||||
@plugin '@tailwindcss/typography';
|
||||
|
||||
|
||||
@theme {
|
||||
--color-ecsess-200: #A9B7A0;
|
||||
--color-ecsess-400: #5C8A5C;
|
||||
--color-ecsess-600: #3B6A3A;
|
||||
--color-ecsess-800: #0A3D2A;
|
||||
--color-ecsess-black: #1F1F1F;
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
font-family: "Saira", sans-serif;
|
||||
font-optical-sizing: auto;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
h1 {
|
||||
@apply text-3xl font-bold py-4;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
@apply text-7xl font-bold py-4;
|
||||
}
|
||||
|
||||
BIN
src/assets/ECSESS.png
Normal file
BIN
src/assets/ECSESS.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 209 KiB |
BIN
src/assets/ECSESSBits.png
Normal file
BIN
src/assets/ECSESSBits.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 478 KiB |
BIN
src/assets/TheFactory.png
Normal file
BIN
src/assets/TheFactory.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
0
src/components/Avatar.svelte
Normal file
0
src/components/Avatar.svelte
Normal file
0
src/components/CouncilCard.svelte
Normal file
0
src/components/CouncilCard.svelte
Normal file
0
src/components/EventBlock.svelte
Normal file
0
src/components/EventBlock.svelte
Normal file
0
src/components/FAQAccordion.svelte
Normal file
0
src/components/FAQAccordion.svelte
Normal file
@@ -2,9 +2,11 @@
|
||||
const year = new Date().getFullYear();
|
||||
</script>
|
||||
|
||||
<footer class="border-ecsess-black m-12 flex h-fit flex-col items-center justify-between border-t-2">
|
||||
<footer
|
||||
class="bg-ecsess-black text-ecsess-200 mx-auto flex min-w-fit flex-wrap items-center justify-center px-4 py-4"
|
||||
>
|
||||
<div>
|
||||
<p class="text-content py-3 text-center">
|
||||
<p class="text-ecsess-200 py-3 text-center">
|
||||
Created by ECSESS with love {'<3'}. <br />
|
||||
© {year} under GNU General Public License v3.0.
|
||||
</p>
|
||||
|
||||
0
src/components/Gallery.svelte
Normal file
0
src/components/Gallery.svelte
Normal file
@@ -1,15 +1,18 @@
|
||||
<script>
|
||||
import NavButton from './NavButton.svelte';
|
||||
|
||||
import ECSESS from 'assets/ECSESS.png';
|
||||
</script>
|
||||
|
||||
<nav class="bg-ecsess-black text-ecsess-200 mx-auto flex min-w-fit flex-wrap items-center justify-center px-4 pt-4">
|
||||
<nav
|
||||
class="bg-ecsess-black text-ecsess-200 mx-auto flex min-w-fit flex-wrap items-center justify-center px-4 pt-2"
|
||||
>
|
||||
<img src={ECSESS} alt="ECSESS Logo" class="w-20 p-2" />
|
||||
<NavButton href="/">Home</NavButton>
|
||||
<NavButton href="/council">Meet the council</NavButton>
|
||||
<NavButton href="/events">Events</NavButton>
|
||||
<NavButton href="/resources">Resources</NavButton>
|
||||
<NavButton href="/join">Join ECSESS</NavButton>
|
||||
{#if import.meta.env.DEV}
|
||||
<NavButton href="/components">Componenets</NavButton>
|
||||
{/if}
|
||||
{#if import.meta.env.DEV}
|
||||
<NavButton href="/showroom">Componenets</NavButton>
|
||||
{/if}
|
||||
</nav>
|
||||
|
||||
0
src/components/OHBlock.svelte
Normal file
0
src/components/OHBlock.svelte
Normal file
0
src/components/OHSchedule.svelte
Normal file
0
src/components/OHSchedule.svelte
Normal file
0
src/components/PositionCard.svelte
Normal file
0
src/components/PositionCard.svelte
Normal file
0
src/components/ResourceCard.svelte
Normal file
0
src/components/ResourceCard.svelte
Normal file
@@ -1,7 +1,17 @@
|
||||
<script>
|
||||
let { children = () => "Section placeholder" } = $props();
|
||||
let { children = () => 'Section placeholder', black = false } = $props();
|
||||
</script>
|
||||
|
||||
<div class="container mx-auto px-4 py-6 flex flex-col items-center justify-center gap-4 text-center">
|
||||
{@render children()}
|
||||
</div>
|
||||
{#if black}
|
||||
<div
|
||||
class="bg-ecsess-black mx-auto flex min-h-[75vh] flex-col items-center justify-center gap-4 p-4 text-center text-ecsess-200"
|
||||
>
|
||||
{@render children()}
|
||||
</div>
|
||||
{:else}
|
||||
<div
|
||||
class="bg-ecsess-800 mx-auto flex min-h-[75vh] flex-col items-center justify-center gap-4 p-4 text-center text-ecsess-200"
|
||||
>
|
||||
{@render children()}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
0
src/components/Tabs.svelte
Normal file
0
src/components/Tabs.svelte
Normal file
@@ -7,11 +7,5 @@
|
||||
</script>
|
||||
|
||||
<Navbar />
|
||||
<div class="h-screen bg-ecsess-800">
|
||||
{@render children()}
|
||||
<Footer />
|
||||
</div>
|
||||
|
||||
<style>
|
||||
@reference tailwindcss;
|
||||
</style>
|
||||
{@render children()}
|
||||
<Footer />
|
||||
|
||||
@@ -1,10 +1,37 @@
|
||||
<script>
|
||||
import Section from 'components/Section.svelte';
|
||||
|
||||
// Getting info from ECSESS CMS
|
||||
let description =
|
||||
'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.';
|
||||
</script>
|
||||
|
||||
<title> McGill ECSESS </title>
|
||||
|
||||
<div class='flex flex-col items-center justify-center h-1/2 text-center'>
|
||||
<h1>
|
||||
Welcome to the ECSESS website!
|
||||
</h1>
|
||||
<p>
|
||||
This is a work in progress. Check back soon for updates!
|
||||
</p>
|
||||
</div>
|
||||
<!-- ECSESS Introduction -->
|
||||
<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>
|
||||
</Section>
|
||||
|
||||
<!-- Picture, FAQ -->
|
||||
<Section black>
|
||||
<div class="flex justify-around gap-12">
|
||||
<div>
|
||||
<p>PICTURES</p>
|
||||
</div>
|
||||
<div>
|
||||
<p>FAQ</p>
|
||||
</div>
|
||||
</div>
|
||||
</Section>
|
||||
|
||||
<!-- Office Hours Calendar -->
|
||||
<Section>
|
||||
<div>
|
||||
<p class="text-2xl">Office Hours</p>
|
||||
</div>
|
||||
</Section>
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
<title> ECSESS council </title>
|
||||
|
||||
<Section>
|
||||
<h1>Meet the ECSESS council!</h1>
|
||||
<hr />
|
||||
<p class="page-title">Meet the ECSESS council!</p>
|
||||
|
||||
<p>Group picture!</p>
|
||||
|
||||
<p>Here are the members of the ECSESS council!</p>
|
||||
|
||||
Reference in New Issue
Block a user