演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
21 lines
696 B
TypeScript
21 lines
696 B
TypeScript
'use client'
|
|
import { cn } from '@langgenius/dify-ui/cn'
|
|
import Header from './_header'
|
|
|
|
export default function DeviceLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<div className={cn('flex min-h-screen w-full justify-center bg-background-default-burn p-6')}>
|
|
<div
|
|
className={cn(
|
|
'flex w-full shrink-0 flex-col items-center rounded-2xl border border-effects-highlight bg-background-default-subtle',
|
|
)}
|
|
>
|
|
<Header />
|
|
<div className={cn('flex w-full grow flex-col items-center justify-center px-6 md:px-27')}>
|
|
<div className="flex flex-col md:w-100">{children}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|