Skip to content

Commit 3f36cfb

Browse files
committed
feat: add version number to login page
the version number of the website will be shown at the bottom left of the login page Refs: #69
1 parent 2f11b7b commit 3f36cfb

1 file changed

Lines changed: 16 additions & 12 deletions

File tree

labman/src/app/(auth)/login/page.tsx

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,22 @@ export default function Home() {
3030

3131
}
3232
return (
33-
<div className="mx-auto w-fit">
34-
<h1 className="mx-auto w-fit font-bold text-6xl my-8">VR Lab Management</h1>
35-
<div className="my-80">
36-
<h1 className="font-bold text-5xl mx-auto w-fit">Login</h1>
37-
<form onSubmit={handleSubmit} className="flex flex-col gap-5 pt-4">
38-
<input value={username} onChange={(e) => setUsername(e.target.value)} type="text" name="username" placeholder="Username" className="bg-white rounded-md p-2 m-2 placeholder-black text-black" />
39-
<input value={password} onChange={(e) => setPassword(e.target.value)} type="password" name="password" placeholder="Password" className="bg-white rounded-md p-2 m-2 placeholder-black text-black" />
40-
<button type="submit" className="bg-green-500 text-black rounded-md p-2 m-2 font-bold">LOGIN</button>
41-
</form>
42-
</div>
43-
44-
</div>
33+
<>
34+
<div className="mx-auto w-fit">
35+
<h1 className="mx-auto w-fit font-bold text-6xl my-8">VR Lab Management</h1>
36+
<div className="my-80">
37+
<h1 className="font-bold text-5xl mx-auto w-fit">Login</h1>
38+
<form onSubmit={handleSubmit} className="flex flex-col gap-5 pt-4">
39+
<input value={username} onChange={(e) => setUsername(e.target.value)} type="text" name="username" placeholder="Username" className="bg-white rounded-md p-2 m-2 placeholder-black text-black" />
40+
<input value={password} onChange={(e) => setPassword(e.target.value)} type="password" name="password" placeholder="Password" className="bg-white rounded-md p-2 m-2 placeholder-black text-black" />
41+
<button type="submit" className="bg-green-500 text-black rounded-md p-2 m-2 font-bold">LOGIN</button>
42+
</form>
43+
</div>
44+
</div>
45+
<p className={"text-gray-300 text-2xl mb-3 ml-3 fixed bottom-0"}>v1.0.0</p>
46+
</>
47+
48+
4549

4650

4751
);

0 commit comments

Comments
 (0)