1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/** @jsxImportSource https://esm.sh/react@18.2.0 */
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>
);
}