Add new login page design

This commit is contained in:
Manuel
2023-08-11 21:44:33 +02:00
parent 74bf117fe3
commit 9ae2dc3037
5 changed files with 148 additions and 34 deletions

View File

@@ -0,0 +1,32 @@
import { Box } from '@mantine/core';
export const PolkaElement = ({
rotation,
left,
top,
right,
bottom,
}: {
rotation: number;
top?: number;
left?: number;
right?: number;
bottom?: number;
}) => {
return (
<Box
style={{
transform: `rotate(${rotation}deg)`,
pointerEvents: 'none'
}}
className="polka"
pos="absolute"
w="20%"
h="40%"
top={top}
right={right}
left={left}
bottom={bottom}
/>
);
};