fix: broken links

This commit is contained in:
Adam 2025-10-02 09:00:22 -05:00
parent 9ee4e2e3d4
commit eb4f55bdf6
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
2 changed files with 12 additions and 12 deletions

View file

@ -1,4 +1,4 @@
import { A, createAsync } from "@solidjs/router"
import { createAsync } from "@solidjs/router"
import { createMemo } from "solid-js"
import { github } from "~/lib/github"
@ -16,18 +16,18 @@ export function Footer() {
return (
<footer data-component="footer">
<div data-slot="cell">
<A href="https://github.com/sst/opencode" target="_blank">
<a href="https://github.com/sst/opencode" target="_blank">
GitHub <span>[{starCount()}]</span>
</A>
</a>
</div>
<div data-slot="cell">
<A href="/docs">Docs</A>
<a href="/docs">Docs</a>
</div>
<div data-slot="cell">
<A href="/discord">Discord</A>
<a href="/discord">Discord</a>
</div>
<div data-slot="cell">
<A href="https://x.com/opencode">X</A>
<a href="https://x.com/opencode">X</a>
</div>
</footer>
)

View file

@ -29,9 +29,9 @@ export function Header(props: { zen?: boolean }) {
<nav data-component="nav-desktop">
<ul>
<li>
<A href="https://github.com/sst/opencode" target="_blank">
<a href="https://github.com/sst/opencode" target="_blank">
GitHub <span>[{starCount()}]</span>
</A>
</a>
</li>
<li>
<a href="/docs">Docs</a>
@ -100,17 +100,17 @@ export function Header(props: { zen?: boolean }) {
<A href="/">Home</A>
</li>
<li>
<A href="https://github.com/sst/opencode" target="_blank">
<a href="https://github.com/sst/opencode" target="_blank">
GitHub <span>[{starCount()}]</span>
</A>
</a>
</li>
<li>
<A href="/docs">Docs</A>
<a href="/docs">Docs</a>
</li>
<li>
<Switch>
<Match when={props.zen}>
<A href="/auth">Login</A>
<a href="/auth">Login</a>
</Match>
<Match when={!props.zen}>
<A href="/zen">Zen</A>