🐱
This commit is contained in:
parent
110cb2a3e5
commit
869f3dfbe3
7 changed files with 173 additions and 31 deletions
29
components/Footer.tsx
Normal file
29
components/Footer.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
|
|
@ -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>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue