From 18c458d91ca5e7187ffb3615fca8970fc6e4ca65 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Mon, 6 Jun 2022 15:48:53 +0200
Subject: feat: More work on portal

---
 apps/web-shared/src/components/breadcrumb/bread.svelte | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 apps/web-shared/src/components/breadcrumb/bread.svelte

(limited to 'apps/web-shared/src/components/breadcrumb/bread.svelte')

diff --git a/apps/web-shared/src/components/breadcrumb/bread.svelte b/apps/web-shared/src/components/breadcrumb/bread.svelte
new file mode 100644
index 0000000..4cf0698
--- /dev/null
+++ b/apps/web-shared/src/components/breadcrumb/bread.svelte
@@ -0,0 +1,9 @@
+<script lang="ts">
+    export type sizes = "big"|"small";
+    export let size: sizes = "small";
+</script>
+<nav class="breadcrumbs {size === 'small' ? 'text-sm' : 'text-lg'}">
+    <ol class="flex flex-wrap gap-xxs">
+        <slot></slot>
+    </ol>
+</nav>
-- 
cgit v1.3

