From b7e39b59fd0fc7b5610ebff29035bf622079e0d8 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Wed, 5 Oct 2022 20:45:21 +0800
Subject: refactor: Change file structure

---
 .../web-shared/src/components/pre-header.svelte    | 37 ----------------------
 1 file changed, 37 deletions(-)
 delete mode 100644 old-apps/web-shared/src/components/pre-header.svelte

(limited to 'old-apps/web-shared/src/components/pre-header.svelte')

diff --git a/old-apps/web-shared/src/components/pre-header.svelte b/old-apps/web-shared/src/components/pre-header.svelte
deleted file mode 100644
index 87a19b1..0000000
--- a/old-apps/web-shared/src/components/pre-header.svelte
+++ /dev/null
@@ -1,37 +0,0 @@
-<script>
-	export let closable = true;
-	export let show = false;
-</script>
-
-<div class="pre-header padding-y-xs" style="{show ? '' : 'display:none'}">
-    <div class="container max-width-lg position-relative">
-        <div class="text-component text-sm padding-right-lg">
-            <p>
-                <slot/>
-            </p>
-        </div>
-        {#if closable}
-            <button class="reset pre-header__close-btn"
-                    on:click={(event) => event.target.closest(".pre-header")?.remove()}>
-                <svg class="icon"
-                     viewBox="0 0 20 20">
-                    <title>Close header banner</title>
-                    <g fill="none"
-                       stroke="currentColor"
-                       stroke-linecap="round"
-                       stroke-linejoin="round"
-                       stroke-width="2">
-                        <line x1="4"
-                              y1="4"
-                              x2="16"
-                              y2="16"/>
-                        <line x1="16"
-                              y1="4"
-                              x2="4"
-                              y2="16"/>
-                    </g>
-                </svg>
-            </button>
-        {/if}
-    </div>
-</div>
-- 
cgit v1.3

