From 18aceb4ddf01e964d0b81a4e926e42b72c64e355 Mon Sep 17 00:00:00 2001
From: 苏向夜 <fu050409@163.com>
Date: Thu, 26 Mar 2026 09:05:44 +0800
Subject: refactor(ui): rewrite particle background

---
 packages/ui/src/main.tsx | 28 ++--------------------------
 1 file changed, 2 insertions(+), 26 deletions(-)

(limited to 'packages/ui/src/main.tsx')

diff --git a/packages/ui/src/main.tsx b/packages/ui/src/main.tsx
index c5cbfc8..912fea8 100644
--- a/packages/ui/src/main.tsx
+++ b/packages/ui/src/main.tsx
@@ -1,33 +1,9 @@
 import { StrictMode } from "react";
 import { createRoot } from "react-dom/client";
 import "./index.css";
-import { createHashRouter, RouterProvider } from "react-router";
+import { RouterProvider } from "react-router";
 import { Toaster } from "./components/ui/sonner";
-import { HomeView } from "./pages/home-view";
-import { IndexPage } from "./pages/index";
-import { InstancesView } from "./pages/instances-view";
-import { SettingsPage } from "./pages/settings";
-
-const router = createHashRouter([
-  {
-    path: "/",
-    element: <IndexPage />,
-    children: [
-      {
-        index: true,
-        element: <HomeView />,
-      },
-      {
-        path: "instances",
-        element: <InstancesView />,
-      },
-      {
-        path: "settings",
-        element: <SettingsPage />,
-      },
-    ],
-  },
-]);
+import router from "./pages/routes";
 
 const root = createRoot(document.getElementById("root") as HTMLElement);
 root.render(
-- 
cgit v1.2.3-70-g09d2

