diff options
Diffstat (limited to 'src/components/Layout.tsx')
| -rw-r--r-- | src/components/Layout.tsx | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx deleted file mode 100644 index fec336f..0000000 --- a/src/components/Layout.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import React from "react"; -import { IconContext } from "react-icons/lib"; -import { Content, Footer } from "../styles"; -import { useSiteVersion } from "../hooks"; -import { getTimestamp } from "../util/timestamp"; - -import "../styles/main.css"; - -interface LayoutProps { - children: React.ReactNode; -} - -const Layout = ({ children }: LayoutProps) => { - const version = useSiteVersion(); - return ( - <React.StrictMode> - <main> - <IconContext.Provider - value={{ size: "20", style: { marginBottom: "-4px" } }} - > - <Content>{children}</Content> - - <Footer> - <span> - ©2023 kjhoerr@https://submelon.dev/: - {getTimestamp(Number(version))} - </span> - </Footer> - </IconContext.Provider> - </main> - </React.StrictMode> - ); -}; - -export default Layout; |
