Kill cluster overview page

This commit is contained in:
Wyvest 2025-12-27 00:34:21 +09:00
parent ed77ee5195
commit 960d073ece
4 changed files with 2 additions and 22 deletions

View file

@ -1,19 +0,0 @@
import { SheetPage } from '@/components';
import { createFileRoute } from '@tanstack/react-router';
export const Route = createFileRoute('/app/cluster/overview')({
component: RouteComponent,
});
function RouteComponent() {
return (
<SheetPage.Content>
<div className="flex flex-col gap-4">
<h1 className="text-2xl font-semibold">Cluster Overview</h1>
<p>Welcome to the cluster overview page. Here you can find information about your clusters.</p>
{/* Additional content can be added here */}
</div>
</SheetPage.Content>
);
}

View file

@ -78,7 +78,6 @@ function RouteComponent() {
scrollContainerRef={scrollContainerRef}
>
<TabList floating={floating} ref={tabListRef}>
<Tab from={Route.id} search={search} to="/app/cluster/overview">Overview</Tab>
<Tab from={Route.id} search={search} to="/app/cluster/mods">Mods</Tab>
<Tab from={Route.id} search={search} to="/app/cluster/logs">Logs</Tab>
<Tab from={Route.id} search={{ ...search, packageType: 'mod' }} to="/app/cluster/browser">Browser</Tab>

View file

@ -96,7 +96,7 @@ function RouteComponent() {
return;
navigate({
to: `/app/cluster/overview`,
to: `/app/cluster/mods`,
search: {
clusterId: cluster.id,
},

View file

@ -65,7 +65,7 @@ function ActiveClusterInfo({ cluster }: { cluster: ClusterModel }) {
const viewCluster = () => {
navigate({
to: '/app/cluster/overview',
to: '/app/cluster/mods',
search: {
clusterId: cluster.id,
},