mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-13 00:10:27 +00:00
* feat: pnpm new * Refactor build and release workflows, update dependencies Switch build scripts and workflows from npm to pnpm, update build and artifact paths, and simplify release workflow by removing version detection and changelog steps. Add new dependencies (silk-wasm, express, ws, node-pty-prebuilt-multiarch), update exports in package.json files, and add vite config for napcat-framework. Also, rename manifest.json for framework package and fix static asset copying in shell build config.
26 lines
797 B
TypeScript
26 lines
797 B
TypeScript
import { Link } from '@heroui/link';
|
|
import { Tooltip } from '@heroui/tooltip';
|
|
|
|
import { GithubIcon } from '@/components/icons';
|
|
|
|
export default function PureLayout ({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<div className='relative flex flex-col h-screen'>
|
|
<div className='absolute right-0 top-0 p-2'>
|
|
<Tooltip content='查看WebUI源码' placement='left' showArrow>
|
|
<Link isExternal href='https://github.com/bietiaop/NextNapCatWebUI'>
|
|
<GithubIcon className='text-default-900 hover:text-default-600 w-10 h-10 hover:drop-shadow-lg transition-all' />
|
|
</Link>
|
|
</Tooltip>
|
|
</div>
|
|
<main className='flex-grow w-full flex flex-col justify-center items-center'>
|
|
{children}
|
|
</main>
|
|
</div>
|
|
);
|
|
}
|