mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-20 20:35:43 +01:00
feat: remove ads
This commit is contained in:
1 parent
b1f29a6148
commit
aa8bb1c040
21 files changed
+56
-187
No files matched your search
@@ -4,23 +4,24 @@ import { PerformanceInfo } from '../../../components/Performance/PerformanceInfo
|
||||
import { TankTable } from '../../../components/Performance/Table';
|
||||
import { TankPerformancePersistent } from '../../../stores/tankPerformancePersistent';
|
||||
import { TankPerformanceSort } from '../../../stores/tankPerformanceSort';
|
||||
import type { MaybeSkeletonComponentProps } from '../../../types/maybeSkeletonComponentProps';
|
||||
|
||||
export function Page() {
|
||||
export function Page({ skeleton }: MaybeSkeletonComponentProps) {
|
||||
return (
|
||||
<TankPerformanceSort.Provider>
|
||||
<TankPerformancePersistent.Provider>
|
||||
<Content />
|
||||
<Content skeleton={skeleton} />
|
||||
</TankPerformancePersistent.Provider>
|
||||
</TankPerformanceSort.Provider>
|
||||
);
|
||||
}
|
||||
|
||||
function Content() {
|
||||
function Content({ skeleton }: MaybeSkeletonComponentProps) {
|
||||
return (
|
||||
<PageWrapper color="jade" noMaxWidth>
|
||||
<PerformanceInfo />
|
||||
<PerformanceInfo skeleton={skeleton} />
|
||||
<Controls />
|
||||
<TankTable />
|
||||
<TankTable skeleton={skeleton} />
|
||||
</PageWrapper>
|
||||
);
|
||||
}
|
||||
@@ -5,5 +5,7 @@ import { Page } from './_index';
|
||||
---
|
||||
|
||||
<ToolLayout tool={performanceTool}>
|
||||
<Page client:load />
|
||||
<Page client:only="react">
|
||||
<Page skeleton slot="fallback" />
|
||||
</Page>
|
||||
</ToolLayout>
|
||||
Reference in new issue
Block a user