Compulsory tags #37
@@ -1,5 +1,11 @@
|
|||||||
<script lang="ts">
|
<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> = {
|
const tagToColor: Record<string, string> = {
|
||||||
"Many Outlets": "compulsoryTagGreen",
|
"Many Outlets": "compulsoryTagGreen",
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import CompulsoryTags from "./CompulsoryTags.svelte";
|
||||||
import type { Table } from "$lib";
|
import type { Table } from "$lib";
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -9,7 +10,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const { space, alt, imgSrc, href }: Props = $props();
|
const { space, alt, imgSrc, href }: Props = $props();
|
||||||
import CompulsoryTags from "./CompulsoryTags.svelte";
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<a class="card" {href}>
|
<a class="card" {href}>
|
||||||
|
|||||||
Reference in New Issue
Block a user