mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 02:04:22 +01:00
wip: zen
This commit is contained in:
@@ -43,7 +43,7 @@ export default function Home() {
|
|||||||
<main data-page="opencode">
|
<main data-page="opencode">
|
||||||
<HttpHeader name="Cache-Control" value="public, max-age=1, s-maxage=3600, stale-while-revalidate=86400" />
|
<HttpHeader name="Cache-Control" value="public, max-age=1, s-maxage=3600, stale-while-revalidate=86400" />
|
||||||
<Title>OpenCode | The AI coding agent built for the terminal</Title>
|
<Title>OpenCode | The AI coding agent built for the terminal</Title>
|
||||||
<Link rel="icon" type="image/svg+xml" href="/favicon-zen.svg" />
|
<Link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
<Meta property="og:image" content="/social-share.png" />
|
<Meta property="og:image" content="/social-share.png" />
|
||||||
<Meta name="twitter:image" content="/social-share.png" />
|
<Meta name="twitter:image" content="/social-share.png" />
|
||||||
<div data-component="container">
|
<div data-component="container">
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import { UserMenu } from "./user-menu"
|
|||||||
import { withActor } from "~/context/auth.withActor"
|
import { withActor } from "~/context/auth.withActor"
|
||||||
import { User } from "@opencode-ai/console-core/user.js"
|
import { User } from "@opencode-ai/console-core/user.js"
|
||||||
import { Actor } from "@opencode-ai/console-core/actor.js"
|
import { Actor } from "@opencode-ai/console-core/actor.js"
|
||||||
|
import { Link } from "@solidjs/meta"
|
||||||
|
|
||||||
const getUserEmail = query(async (workspaceID: string) => {
|
const getUserEmail = query(async (workspaceID: string) => {
|
||||||
"use server"
|
"use server"
|
||||||
@@ -21,6 +22,7 @@ export default function WorkspaceLayout(props: RouteSectionProps) {
|
|||||||
const userEmail = createAsync(() => getUserEmail(params.id))
|
const userEmail = createAsync(() => getUserEmail(params.id))
|
||||||
return (
|
return (
|
||||||
<main data-page="workspace">
|
<main data-page="workspace">
|
||||||
|
<Link rel="icon" type="image/svg+xml" href="/favicon-zen.svg" />
|
||||||
<header data-component="workspace-header">
|
<header data-component="workspace-header">
|
||||||
<div data-slot="header-brand">
|
<div data-slot="header-brand">
|
||||||
<A href="/" data-component="site-title">
|
<A href="/" data-component="site-title">
|
||||||
|
|||||||
Reference in New Issue
Block a user