wip: cloud
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { Title } from "@solidjs/meta"
|
import { Title } from "@solidjs/meta"
|
||||||
import { onCleanup, onMount } from "solid-js"
|
import { Match, onCleanup, onMount, Switch } from "solid-js"
|
||||||
import "./index.css"
|
import "./index.css"
|
||||||
import logoLight from "../asset/logo-ornate-light.svg"
|
import logoLight from "../asset/logo-ornate-light.svg"
|
||||||
import logoDark from "../asset/logo-ornate-dark.svg"
|
import logoDark from "../asset/logo-ornate-dark.svg"
|
||||||
@@ -87,9 +87,16 @@ export default function Home() {
|
|||||||
</a>
|
</a>
|
||||||
<span data-slot="description">, a curated list of models provided by opencode</span>
|
<span data-slot="description">, a curated list of models provided by opencode</span>
|
||||||
<span data-slot="divider"> / </span>
|
<span data-slot="divider"> / </span>
|
||||||
<A href={workspace() ? "/workspace/" + workspace() : "/auth/authorize"}>
|
<Switch>
|
||||||
{workspace() ? "Dashboard" : "Sign in"}
|
<Match when={workspace()}>
|
||||||
</A>
|
<A href={"/workspace/" + workspace()}>
|
||||||
|
Dashboard
|
||||||
|
</A>
|
||||||
|
</Match>
|
||||||
|
<Match when={true}>
|
||||||
|
<a target="_self" href="/auth/authorize">Sign in</a>
|
||||||
|
</Match>
|
||||||
|
</Switch>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section data-component="features">
|
<section data-component="features">
|
||||||
|
|||||||
Reference in New Issue
Block a user