aboutsummaryrefslogtreecommitdiffstats
path: root/code/app/src/lib/components/project-status-badge.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'code/app/src/lib/components/project-status-badge.svelte')
-rw-r--r--code/app/src/lib/components/project-status-badge.svelte24
1 files changed, 0 insertions, 24 deletions
diff --git a/code/app/src/lib/components/project-status-badge.svelte b/code/app/src/lib/components/project-status-badge.svelte
deleted file mode 100644
index 5390344..0000000
--- a/code/app/src/lib/components/project-status-badge.svelte
+++ /dev/null
@@ -1,24 +0,0 @@
-<script lang="ts">
- import type { ProjectStatus } from "$lib/models/projects/ProjectStatus";
- import Badge from "./badge.svelte";
- export let status: string | ProjectStatus;
-
- let text = "";
- let type = "default" as any;
- $: switch (status) {
- case "idl":
- type = "tame";
- text = "IDLE";
- break;
- case "exp":
- type = "yellow";
- text = "EXPIRED";
- break;
- case "act":
- type = "green";
- text = "ACTIVE";
- break;
- }
-</script>
-
-<Badge {text} {type} uppercase />