27 lines
731 B
TypeScript
27 lines
731 B
TypeScript
// import Footer from "@components/Footer";
|
|
import Header from "@components/Header";
|
|
|
|
import { ThemeContextProvider } from "@contexts";
|
|
|
|
import "./globals.css";
|
|
|
|
const Layout = ({ children }: any) => (
|
|
<html lang="en">
|
|
<head>
|
|
<link rel="alternate" type="application/rss+xml" title="rss" href="/feed/rss" />
|
|
<link rel="alternate" type="application/atom+xml" title="atom" href="/feed/atom" />
|
|
<link rel="alternate" type="application/feed+json" title="json" href="/feed/json" />
|
|
</head>
|
|
<body>
|
|
<ThemeContextProvider>
|
|
<main>
|
|
<Header />
|
|
{children}
|
|
{/*<Footer />*/}
|
|
</main>
|
|
</ThemeContextProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
|
|
export default Layout;
|