Skip to content

Commit f061cbb

Browse files
committed
Made code prettier
1 parent cede5b9 commit f061cbb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

client/src/components/ui/navbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ export default function Navbar() {
2525
<>
2626
<nav className="medium-sm fixed left-0 top-0 flex h-16 w-screen items-center justify-between bg-light">
2727
{/* Logo container */}
28-
{/* <div className="ml-10 rounded p-2 text-center">LOGO</div> */}
2928
<div className="relative mx-10 flex h-10 w-28 items-center">
3029
<Image
3130
className="object-contain"
@@ -36,7 +35,7 @@ export default function Navbar() {
3635
/>
3736
</div>
3837

39-
{/* Navbar traversal options container */}
38+
{/* Navbar options/links container */}
4039
<div className="hidden items-center gap-8 lg:flex">
4140
{navlinks.map((link) => (
4241
<Link
@@ -53,6 +52,7 @@ export default function Navbar() {
5352
View Live Results
5453
</div>
5554
</div>
55+
{/* Mobile navbar */}
5656
<div onClick={handleNav} className="mr-5 cursor-pointer lg:hidden">
5757
<FiAlignJustify size={35} />
5858
</div>

client/src/styles/globals.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@
103103

104104
@layer components {
105105
.nav-link {
106-
@apply text-dark hover:text-primary transition-colors duration-200;
106+
@apply text-dark transition-colors duration-200 hover:text-primary;
107107
}
108108
.nav-link-active {
109109
@apply text-primary;
110110
}
111-
}
111+
}

0 commit comments

Comments
 (0)