Partials OK, auto navbar and content

This commit is contained in:
Kevin FEDYNA
2025-01-15 15:43:52 +01:00
parent ed2997d51f
commit 9db588ff02
24 changed files with 510 additions and 321 deletions
+4 -3
View File
@@ -1,11 +1,12 @@
type FooterProps = Record<string | number | symbol, never>;
import { EmptyObject } from "$root/defaults/interfaces.ts";
type FooterProps = EmptyObject;
export default function Footer(_props: FooterProps) {
return (
<footer>
<p>
&copy; 2025 PolyMPR -{" "}
<a href="/about" f-client-nav={false}>About</a>
&copy; 2025 PolyMPR - <a href="/about" f-client-nav={false}>About</a>
</p>
</footer>
);
+13
View File
@@ -0,0 +1,13 @@
interface PartialLinkProps {
link: string;
partial: string;
display: string;
}
export default function PartialLink(props: PartialLinkProps) {
return (
<a href={props.link} f-partial={props.partial}>
{props.display}
</a>
);
}