diff options
| author | Kevin Hoerr <kjhoerr@protonmail.com> | 2023-12-23 23:59:02 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-23 23:59:02 -0500 |
| commit | 3140267ea0a3b37032003992695afd7dc1f4f46c (patch) | |
| tree | 8fa8dc00f62bcaaa0c5cfac3cec199c45dd5f29c /src/components/Layout.tsx | |
| parent | 23cc0d2f06958720b694660cd8c7e4125d09b231 (diff) | |
| download | submelon.dev-3140267ea0a3b37032003992695afd7dc1f4f46c.tar.gz submelon.dev-3140267ea0a3b37032003992695afd7dc1f4f46c.tar.bz2 submelon.dev-3140267ea0a3b37032003992695afd7dc1f4f46c.zip | |
De gatsby (#326)
* de-gatsby
* Add inversed image for dark background
* eleventy
* Reinstate workflows to prior state
* Strip inline styling for index image
* Passthrough src/public/ files
* Use global data to encode build date encoded string
* Clean public directory before build
* Reinstall eslint, prettier
* Reinstate .gitattributes for public dir
* build.yml: escape config file for version numbering
* Revert public changes for PR validation
* Rename src/public/ to src/static/
* Include github-actions in dependabot updates
* re-establish typescript
* Update prevent-file-change-action to v1.5.1
* Re-add typescript to linting
* Re-add typescript for eslint
* Fix whitespace diff for tsconfig.json
* Fix whitespace in .eslintrc.json
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; |
