This commit is contained in:
2025-12-06 19:29:34 +08:00
parent fa24a82568
commit 7b99bc0b54
8 changed files with 340 additions and 53 deletions

18
src/apps/bg.tsx Normal file
View File

@@ -0,0 +1,18 @@
export const BG = (props: { children: React.ReactNode }) => {
return (
<div
style={{
position: 'fixed',
top: 0,
left: 0,
width: '100vw',
height: '100vh',
backgroundColor: 'rgba(0, 0, 0, 0.5)',
zIndex: -1,
}}
>
{props.children}
</div>
);
}