feat: add stage 0 foundation

This commit is contained in:
hailin
2026-06-30 15:55:46 +08:00
parent 6d373da09f
commit 604f456e03
68 changed files with 4884 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import type * as React from 'react'
import { Sidebar } from './Sidebar'
import { Topbar } from './Topbar'
type AppShellProps = {
children: React.ReactNode
}
export function AppShell({ children }: AppShellProps) {
return (
<div className="min-h-screen bg-background text-foreground">
<Sidebar />
<div className="min-h-screen lg:pl-64">
<Topbar />
<main>{children}</main>
</div>
</div>
)
}

View File

@@ -0,0 +1,9 @@
export function Sidebar() {
return (
<aside className="fixed inset-y-0 left-0 hidden w-64 border-r border-border bg-surface lg:block">
<div className="border-b border-border px-4 py-3">
<p className="text-sm font-semibold text-foreground">AI Ticket Platform</p>
</div>
</aside>
)
}

View File

@@ -0,0 +1,7 @@
export function Topbar() {
return (
<header className="flex h-14 items-center border-b border-border bg-surface px-6">
<p className="text-sm text-muted-foreground">工单工作台</p>
</header>
)
}