Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
taiwonaf committed Jul 25, 2024
1 parent 6a2644c commit 3b195bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 2 additions & 6 deletions src/app/(auth-routes)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@

import Footer from "~/components/layouts/footer";

import { Suspense } from "react";


import Footer from "~/components/layouts/footer";
import Navbar from "~/components/layouts/navbar";

function Layout({ children }: { children: React.ReactNode }) {
return (
<>

<Navbar is_auth_path />
<div className="mx-auto w-5/6">
<Suspense>{children}</Suspense>
</div>
<Footer />
<Footer />
</>
);
}
Expand Down
2 changes: 0 additions & 2 deletions src/components/layouts/navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ const Navbar = ({ is_auth_path = false }: { is_auth_path?: boolean }) => {
});
return (
<nav

className={`${scrolling ? "shadow-md" : "shadow-none"} sticky left-0 right-0 top-0 z-10 bg-background px-4`}

>
<div
className={`${scrolling ? "py-2" : "py-4 md:py-9"} flex w-full items-center justify-between gap-x-4 transition-all duration-500`}
Expand Down

0 comments on commit 3b195bb

Please sign in to comment.