landing page

This commit is contained in:
andrzej 2024-10-04 15:36:03 +02:00
parent e32df99446
commit 65c23d4872
2 changed files with 43 additions and 8 deletions

View File

@ -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 >
); );
} }

View File

@ -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;
} }