mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 09:44:21 +01:00
fix: broken links
This commit is contained in:
@@ -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>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user