Skip to content

Commit e627ae1

Browse files
committed
chore(clean-up): remove unused routes
1 parent 293caf2 commit e627ae1

File tree

12 files changed

+173
-747
lines changed

12 files changed

+173
-747
lines changed

apps/web/app/routes/_index/components/navbar.tsx

-14
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { useState } from "react";
33
import NavBar from "~/components/navbar";
44
import { Badge } from "~/components/ui/badge";
55
import { Button } from "~/components/ui/button";
6-
import { StyledLink } from "~/components/ui/link";
76
import {
87
Popover,
98
PopoverContent,
@@ -108,19 +107,6 @@ function MobileNav() {
108107
<Separator />
109108
<Settings isOpen={true} />
110109
</div>
111-
<div className="flex grow flex-col justify-end space-y-4">
112-
<Separator />
113-
<p>
114-
<span className="font-semibold">Lite Mode</span> is a simplified
115-
version of the playground.
116-
</p>
117-
<StyledLink
118-
to="/lite"
119-
className="text-sm font-medium"
120-
>
121-
Try Lite Mode
122-
</StyledLink>
123-
</div>
124110
</div>
125111
</SheetContent>
126112
</Sheet>

apps/web/app/routes/_index/route.tsx

-17
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import {
22
type ClientLoaderFunctionArgs,
33
isRouteErrorResponse,
4-
Link,
54
useLoaderData,
65
useRouteError,
76
} from "@remix-run/react";
@@ -11,7 +10,6 @@ import { Loader2 } from "lucide-react";
1110
import { lazy, Suspense, useState } from "react";
1211
import {
1312
AlertDialog,
14-
AlertDialogAction,
1513
AlertDialogCancel,
1614
AlertDialogContent,
1715
AlertDialogDescription,
@@ -140,12 +138,6 @@ function NotSupportedModal() {
140138
<p>
141139
Your browser does not support transferring file system file handles.
142140
<br />
143-
<Link
144-
to="/lite"
145-
className="underline"
146-
>
147-
Try the Lite Version
148-
</Link>
149141
</p>
150142
</div>
151143
)}
@@ -168,19 +160,10 @@ function NotSupportedModal() {
168160
</a>
169161
.
170162
<br />
171-
Would you like to try the Lite Version?
172163
</AlertDialogDescription>
173164
</AlertDialogHeader>
174165
<AlertDialogFooter>
175166
<AlertDialogCancel>Cancel</AlertDialogCancel>
176-
<AlertDialogAction asChild>
177-
<Link
178-
to="/lite"
179-
className="btn btn-primary"
180-
>
181-
Lite Version
182-
</Link>
183-
</AlertDialogAction>
184167
</AlertDialogFooter>
185168
</AlertDialogContent>
186169
</AlertDialog>

apps/web/app/routes/about/route.tsx

-62
This file was deleted.

apps/web/app/routes/lite/components/editor-panel.tsx

-69
This file was deleted.

apps/web/app/routes/lite/components/navbar.tsx

-63
This file was deleted.

apps/web/app/routes/lite/components/playground.tsx

-39
This file was deleted.

0 commit comments

Comments
 (0)