Kill cluster overview page
This commit is contained in:
parent
ed77ee5195
commit
960d073ece
4 changed files with 2 additions and 22 deletions
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ function RouteComponent() {
|
|||
return;
|
||||
|
||||
navigate({
|
||||
to: `/app/cluster/overview`,
|
||||
to: `/app/cluster/mods`,
|
||||
search: {
|
||||
clusterId: cluster.id,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ function ActiveClusterInfo({ cluster }: { cluster: ClusterModel }) {
|
|||
|
||||
const viewCluster = () => {
|
||||
navigate({
|
||||
to: '/app/cluster/overview',
|
||||
to: '/app/cluster/mods',
|
||||
search: {
|
||||
clusterId: cluster.id,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue