Skip to content

Commit

Permalink
Applied prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
koss-service committed Jan 12, 2024
1 parent 8b97d22 commit 2ba90c3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ function BrandLogo() {
);
}


function getNavbarLinkClasses(isMobile: boolean, isActive: boolean = false) {
return (
(isMobile
Expand Down Expand Up @@ -119,8 +118,9 @@ function Navbar() {
return (
<div className="fixed inset-x-0 z-[210] w-full">
<nav
className={`flex shadow-md mt-4 items-center justify-between max-w-7xl gap-4 mx-auto border border-[#FFFFFF]/[0.16] px-4 py-2 rounded-lg w-[95%] inset-x-0 backdrop-blur-md z-50 ${mobileMenuOpen ? "hidden" : ""
}`}
className={`flex shadow-md mt-4 items-center justify-between max-w-7xl gap-4 mx-auto border border-[#FFFFFF]/[0.16] px-4 py-2 rounded-lg w-[95%] inset-x-0 backdrop-blur-md z-50 ${
mobileMenuOpen ? "hidden" : ""
}`}
>
<BrandLogo />
<div className="lg:hidden ml-auto -mr-5">
Expand All @@ -134,8 +134,9 @@ function Navbar() {

<div className={`${mobileMenuOpen ? "hidden" : null}`}>
<ul
className={`lg:flex lg:items-center lg:w-auto lg:space-x-6 ${mobileMenuOpen ? "block" : "hidden"
}`}
className={`lg:flex lg:items-center lg:w-auto lg:space-x-6 ${
mobileMenuOpen ? "block" : "hidden"
}`}
>
{LinksList(false)}

Expand Down Expand Up @@ -180,4 +181,3 @@ function MobileNavbar({ toggleMobileMenu }: { toggleMobileMenu: () => void }) {
}

export default Navbar;

3 changes: 1 addition & 2 deletions src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@ body {
*::-webkit-scrollbar-thumb {
background: linear-gradient(to top, #008aff, #00ffe7);
border-radius: 10px;

}
}

0 comments on commit 2ba90c3

Please sign in to comment.