refactor: header animation

This commit is contained in:
Kentai Radiquum 2024-11-24 22:32:44 +05:00
parent edd37aab83
commit 90ecc9143d
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
3 changed files with 72 additions and 48 deletions

View file

@ -35,7 +35,7 @@
<body class="flex flex-col gap-8 overflow-x-hidden bg-bg-black">
<header
class="fixed top-0 left-0 right-0 z-10 w-full text-white opacity-[var(--header-opacity,0)] bg-bg-pink rounded-b-lg"
class="fixed top-0 left-0 right-0 z-10 w-full text-white -translate-y-full transition-transform bg-bg-pink rounded-b-lg"
id="header">
<div class="container flex flex-wrap gap-1 mx-auto sm:items-center sm:justify-between">
<a href="#landing">