* 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.
25 lines
772 B
TypeScript
25 lines
772 B
TypeScript
import { Image } from '@heroui/image';
|
|
|
|
import bkg_color from '@/assets/images/bkg-color.png';
|
|
|
|
const PageBackground = () => {
|
|
return (
|
|
<>
|
|
<div className='fixed w-full h-full -z-[0] flex justify-end opacity-80'>
|
|
<Image
|
|
className='overflow-hidden object-contain -top-42 h-[160%] -right-[30%] -rotate-45 pointer-events-none select-none -z-10 relative'
|
|
src={bkg_color}
|
|
/>
|
|
</div>
|
|
<div className='fixed w-full h-full overflow-hidden -z-[0] hue-rotate-90 flex justify-start opacity-80'>
|
|
<Image
|
|
className='relative -top-92 h-[180%] object-contain pointer-events-none rotate-90 select-none -z-10 top-44'
|
|
src={bkg_color}
|
|
/>
|
|
</div>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default PageBackground;
|