Skip to content

Commit 468c2ea

Browse files
committed
blured header
1 parent 415b011 commit 468c2ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Header.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ interface Props {
2020
const { focus } = Astro.props;
2121
---
2222

23-
<header class="sticky top-0 z-20 w-full bg-gray-50">
23+
<header class="sticky top-0 z-20 w-full">
2424
<!-- <ClientRouter transition:animate={fade({ duration: 30 })} /> -->
2525
{
2626
banner.shown && (
2727
<div
2828
id="banner"
2929
class:list={[
3030
"flex items-center justify-center gap-4 px-1 py-2",
31-
banner.kind === "error" ? "bg-red-300" : "bg-green-300",
31+
banner.kind === "error" ? "bg-red-300/70" : "bg-green-300",
3232
]}
3333
>
3434
<span class="hidden md:inline">{banner.long}</span>
@@ -51,7 +51,7 @@ const { focus } = Astro.props;
5151
</div>
5252
)
5353
}
54-
<div class="flex h-16">
54+
<div class="flex h-16 bg-gray-50/70 backdrop-blur-lg">
5555
<a href="/" class="flex items-center px-4" data-astro-prefetch="viewport">
5656
<Logo class="w-36 sm:ml-8" variant="default" />
5757
</a>

0 commit comments

Comments
 (0)