basic structure folder and style
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import Footer from './Footer';
|
||||
import Header from './Header';
|
||||
|
||||
function Layout({ children, title }) {
|
||||
return (
|
||||
<div>
|
||||
{/* <head>
|
||||
<title>{`${title} | نوبت ۷۲۴`}</title>
|
||||
</head> */}
|
||||
<main className="w-full min-h-screen">
|
||||
<header className="sticky top-0 w-full z-[60]">
|
||||
<Header />
|
||||
</header>
|
||||
<section>
|
||||
{children}
|
||||
</section>
|
||||
</main>
|
||||
<footer className=" bg-[#F5F5F5]">
|
||||
<Footer />
|
||||
</footer>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Layout
|
||||
Reference in New Issue
Block a user