diff --git a/app/page.tsx b/app/page.tsx index b5ad721..de0eb4e 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,9 +1,5 @@ -import Image from "next/image"; +import { redirect } from "next/navigation"; export default function Home() { - return ( -
-
-
- ); + redirect("/welcome"); } diff --git a/app/welcome/layout.tsx b/app/welcome/layout.tsx new file mode 100644 index 0000000..c1158d0 --- /dev/null +++ b/app/welcome/layout.tsx @@ -0,0 +1,11 @@ +export default function Layout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( +
+
{children}
+
+ ); +} diff --git a/app/welcome/page.tsx b/app/welcome/page.tsx new file mode 100644 index 0000000..63e6378 --- /dev/null +++ b/app/welcome/page.tsx @@ -0,0 +1,12 @@ +export default function Home() { + return ( +
+
+ 📅 Track Every Day + + A web app for logging your habits, vices and activities. + +
+
+ ); +}