mirror of
https://github.com/sussy-code/smov.git
synced 2026-05-11 20:40:31 +00:00
28 lines
810 B
TypeScript
28 lines
810 B
TypeScript
import { Link } from "react-router-dom";
|
|
|
|
import { BrandPill } from "@/components/layout/BrandPill";
|
|
import { BlurEllipsis } from "@/pages/layouts/SubPageLayout";
|
|
|
|
export function MinimalPageLayout(props: { children: React.ReactNode }) {
|
|
return (
|
|
<div
|
|
className="bg-background-main min-h-screen"
|
|
style={{
|
|
backgroundImage:
|
|
"linear-gradient(to bottom, var(--tw-gradient-from), var(--tw-gradient-to) 800px)",
|
|
}}
|
|
>
|
|
<BlurEllipsis />
|
|
{/* Main page */}
|
|
<div className="fixed px-7 py-5 left-0 top-0">
|
|
<Link
|
|
className="block tabbable rounded-full text-xs ssm:text-base"
|
|
to="/"
|
|
>
|
|
<BrandPill clickable />
|
|
</Link>
|
|
</div>
|
|
<div className="min-h-screen">{props.children}</div>
|
|
</div>
|
|
);
|
|
}
|