Refactor and update navigation and constants
- Refactor code for consistency in formatting and styling. - Update `navLinks` to revise URLs and labels for improved clarity. - Adjust button text in `DesktopNav` from "Portal" to "Kontakt".
This commit is contained in:
@@ -60,8 +60,12 @@ const Nav = ({openNav}: Props) => {
|
||||
<div className="hidden lg:flex items-center space-x-6 transition-all duration-300 ease-in-out">
|
||||
{navLinks.map((link) => (
|
||||
<Link href={link.url} key={link.id}>
|
||||
<p className={`nav_link ${contentSize} transition-all duration-300 ease-in-out`}
|
||||
style={{color: colors.primaryText}}>{link.label}</p>
|
||||
<p
|
||||
className={`nav_link ${contentSize} transition-all duration-300 ease-in-out uppercase font-semibold`}
|
||||
style={{color: colors.primaryText}}>
|
||||
{link.label}
|
||||
</p>
|
||||
|
||||
</Link>
|
||||
))}
|
||||
</div>
|
||||
@@ -72,7 +76,7 @@ const Nav = ({openNav}: Props) => {
|
||||
<button
|
||||
className={`${buttonSize} text-white font-semibold bg-blue-700 hover:bg-blue-900 transition-all duration-300 ease-in-out rounded-full`}
|
||||
>
|
||||
Portal
|
||||
Kontakt
|
||||
</button>
|
||||
|
||||
{/* Theme Toggle Button */}
|
||||
|
||||
Reference in New Issue
Block a user