feat: initial uploads and single study space view

Co-Authored-By: Alex Ling <al443@ic.ac.uk>
This commit is contained in:
2025-06-04 18:10:45 +01:00
parent b02f2b2303
commit 40435df5e2
16 changed files with 486 additions and 86 deletions

View File

@@ -0,0 +1,45 @@
<script lang="ts">
import logoUrl from "$lib/assets/logo.svg";
import type { Snippet } from "svelte";
interface Props {
children?: Snippet;
}
const { children }: Props = $props();
</script>
<nav>
<a href="/" class="logo">
<img src={logoUrl} alt="logo" />
</a>
<div class="rightButton">{@render children?.()}</div>
</nav>
<style>
nav {
display: flex;
position: sticky;
width: 100%;
height: 4rem;
top: 0;
left: 0;
background: linear-gradient(-77deg, #2e4653, #3a5b56);
box-shadow: 0rem 0rem 0.5rem #182125;
align-items: center;
}
.logo {
display: block;
height: 100%;
}
.logo img {
height: 100%;
}
.rightButton {
display: flex;
flex-direction: row-reverse;
flex: 1;
}
</style>