Added catalog generation, need to bug fix

This commit is contained in:
Kevin FEDYNA
2025-01-15 10:15:02 +01:00
parent ccad788e19
commit eea49969b5
17 changed files with 248 additions and 99 deletions
+12
View File
@@ -0,0 +1,12 @@
type FooterProps = Record<string | number | symbol, never>;
export default function Footer(_props: FooterProps) {
return (
<footer>
<p>
&copy; 2025 PolyMPR -{" "}
<a href="/about" f-client-nav={false}>About</a>
</p>
</footer>
);
}
+17
View File
@@ -0,0 +1,17 @@
type HeaderProps = {
link: string;
};
export default function Header(props: HeaderProps) {
return (
<header>
<h1>
<a href="/" f-client-nav={false}>PolyMPR</a>
</h1>
<nav>
<a href="/apps" f-client-nav={false}>Catalog</a>
<a href={`/log${props.link}`} f-client-nav={false}>Log {props.link}</a>
</nav>
</header>
);
}