feat: login page and input

This commit is contained in:
2025-04-02 15:20:13 +03:00
parent 1eeaf31e52
commit 78117e3421
4 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
@reference "../index.scss";
.login_container {
@apply flex flex-row justify-center gap-2 align-middle;
}

15
src/pages/login.tsx Normal file
View File

@@ -0,0 +1,15 @@
import Button from "@/components/ui/Button";
import Input from "@/components/ui/Input";
import { FunctionComponent } from "preact";
import classes from "./login.module.scss";
const LoginPage: FunctionComponent = () => {
return (
<div class={classes.login_container}>
<Input placeholder="Login" />
<Input isPassword placeholder="Password" />
<Button onClick={() => {}}>Login</Button>
</div>
);
};
export default LoginPage;