Solved a little bug
This commit is contained in:
@@ -21,7 +21,7 @@ export default function Navbar({currentPage}: {currentPage: string}) {
|
||||
href="/"
|
||||
className={clsx(
|
||||
"hover:border-b-2 hover:border-b-mti-purple-light transition ease-in-out duration-300",
|
||||
currentPage === "/" && "",
|
||||
currentPage === "/" && "border-b-2 border-b-mti-purple-light",
|
||||
)}>
|
||||
Home
|
||||
</Link>
|
||||
@@ -29,7 +29,7 @@ export default function Navbar({currentPage}: {currentPage: string}) {
|
||||
href="/services"
|
||||
className={clsx(
|
||||
"hover:border-b-2 hover:border-b-mti-purple-light transition ease-in-out duration-300",
|
||||
currentPage === "/services" && "",
|
||||
currentPage === "/services" && "border-b-2 border-b-mti-purple-light",
|
||||
)}>
|
||||
Services
|
||||
</Link>
|
||||
@@ -37,7 +37,7 @@ export default function Navbar({currentPage}: {currentPage: string}) {
|
||||
href="/about"
|
||||
className={clsx(
|
||||
"hover:border-b-2 hover:border-b-mti-purple-light transition ease-in-out duration-300",
|
||||
currentPage === "/about" && "",
|
||||
currentPage === "/about" && "border-b-2 border-b-mti-purple-light",
|
||||
)}>
|
||||
About us
|
||||
</Link>
|
||||
@@ -45,7 +45,7 @@ export default function Navbar({currentPage}: {currentPage: string}) {
|
||||
href="/history"
|
||||
className={clsx(
|
||||
"hover:border-b-2 hover:border-b-mti-purple-light transition ease-in-out duration-300",
|
||||
currentPage === "/history" && "",
|
||||
currentPage === "/history" && "border-b-2 border-b-mti-purple-light",
|
||||
)}>
|
||||
History
|
||||
</Link>
|
||||
@@ -53,7 +53,7 @@ export default function Navbar({currentPage}: {currentPage: string}) {
|
||||
href="/contact"
|
||||
className={clsx(
|
||||
"hover:border-b-2 hover:border-b-mti-purple-light transition ease-in-out duration-300",
|
||||
currentPage === "/contact" && "",
|
||||
currentPage === "/contact" && "border-b-2 border-b-mti-purple-light",
|
||||
)}>
|
||||
Contact
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user