Skip to content

Commit

Permalink
navbar styles
Browse files Browse the repository at this point in the history
  • Loading branch information
tidbitsjs committed May 27, 2023
1 parent 4f104ea commit c65475c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
}

.flex-center {
@apply flex items-center justify-center;
@apply flex items-center justify-center;
}

.flex-between {
@apply flex justify-between items-center;
}

.custom-btn {
Expand Down
4 changes: 2 additions & 2 deletions components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import CustomButton from "./CustomButton";
const NavBar = () => {
return (
<header className="w-full absolute z-10">
<nav className="max-w-[1440px] mx-auto flex justify-between items-center sm:px-16 px-6 py-4 bg-transparent">
<Link href="/" className="flex justify-center items-center">
<nav className="max-width flex-betweeb padding-x padding-y bg-transparent">
<Link href="/" className="flex-center">
<Image
src="/logo.svg"
alt="logo"
Expand Down

0 comments on commit c65475c

Please sign in to comment.