import type {ComponentChildren, JSX} from "preact"; import style from "./style.module.scss" import {Settings} from "preact-feather" import {routeCtx, routes} from "@/contexts/route"; import {useContext} from "preact/hooks"; export function Layout(props: { breadcrumbs: JSX.Element, title: string, children: ComponentChildren }) { const [,setRoute] = useContext(routeCtx); return(