diff --git a/src/App.svelte b/src/App.svelte
index 176c8be..73d3942 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -8,7 +8,6 @@
import { unreachable } from "@app/lib/utils";
import AuthenticationError from "@app/views/AuthenticationError.svelte";
- import DesignSystem from "@app/views/DesignSystem.svelte";
import Home from "@app/views/Home.svelte";
const activeRouteStore = router.activeRouteStore;
@@ -44,8 +43,6 @@
{:else if $activeRouteStore.resource === "authenticationError"}
-{:else if $activeRouteStore.resource === "designSystem"}
-
{:else}
{unreachable($activeRouteStore)}
{/if}
diff --git a/src/lib/router.ts b/src/lib/router.ts
index f3d4720..a20adf7 100644
--- a/src/lib/router.ts
+++ b/src/lib/router.ts
@@ -97,9 +97,6 @@ function setTitle(loadedRoute: LoadedRoute) {
} else if (loadedRoute.resource === "authenticationError") {
title.push("Authentication Error");
title.push("Radicle");
- } else if (loadedRoute.resource === "designSystem") {
- title.push("Design System");
- title.push("Radicle");
} else {
utils.unreachable(loadedRoute);
}
@@ -126,9 +123,6 @@ function urlToRoute(url: URL): Route | null {
case "authenticationError": {
return { resource: "authenticationError", params: { error: "" } };
}
- case "designSystem": {
- return { resource: "designSystem" };
- }
default: {
return null;
}
@@ -140,8 +134,6 @@ export function routeToPath(route: Route): string {
return "/";
} else if (route.resource === "authenticationError") {
return "/authenticationError";
- } else if (route.resource === "designSystem") {
- return "/designSystem";
} else if (route.resource === "booting") {
return "";
} else {
diff --git a/src/lib/router/definitions.ts b/src/lib/router/definitions.ts
index 6b086c3..381cc52 100644
--- a/src/lib/router/definitions.ts
+++ b/src/lib/router/definitions.ts
@@ -24,19 +24,10 @@ interface LoadedHomeRoute {
params: { repos: RepoInfo[]; config: Config };
}
-interface DesignSystemRoute {
- resource: "designSystem";
-}
-
-export type Route =
- | BootingRoute
- | DesignSystemRoute
- | HomeRoute
- | AuthenticationErrorRoute;
+export type Route = BootingRoute | HomeRoute | AuthenticationErrorRoute;
export type LoadedRoute =
| BootingRoute
- | DesignSystemRoute
| LoadedHomeRoute
| AuthenticationErrorRoute;
diff --git a/src/views/DesignSystem.svelte b/src/views/DesignSystem.svelte
deleted file mode 100644
index 1c222e9..0000000
--- a/src/views/DesignSystem.svelte
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-👉 Home
diff --git a/src/views/Home.svelte b/src/views/Home.svelte
index 511ad02..7108e27 100644
--- a/src/views/Home.svelte
+++ b/src/views/Home.svelte
@@ -3,7 +3,6 @@
import type { RepoInfo } from "@bindings/RepoInfo";
import Header from "@app/components/Header.svelte";
- import Link from "@app/components/Link.svelte";
import RepoCard from "@app/components/RepoCard.svelte";
export let repos: RepoInfo[];
@@ -30,8 +29,4 @@
{/if}
{/each}
-
-
- 👉 Design System
-