2025-07-07 17:08:27 +01:00
|
|
|
// @ts-nocheck
|
|
|
|
|
|
2025-11-04 19:06:51 +00:00
|
|
|
import { Link } from "react-router"
|
|
|
|
|
const Header = () => {
|
2026-03-24 17:42:26 +00:00
|
|
|
return (
|
|
|
|
|
<header>
|
|
|
|
|
<nav className="">
|
|
|
|
|
<h1 className="site-title">
|
|
|
|
|
<Link className="title-link plain-link" to="/">
|
|
|
|
|
Systems Obscure
|
|
|
|
|
</Link>
|
|
|
|
|
</h1>
|
|
|
|
|
<ul className="header-links">
|
|
|
|
|
<li>
|
|
|
|
|
<Link to="/">Home</Link>
|
|
|
|
|
</li>
|
2026-03-13 18:40:02 +00:00
|
|
|
|
2026-03-24 17:42:26 +00:00
|
|
|
<li>
|
|
|
|
|
<Link to="/posts">Posts</Link>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<Link to="/about">About</Link>
|
|
|
|
|
</li>
|
|
|
|
|
<li className="flex flex-col items-center justify-center">
|
|
|
|
|
<a
|
|
|
|
|
className=""
|
|
|
|
|
href="https://forgejo.systemsobscure.net/thomasabishop"
|
|
|
|
|
target="blank"
|
|
|
|
|
>
|
|
|
|
|
Code
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li className="flex flex-col items-center justify-center">
|
|
|
|
|
<a
|
|
|
|
|
className=""
|
|
|
|
|
href="https://fosstodon.org/@systemsobscure"
|
|
|
|
|
rel="me"
|
|
|
|
|
target="blank"
|
|
|
|
|
>
|
|
|
|
|
Fosstodon
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</nav>
|
|
|
|
|
</header>
|
|
|
|
|
)
|
2025-07-07 17:08:27 +01:00
|
|
|
}
|
|
|
|
|
|
2025-11-04 19:06:51 +00:00
|
|
|
const Footer = () => {
|
2026-03-24 17:42:26 +00:00
|
|
|
return (
|
|
|
|
|
<footer className="mx-auto">
|
|
|
|
|
<nav>
|
|
|
|
|
<ul className="">
|
|
|
|
|
<li className="flex flex-col items-center justify-center">
|
|
|
|
|
<a
|
|
|
|
|
className=""
|
|
|
|
|
href="https://forgejo.systemsobscure.net/thomasabishop"
|
|
|
|
|
target="blank"
|
|
|
|
|
>
|
|
|
|
|
Forgejo
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</nav>
|
|
|
|
|
</footer>
|
|
|
|
|
)
|
2025-11-04 19:06:51 +00:00
|
|
|
}
|
2025-07-07 17:08:27 +01:00
|
|
|
|
2025-11-04 19:06:51 +00:00
|
|
|
const MainTemplate = ({ children }) => {
|
2026-03-24 17:42:26 +00:00
|
|
|
return (
|
|
|
|
|
<div className="">
|
|
|
|
|
<main className="">
|
|
|
|
|
<Header />
|
|
|
|
|
<div>{children}</div>
|
|
|
|
|
</main>
|
|
|
|
|
</div>
|
|
|
|
|
)
|
2025-07-07 17:08:27 +01:00
|
|
|
}
|
|
|
|
|
export default MainTemplate
|
2026-03-08 19:08:26 +00:00
|
|
|
//antialiased max-w-3xl mt-3 mx-auto bg-[#282828] no-scanlines wrapper
|
2026-03-13 18:40:02 +00:00
|
|
|
//main: flex-auto min-w-0 mt-0 flex flex-col px-2 md:px-0
|