mirror of
https://github.com/ershisan99/todolist_next.git
synced 2026-01-28 21:02:06 +00:00
sort tw classes
This commit is contained in:
@@ -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 />
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user