Skip to content

Commit 7dc9658

Browse files
committed
Animation
1 parent 0200b44 commit 7dc9658

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/components/Header/Navbar.component.tsx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,19 @@ const Navbar = () => {
3838
<div className="flex items-center justify-between">
3939
<div className="flex items-center space-x-8">
4040
<Link href="/produkter">
41-
<span className="text-sm uppercase tracking-wider hover:text-gray-500 transition-colors">
42-
Produkter
41+
<span className="text-sm uppercase tracking-wider group relative">
42+
<span className="relative inline-block">
43+
<span className="absolute -bottom-1 left-0 w-0 h-px bg-gray-900 group-hover:w-full transition-all duration-500"></span>
44+
Produkter
45+
</span>
4346
</span>
4447
</Link>
4548
<Link href="/kategorier">
46-
<span className="text-sm uppercase tracking-wider hover:text-gray-500 transition-colors">
47-
Kategorier
49+
<span className="text-sm uppercase tracking-wider group relative">
50+
<span className="relative inline-block">
51+
<span className="absolute -bottom-1 left-0 w-0 h-px bg-gray-900 group-hover:w-full transition-all duration-500"></span>
52+
Kategorier
53+
</span>
4854
</span>
4955
</Link>
5056
</div>

0 commit comments

Comments
 (0)