From 4dbef3fcd7a14437d55c555cf10d50de8e50d7d1 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Fri, 9 Dec 2022 11:57:12 +0900
Subject: feat: Move everything out of $lib

---
 .../src/lib/components/project-status-badge.svelte | 24 ----------------------
 1 file changed, 24 deletions(-)
 delete mode 100644 code/app/src/lib/components/project-status-badge.svelte

(limited to 'code/app/src/lib/components/project-status-badge.svelte')

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 />
-- 
cgit v1.3

