Add webapp skeletons

This commit is contained in:
2025-11-04 19:43:51 +01:00
parent 20a42f3c55
commit 9ed711777c
11 changed files with 218 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
import { type PropsWithChildren } from "react";
import { Link } from "react-router";
export function RouterLink(
p: PropsWithChildren<{ to: string; target?: React.HTMLAttributeAnchorTarget }>
): React.ReactElement {
return (
<Link
to={p.to}
target={p.target}
style={{ color: "inherit", textDecoration: "inherit" }}
>
{p.children}
</Link>
);
}