Compare commits
No commits in common. "f51c1292d6b5a1f34bd9665a1e89dff157d4a518" and "e32df994465e6e73d03cd72556ca0b27b63b7374" have entirely different histories.
f51c1292d6
...
e32df99446
|
@ -46,12 +46,7 @@ export default function LoginForm() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{submitted ? <>
|
{submitted ? <p>Logging in...</p> :
|
||||||
<h1>Logging in...</h1>
|
|
||||||
<Button asChild>
|
|
||||||
<Link href={redirect}>Continue</Link>
|
|
||||||
</Button>
|
|
||||||
</> :
|
|
||||||
<Form {...form}>
|
<Form {...form}>
|
||||||
<form onSubmit={onSubmit} className="mt-20 flex flex-col items-center space-y-6">
|
<form onSubmit={onSubmit} className="mt-20 flex flex-col items-center space-y-6">
|
||||||
<FormField
|
<FormField
|
||||||
|
|
|
@ -1,28 +1,13 @@
|
||||||
import Link from "next/link";
|
import Image from "next/image";
|
||||||
import { Button } from "@/components/ui/button";
|
import styles from "./page.module.css";
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
return (
|
return (
|
||||||
<main className="flex flex-col items-center justify-around h-60 w-26">
|
<main className={styles.main}>
|
||||||
< div >
|
Hello
|
||||||
<h1 className="text-3xl font-black">
|
<h1 className="text-3xl font-black underline">
|
||||||
Welcome to Subman
|
Hello world!
|
||||||
</h1>
|
</h1>
|
||||||
</div >
|
|
||||||
<div>
|
|
||||||
<p className="mb-6">
|
|
||||||
This app is for demonstration purposes only. Data is reset periodically.
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
USERNAME: demo@demo.demo
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
PASSWORD: password
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<Button className="mt-6">
|
|
||||||
<Link href="/login">Log in</Link>
|
|
||||||
</Button>
|
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -781,10 +781,6 @@ body {
|
||||||
margin-top: 1.5rem;
|
margin-top: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mb-6 {
|
|
||||||
margin-bottom: 1.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.block {
|
.block {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
@ -887,10 +883,6 @@ body {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.h-60 {
|
|
||||||
height: 15rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.max-h-96 {
|
.max-h-96 {
|
||||||
max-height: 24rem;
|
max-height: 24rem;
|
||||||
}
|
}
|
||||||
|
@ -976,14 +968,6 @@ body {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
.w-14 {
|
|
||||||
width: 3.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.w-20 {
|
|
||||||
width: 5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.min-w-\[8rem\] {
|
.min-w-\[8rem\] {
|
||||||
min-width: 8rem;
|
min-width: 8rem;
|
||||||
}
|
}
|
||||||
|
@ -1141,10 +1125,6 @@ body {
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
}
|
}
|
||||||
|
|
||||||
.justify-items-center {
|
|
||||||
justify-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.gap-1 {
|
.gap-1 {
|
||||||
gap: 0.25rem;
|
gap: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue