diff --git a/src/routes/admin/index.tsx b/src/routes/admin/index.tsx index c4b8637..af3f00e 100644 --- a/src/routes/admin/index.tsx +++ b/src/routes/admin/index.tsx @@ -1,11 +1,25 @@ -import { redirect } from '@solidjs/router'; - -export const route = { - preload() { - throw redirect('/admin/runtime-roles/new'); - }, -}; +import { A } from '@solidjs/router'; +import AdminShell from '~/components/AdminShell'; export default function AdminIndex() { - return null; + return ( + +

Admin Builder

+

Pick what you want to configure.

+
+ + + +
+
+ ); } diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 648485a..342191f 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -1,11 +1,16 @@ -import { redirect } from '@solidjs/router'; - -export const route = { - preload() { - throw redirect('/admin/runtime-roles/new'); - }, -}; +import { A } from '@solidjs/router'; export default function Home() { - return null; + return ( +
+

NXTGAUGE Admin

+

Open the admin runtime builders below.

+
+ +
+
+ ); }