idk
This commit is contained in:
parent
862b11b9ef
commit
9c6da082a0
31 changed files with 441 additions and 263 deletions
|
|
@ -4,7 +4,7 @@
|
|||
*/
|
||||
|
||||
export default function Links(props: {
|
||||
selected: "home" | "about" | "reports" | "misc";
|
||||
selected: "home" | "contact" | "reports";
|
||||
}) {
|
||||
return (
|
||||
<nav>
|
||||
|
|
@ -12,15 +12,12 @@ export default function Links(props: {
|
|||
<li class={props.selected === "home" ? "selected" : ""}>
|
||||
<a href="/">home</a>
|
||||
</li>{" "}
|
||||
<li class={props.selected === "about" ? "selected" : ""}>
|
||||
<a href="/about">about</a>
|
||||
<li class={props.selected === "contact" ? "selected" : ""}>
|
||||
<a href="/contact">contact</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> */}
|
||||
</ul>
|
||||
</nav>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue