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

@@ -5,17 +5,18 @@
alt: string;
imgSrc: string;
description?: Snippet;
href?: string;
}
const { alt, imgSrc, description }: Props = $props();
const { alt, imgSrc, description, href }: Props = $props();
</script>
<div class="card">
<a class="card" {href}>
<img src={imgSrc} {alt} />
<div class="description">
{@render description?.()}
</div>
</div>
</a>
<style>
.card {