sort tw classes

This commit is contained in:
2024-08-15 14:17:56 +02:00
parent 0ebef3657f
commit 8b1a09d960
12 changed files with 23 additions and 27 deletions

View File

@@ -34,7 +34,7 @@ function Header() {
logout()
}
return (
<header className={"flex justify-between items-center p-4"}>
<header className={"flex items-center justify-between p-4"}>
<h1 className={"text-3xl"}>Tasks</h1>
<div className={"flex gap-4"}>
<ModeToggle />

View File

@@ -2,9 +2,9 @@ import { Head, Html, Main, NextScript } from "next/document"
export default function Document() {
return (
<Html lang="en" className={"bg-zinc-950 h-screen"}>
<Html lang="en" className={"h-screen bg-zinc-950"}>
<Head />
<body className={"h-full grid grid-rows-[auto_1fr] overflow-hidden"}>
<body className={"grid h-full grid-rows-[auto_1fr] overflow-hidden"}>
<Main />
<NextScript />
</body>

View File

@@ -13,6 +13,7 @@ const Login: NextPage = () => {
e.preventDefault()
const formData = new FormData(e.currentTarget)
// biome-ignore lint/suspicious/noExplicitAny: <explanation>
const values = Object.fromEntries(formData) as any
signUp(values)
}
@@ -23,7 +24,7 @@ const Login: NextPage = () => {
className={"flex w-96 flex-col gap-3 rounded-md border p-6"}
onSubmit={handleSubmit}
>
<h1 className={"text-2xl font-bold"}>Sign up</h1>
<h1 className={"font-bold text-2xl"}>Sign up</h1>
<label className={"flex flex-col gap-1"}>
Username (optional)
<Input name={"username"} type="text" />