base page
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 43s

This commit is contained in:
Felix Schulze 2024-09-03 22:00:14 +02:00
parent 620f0477fd
commit 8f0cdbaa21
3 changed files with 25 additions and 6 deletions

View File

@ -1,9 +1,5 @@
import Image from "next/image";
import { redirect } from "next/navigation";
export default function Home() {
return (
<main className="flex min-h-screen flex-col items-center justify-between p-24">
<div className="z-10 w-full max-w-5xl items-center justify-between font-mono text-sm lg:flex"></div>
</main>
);
redirect("/welcome");
}

11
app/welcome/layout.tsx Normal file
View File

@ -0,0 +1,11 @@
export default function Layout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<div className="flex flex-col h-screen w-screen block bg-emerald-950 text-neutral-300">
<div className="m-4 md:my-16 md:mx-auto max-w-96">{children}</div>
</div>
);
}

12
app/welcome/page.tsx Normal file
View File

@ -0,0 +1,12 @@
export default function Home() {
return (
<div className="shadow-xl rounded-lg w-full border px-6 py-12 bg-emerald-900 border-emerald-700 ">
<div className="flex flex-col">
<span className="text-4xl font-bold">📅 Track Every Day</span>
<span className="mt-4 text-center">
A web app for logging your habits, vices and activities.
</span>
</div>
</div>
);
}