Skip to content

Commit 9d6fc48

Browse files
committed
refactor: remove beta banner element
1 parent ae20879 commit 9d6fc48

1 file changed

Lines changed: 0 additions & 35 deletions

File tree

src/lib/components/Header.svelte

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
<script lang="ts">
2-
import { VERSION } from "svelte/compiler";
32
import Logo from "./Logo.svelte";
43
</script>
54

65
<header>
7-
<div id="banner-container">
8-
<div id="beta-banner">BETA</div>
9-
</div>
106
<div id="header-logo">
117
<a class="logo" href="https://hubblo.org/en/" aria-label="Navigate to the Hubblo website">
128
<Logo />
@@ -64,35 +60,4 @@
6460
border-bottom: var(--border);
6561
border-inline: var(--border);
6662
}
67-
68-
#banner-container {
69-
width: 200px;
70-
height: 200px;
71-
margin: -26px;
72-
position: absolute;
73-
overflow: hidden;
74-
z-index: -1;
75-
}
76-
#beta-banner {
77-
width: 300px;
78-
padding-top: 10px;
79-
padding-right: 48px;
80-
background-color: var(--color-secondary-30);
81-
box-sizing: border-box;
82-
position: absolute;
83-
top: 0;
84-
left: 0;
85-
transform: rotateZ(-45deg);
86-
text-align: center;
87-
transform-origin: 150px 180px;
88-
}
89-
@media (min-width: 480px) {
90-
#banner-container {
91-
margin: -32px;
92-
}
93-
#beta-banner {
94-
padding: 6px;
95-
padding-right: 12px;
96-
}
97-
}
9863
</style>

0 commit comments

Comments
 (0)