basic structure folder and style

This commit is contained in:
Ehsan
2024-05-14 19:54:46 +03:30
parent 78ba0a6478
commit 4d71481738
333 changed files with 9853 additions and 149 deletions
+25
View File
@@ -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