init commit
This commit is contained in:
commit
7a46269eff
55 changed files with 1423 additions and 0 deletions
22
app/layout.tsx
Normal file
22
app/layout.tsx
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
import { ThemeContextProvider } from '@contexts/ThemeContext'
|
||||
|
||||
import Footer from '@components/Footer'
|
||||
import Header from '@components/Header'
|
||||
|
||||
import './globals.css'
|
||||
|
||||
const Layout = ({ children }: any) => (
|
||||
<html lang="en">
|
||||
<body>
|
||||
<main>
|
||||
<ThemeContextProvider>
|
||||
<Header />
|
||||
{children}
|
||||
<Footer />
|
||||
</ThemeContextProvider>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
|
||||
export default Layout
|
||||
Loading…
Add table
Add a link
Reference in a new issue