This commit is contained in:
laura 2025-11-08 08:48:19 -03:00
parent 110cb2a3e5
commit 869f3dfbe3
Signed by: w
GPG key ID: BCD2117C99E69817
7 changed files with 173 additions and 31 deletions

29
components/Footer.tsx Normal file
View file

@ -0,0 +1,29 @@
/**
* Copyright (c) 2025 misties
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
export default function Footer() {
return (
<footer class="section typewriting">
<p class="alt alt-font">
Made with <span class="highlight"></span> · Source code available at
{" "}
<a href="https://kyu.re/~web">git.acpi.at</a> under the{" "}
<a href="https://spdx.org/licenses/AGPL-3.0-or-later.html">
GNU Affero General Public License v3.0
</a>
, with all site content licensed under{" "}
<a href="https://creativecommons.org/licenses/by-sa/4.0/">
CC BY-SA 4.0
</a>
.
</p>
<br />
<p class="alt alt-font">
© 2025 <span class="highlight">favewa</span>{" "}
Powered by FreeBSD and autism
</p>
</footer>
);
}

View file

@ -3,21 +3,24 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
export default function Links(
props: { selected: "home" | "reports" | "misc" },
) {
export default function Links(props: {
selected: "home" | "about" | "reports" | "misc";
}) {
return (
<nav>
<ul>
<li class={props.selected === "home" ? "selected" : ""}>
<a href="/">home</a>
</li>{" "}
<li class={props.selected === "about" ? "selected" : ""}>
<a href="/about">about</a>
</li>
<li class={props.selected === "reports" ? "selected" : ""}>
<a href="/reports">reports</a>
</li>
<li class={props.selected === "misc" ? "selected" : ""}>
<a href="/misc">misc</a>
</li>
{/* <li class={props.selected === "misc" ? "selected" : ""}> */}
{/* <a href="/misc">misc</a> */}
{/* </li> */}
</ul>
</nav>
);