Partials OK, auto navbar and content
This commit is contained in:
@@ -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>
|
||||
© 2025 PolyMPR -{" "}
|
||||
<a href="/about" f-client-nav={false}>About</a>
|
||||
© 2025 PolyMPR - <a href="/about" f-client-nav={false}>About</a>
|
||||
</p>
|
||||
</footer>
|
||||
);
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user