Merge branch 'homepage-refactoring' into 'dev'

Refactor the whole page.

See merge request rheinsw/website!26
This commit is contained in:
2025-04-11 19:08:43 +00:00
parent d19a90ce9a
commit 14ec81f4c2
33 changed files with 728 additions and 237 deletions

View File

@@ -63,12 +63,18 @@ const Nav = ({openNav}: Props) => {
{navLinks.map((link) => (
<Link href={link.url} key={link.id}>
<p
className={`nav_link ${contentSize} uppercase transition-all duration-300 ease-in-out ${
className={`relative group ${contentSize} uppercase transition-all duration-300 ease-in-out ${
pathname === link.url
? "text-white font-bold"
: "text-gray-300 font-medium"
}`}>
}`}
>
{link.label}
{pathname !== link.url && (
<span
className="absolute bottom-0 left-0 w-full h-[2px] bg-current transform transition-transform duration-300 origin-right scale-x-0 group-hover:scale-x-100"
/>
)}
</p>
</Link>
))}