From 5b8423ffa4da1b04f332330841974490fabccb10 Mon Sep 17 00:00:00 2001 From: gimenes Date: Fri, 18 Oct 2024 10:47:42 -0300 Subject: [PATCH] add landing page --- app/routes/index.tsx | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/app/routes/index.tsx b/app/routes/index.tsx index a0a1910..2d8ff08 100644 --- a/app/routes/index.tsx +++ b/app/routes/index.tsx @@ -1,15 +1,32 @@ import { useLoaderData } from "react-router-dom"; export const loader = () => { - return { target: "React Router!" }; + return { + features: [ + "React", + "TypeScript", + "TailwindCSS", + "React Router", + "HMR powered", + ], + }; }; export default function Page() { const data = useLoaderData(); return ( -
- Hello {data.target} +
+

Welcome to React Standalone!

+

+ Experience the power of React running directly in your browser. +

+

+ No server required, just pure client-side magic! +

+

+ {data.features.join(", ")}! +

); }