Skip to content

Commit

Permalink
fix woopsie, denest marquee
Browse files Browse the repository at this point in the history
  • Loading branch information
kluvin committed Jan 21, 2025
1 parent beaca7a commit 607bee1
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,12 @@ const headerContent = `
</head>

<body class="bg-black text-primary-gold font-glacial mx-auto">
<!-- <ParticlesComponent client:load /> -->
<ParticlesComponent client:load />
<header class="sticky top-0">
<div class="backdrop"></div>
<div class="overflow-x-hidden py-4">
<Marquee className="[--duration:60s] [--gap:0rem]">
<Marquee className="py-4 [--duration:60s] [--gap:0rem]">
<div set:html={headerContent}></div>
</Marquee>
</div>
</header>

<main class="max-w-4xl mx-auto p-8">
Expand All @@ -56,13 +54,6 @@ const headerContent = `
height: 100%;
}

header {
--thickness: 4px;
position: sticky;
top: 0;
background: hsl(0deg 0% 0% / 0.3);
}

@supports (backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px)) {

.backdrop {
Expand Down

0 comments on commit 607bee1

Please sign in to comment.