import { Browse, loader } from "https://esm.town/v/stevekrouse/dateme_browse_react";
import FAQ from "https://esm.town/v/stevekrouse/dateme_faq_react";
import Submit, { action } from "https://esm.town/v/stevekrouse/dateme_form_react";
import Home from "https://esm.town/v/stevekrouse/dateme_home_react";
import Root from "https://esm.town/v/stevekrouse/dateme_layout_react";
export const routes = [
{
path: "/",
element: <Root />,
children: [
{
index: true,
element: <Home />,
},
{
path: "/browse",
element: <Browse />,
loader,
},
{
path: "/faq",
element: <FAQ />,
},
{
path: "/submit",
element: <Submit />,
action,
},
{
path: "/success",
element: <Success />,
},
],
},
];
function Success() {
return (
<div className="max-w-md text-lg mx-auto p-6">
Thanks for your submission! <br></br> We hope you find love š„°
</div>
);
}