diff --git a/.changeset/afraid-chefs-protect.md b/.changeset/afraid-chefs-protect.md new file mode 100644 index 00000000..16089d1e --- /dev/null +++ b/.changeset/afraid-chefs-protect.md @@ -0,0 +1,5 @@ +--- +"@tablex/core": patch +--- + +Removes the splash screen + replace background images with procedural ones to reduce bundle size diff --git a/apps/core/package.json b/apps/core/package.json index 6fe6f609..a10bc05c 100644 --- a/apps/core/package.json +++ b/apps/core/package.json @@ -47,6 +47,7 @@ "date-fns": "^3.6.0", "hotkeys-js": "^3.13.7", "lucide-react": "^0.292.0", + "mini-svg-data-uri": "^1.4.4", "react": "^18.3.1", "react-day-picker": "8.10.1", "react-dom": "^18.3.1", diff --git a/apps/core/public/connect.svg b/apps/core/public/connect.svg deleted file mode 100644 index 323c8733..00000000 --- a/apps/core/public/connect.svg +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/apps/core/public/cube.svg b/apps/core/public/icons/cube.svg similarity index 100% rename from apps/core/public/cube.svg rename to apps/core/public/icons/cube.svg diff --git a/apps/core/public/icons/icon.svg b/apps/core/public/icons/icon.svg deleted file mode 100644 index 1a8a13e3..00000000 --- a/apps/core/public/icons/icon.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - diff --git a/apps/core/public/landing.svg b/apps/core/public/landing.svg deleted file mode 100644 index 7fbdd948..00000000 --- a/apps/core/public/landing.svg +++ /dev/null @@ -1,9 +0,0 @@ - diff --git a/apps/core/public/splashscreen.html b/apps/core/public/splashscreen.html deleted file mode 100644 index ef3e2369..00000000 --- a/apps/core/public/splashscreen.html +++ /dev/null @@ -1,24 +0,0 @@ - - -
- - - -Start a connection
diff --git a/apps/core/src/routes/__root.tsx b/apps/core/src/routes/__root.tsx index 19c62e53..33e01d41 100644 --- a/apps/core/src/routes/__root.tsx +++ b/apps/core/src/routes/__root.tsx @@ -1,4 +1,3 @@ -import { commands } from "@/bindings" import { createRootRoute, Outlet } from "@tanstack/react-router" import React, { Suspense } from "react" import { Toaster } from "react-hot-toast" @@ -14,7 +13,6 @@ const TanStackRouterDevtools = ) export const Route = createRootRoute({ - onEnter: commands.closeSplashscreen, component: () => { return (