fix: broken links

This commit is contained in:
Adam
2025-10-02 09:00:22 -05:00
parent 9ee4e2e3d4
commit eb4f55bdf6
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 { createMemo } from "solid-js"
import { github } from "~/lib/github" import { github } from "~/lib/github"
@@ -16,18 +16,18 @@ export function Footer() {
return ( return (
<footer data-component="footer"> <footer data-component="footer">
<div data-slot="cell"> <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> GitHub <span>[{starCount()}]</span>
</A> </a>
</div> </div>
<div data-slot="cell"> <div data-slot="cell">
<A href="/docs">Docs</A> <a href="/docs">Docs</a>
</div> </div>
<div data-slot="cell"> <div data-slot="cell">
<A href="/discord">Discord</A> <a href="/discord">Discord</a>
</div> </div>
<div data-slot="cell"> <div data-slot="cell">
<A href="https://x.com/opencode">X</A> <a href="https://x.com/opencode">X</a>
</div> </div>
</footer> </footer>
) )

View File

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