Compare commits
	
		
			2 Commits
		
	
	
		
			e32df99446
			...
			f51c1292d6
		
	
	| Author | SHA1 | Date | 
|---|---|---|
| 
							
							
								
								 | 
						f51c1292d6 | |
| 
							
							
								
								 | 
						65c23d4872 | 
| 
						 | 
					@ -46,7 +46,12 @@ export default function LoginForm() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return (
 | 
						return (
 | 
				
			||||||
		<>
 | 
							<>
 | 
				
			||||||
			{submitted ? <p>Logging in...</p> :
 | 
								{submitted ? <>
 | 
				
			||||||
 | 
									<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,13 +1,28 @@
 | 
				
			||||||
import Image from "next/image";
 | 
					import Link from "next/link";
 | 
				
			||||||
import styles from "./page.module.css";
 | 
					import { Button } from "@/components/ui/button";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default function Home() {
 | 
					export default function Home() {
 | 
				
			||||||
  return (
 | 
					  return (
 | 
				
			||||||
    <main className={styles.main}>
 | 
					    <main className="flex flex-col items-center justify-around h-60 w-26">
 | 
				
			||||||
      Hello
 | 
					      < div >
 | 
				
			||||||
      <h1 className="text-3xl font-black underline">
 | 
					        <h1 className="text-3xl font-black">
 | 
				
			||||||
        Hello world!
 | 
					          Welcome to Subman
 | 
				
			||||||
        </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,6 +781,10 @@ body {
 | 
				
			||||||
  margin-top: 1.5rem;
 | 
					  margin-top: 1.5rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.mb-6 {
 | 
				
			||||||
 | 
					  margin-bottom: 1.5rem;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.block {
 | 
					.block {
 | 
				
			||||||
  display: block;
 | 
					  display: block;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -883,6 +887,10 @@ body {
 | 
				
			||||||
  height: 100vh;
 | 
					  height: 100vh;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.h-60 {
 | 
				
			||||||
 | 
					  height: 15rem;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.max-h-96 {
 | 
					.max-h-96 {
 | 
				
			||||||
  max-height: 24rem;
 | 
					  max-height: 24rem;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -968,6 +976,14 @@ 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;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -1125,6 +1141,10 @@ 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