Compulsory tags #37

Merged
al4423 merged 4 commits from compulsory-tags into master 2025-06-09 18:30:57 +00:00
9 changed files with 210 additions and 27 deletions
Showing only changes of commit 6a9f5ca21d - Show all commits

View File

@@ -1,5 +1,11 @@
<script lang="ts">
const { space } = $props();
import type { Table } from "$lib";
interface Props {
space: Table<"study_spaces">;
}
const { space }: Props = $props();
const tagToColor: Record<string, string> = {
"Many Outlets": "compulsoryTagGreen",

View File

@@ -1,4 +1,5 @@
<script lang="ts">
import CompulsoryTags from "./CompulsoryTags.svelte";
import type { Table } from "$lib";
interface Props {
@@ -9,7 +10,6 @@
}
const { space, alt, imgSrc, href }: Props = $props();
import CompulsoryTags from "./CompulsoryTags.svelte";
</script>
<a class="card" {href}>