mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: migrate performance
This commit is contained in:
1 parent
b31c7a6738
commit
8d51ce2bea
20 files changed
+122
-149
No files matched your search
@@ -0,0 +1,8 @@
|
||||
---
|
||||
import { Page } from '.';
|
||||
import ToolLayout from '../../../layouts/ToolLayout.astro';
|
||||
---
|
||||
|
||||
<ToolLayout>
|
||||
<Page client:load />
|
||||
</ToolLayout>
|
||||
@@ -0,0 +1,26 @@
|
||||
import { PageWrapper } from '../../../components/PageWrapper';
|
||||
import { Controls } from '../../../components/Performance/Controls';
|
||||
import { PerformanceInfo } from '../../../components/Performance/PerformanceInfo';
|
||||
import { TankTable } from '../../../components/Performance/Table';
|
||||
import { TankPerformancePersistent } from '../../../stores/tankPerformancePersistent';
|
||||
import { TankPerformanceSort } from '../../../stores/tankPerformanceSort';
|
||||
|
||||
export function Page() {
|
||||
return (
|
||||
<TankPerformanceSort.Provider>
|
||||
<TankPerformancePersistent.Provider>
|
||||
<Content />
|
||||
</TankPerformancePersistent.Provider>
|
||||
</TankPerformanceSort.Provider>
|
||||
);
|
||||
}
|
||||
|
||||
function Content() {
|
||||
return (
|
||||
<PageWrapper color="jade" noMaxWidth>
|
||||
<PerformanceInfo />
|
||||
<Controls />
|
||||
<TankTable />
|
||||
</PageWrapper>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user