Skip to content

Commit d2d3407

Browse files
authored
style: header animated image (#54)
* style: header animated image * chore: auto-fix linting and formatting issues --------- Co-authored-by: hamster1963 <[email protected]>
1 parent c117788 commit d2d3407

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

public/animated-man.webp

37.5 KB
Binary file not shown.

src/components/header.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,12 @@ export default function Header() {
6666

6767
return isDesktop ? (
6868
<header className="flex pt-8 px-4 overflow-x-auto dark:bg-black/40 bg-muted border-b-[1px]">
69-
<NavigationMenu className="flex flex-col items-start max-w-5xl mx-auto">
69+
<NavigationMenu className="flex flex-col items-start relative max-w-5xl mx-auto">
70+
<img
71+
className="absolute -right-0 z-[9999] top-11 w-20 scale-100 pointer-events-none"
72+
alt={"animated-man"}
73+
src={"/dashboard/animated-man.webp"}
74+
/>
7075
<section className="w-full flex items-center justify-between">
7176
<div className="flex justify-between items-center w-full">
7277
<NavigationMenuLink

0 commit comments

Comments
 (0)