mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: better layouts
This commit is contained in:
1 parent
201f8f94a5
commit
97b9137e9a
15 files changed
+75
-75
No files matched your search
@@ -1,8 +1,9 @@
|
||||
---
|
||||
import { compareTool } from '../../../constants/tools';
|
||||
import ToolLayout from '../../../layouts/ToolLayout.astro';
|
||||
import { Page } from './_index';
|
||||
---
|
||||
|
||||
<ToolLayout>
|
||||
<ToolLayout tool={compareTool}>
|
||||
<Page client:load />
|
||||
</ToolLayout>
|
||||
@@ -1,8 +1,9 @@
|
||||
---
|
||||
import { Page } from './_index';
|
||||
import { performanceTool } from '../../../constants/tools';
|
||||
import ToolLayout from '../../../layouts/ToolLayout.astro';
|
||||
import { Page } from './_index';
|
||||
---
|
||||
|
||||
<ToolLayout>
|
||||
<ToolLayout tool={performanceTool}>
|
||||
<Page client:load />
|
||||
</ToolLayout>
|
||||
@@ -1,8 +1,9 @@
|
||||
---
|
||||
import { sessionTool } from '../../../constants/tools';
|
||||
import ToolLayout from '../../../layouts/ToolLayout.astro';
|
||||
import { Page } from './_index';
|
||||
---
|
||||
|
||||
<ToolLayout>
|
||||
<ToolLayout tool={sessionTool}>
|
||||
<Page client:load />
|
||||
</ToolLayout>
|
||||
@@ -2,7 +2,7 @@
|
||||
import { fetchTankDefinitions, TIER_ROMAN_NUMERALS } from '@blitzkit/core';
|
||||
import strings from '@blitzkit/core/lang/en-US.json';
|
||||
import type { GetStaticPaths } from 'astro';
|
||||
import ToolLayout from '../../../../layouts/ToolLayout.astro';
|
||||
import BaseLayout from '../../../../layouts/BaseLayout.astro';
|
||||
import { Page } from './_index';
|
||||
|
||||
export const getStaticPaths = (async () => {
|
||||
@@ -29,6 +29,6 @@ const tank = tankDefinitions.tanks[id];
|
||||
{strings.common.tank_class_short[tank.class]}
|
||||
</title>
|
||||
|
||||
<ToolLayout>
|
||||
<BaseLayout>
|
||||
<Page id={id} client:load />
|
||||
</ToolLayout>
|
||||
</BaseLayout>
|
||||
@@ -1,8 +1,9 @@
|
||||
---
|
||||
import { tankopediaTool } from '../../../constants/tools';
|
||||
import ToolLayout from '../../../layouts/ToolLayout.astro';
|
||||
import { Page } from './_index';
|
||||
---
|
||||
|
||||
<ToolLayout>
|
||||
<ToolLayout tool={tankopediaTool}>
|
||||
<Page client:load />
|
||||
</ToolLayout>
|
||||
Reference in new issue
Block a user