diff --git a/packages/website-legacy/tsconfig.json b/packages/website-legacy/tsconfig.json index b8f98fdb5..e0e6007ea 100644 --- a/packages/website-legacy/tsconfig.json +++ b/packages/website-legacy/tsconfig.json @@ -11,6 +11,6 @@ "src/**/*", ".next/types/**/*.ts", "../website/src/components/Performance/PerformanceInfo.tsx", - "../website/src/pages/tools/session/index.tsx" + "../website/src/pages/tools/session/_index.tsx" ] } diff --git a/packages/website/src/pages/docs/[directory]/[document]/index.tsx b/packages/website/src/pages/docs/[directory]/[document]/_index.tsx similarity index 100% rename from packages/website/src/pages/docs/[directory]/[document]/index.tsx rename to packages/website/src/pages/docs/[directory]/[document]/_index.tsx diff --git a/packages/website/src/pages/docs/[directory]/[document]/index.astro b/packages/website/src/pages/docs/[directory]/[document]/index.astro index b8638a2f5..af724b463 100644 --- a/packages/website/src/pages/docs/[directory]/[document]/index.astro +++ b/packages/website/src/pages/docs/[directory]/[document]/index.astro @@ -1,7 +1,7 @@ --- import type { GetStaticPaths } from 'astro'; import { readFile } from 'fs/promises'; -import { Page } from '.'; +import { Page } from './_index'; import RootLayout from '../../../../layouts/RootLayout.astro'; export const getStaticPaths = (async () => { diff --git a/packages/website/src/pages/settings/index.tsx b/packages/website/src/pages/settings/_index.tsx similarity index 100% rename from packages/website/src/pages/settings/index.tsx rename to packages/website/src/pages/settings/_index.tsx diff --git a/packages/website/src/pages/settings/index.astro b/packages/website/src/pages/settings/index.astro index 95d8dbf8c..df82e842e 100644 --- a/packages/website/src/pages/settings/index.astro +++ b/packages/website/src/pages/settings/index.astro @@ -1,5 +1,5 @@ --- -import { Page } from '.'; +import { Page } from './_index'; import RootLayout from '../../layouts/RootLayout.astro'; --- diff --git a/packages/website/src/pages/tools/compare/index.tsx b/packages/website/src/pages/tools/compare/_index.tsx similarity index 100% rename from packages/website/src/pages/tools/compare/index.tsx rename to packages/website/src/pages/tools/compare/_index.tsx diff --git a/packages/website/src/pages/tools/compare/index.astro b/packages/website/src/pages/tools/compare/index.astro index e2518c71b..e0d25903f 100644 --- a/packages/website/src/pages/tools/compare/index.astro +++ b/packages/website/src/pages/tools/compare/index.astro @@ -1,6 +1,6 @@ --- import ToolLayout from '../../../layouts/ToolLayout.astro'; -import { Page } from './index'; +import { Page } from './_index'; --- diff --git a/packages/website/src/pages/tools/performance/index.tsx b/packages/website/src/pages/tools/performance/_index.tsx similarity index 100% rename from packages/website/src/pages/tools/performance/index.tsx rename to packages/website/src/pages/tools/performance/_index.tsx diff --git a/packages/website/src/pages/tools/performance/index.astro b/packages/website/src/pages/tools/performance/index.astro index 4255c07ef..86c3199f7 100644 --- a/packages/website/src/pages/tools/performance/index.astro +++ b/packages/website/src/pages/tools/performance/index.astro @@ -1,5 +1,5 @@ --- -import { Page } from '.'; +import { Page } from './_index'; import ToolLayout from '../../../layouts/ToolLayout.astro'; --- diff --git a/packages/website/src/pages/tools/session/index.tsx b/packages/website/src/pages/tools/session/_index.tsx similarity index 100% rename from packages/website/src/pages/tools/session/index.tsx rename to packages/website/src/pages/tools/session/_index.tsx diff --git a/packages/website/src/pages/tools/session/index.astro b/packages/website/src/pages/tools/session/index.astro index 4255c07ef..e0d25903f 100644 --- a/packages/website/src/pages/tools/session/index.astro +++ b/packages/website/src/pages/tools/session/index.astro @@ -1,6 +1,6 @@ --- -import { Page } from '.'; import ToolLayout from '../../../layouts/ToolLayout.astro'; +import { Page } from './_index'; --- diff --git a/packages/website/src/pages/tools/tankopedia/[id]/index.tsx b/packages/website/src/pages/tools/tankopedia/[id]/_index.tsx similarity index 100% rename from packages/website/src/pages/tools/tankopedia/[id]/index.tsx rename to packages/website/src/pages/tools/tankopedia/[id]/_index.tsx diff --git a/packages/website/src/pages/tools/tankopedia/[id]/index.astro b/packages/website/src/pages/tools/tankopedia/[id]/index.astro index 5f6451d3e..01fddd31a 100644 --- a/packages/website/src/pages/tools/tankopedia/[id]/index.astro +++ b/packages/website/src/pages/tools/tankopedia/[id]/index.astro @@ -2,7 +2,7 @@ import { fetchTankDefinitions } from '@blitzkit/core'; import type { GetStaticPaths } from 'astro'; import ToolLayout from '../../../../layouts/ToolLayout.astro'; -import { Page } from './index'; +import { Page } from './_index'; export const getStaticPaths = (async () => { const tankDefinitions = await fetchTankDefinitions(); diff --git a/packages/website/src/pages/tools/tankopedia/index.tsx b/packages/website/src/pages/tools/tankopedia/_index.tsx similarity index 100% rename from packages/website/src/pages/tools/tankopedia/index.tsx rename to packages/website/src/pages/tools/tankopedia/_index.tsx diff --git a/packages/website/src/pages/tools/tankopedia/index.astro b/packages/website/src/pages/tools/tankopedia/index.astro index e2518c71b..e0d25903f 100644 --- a/packages/website/src/pages/tools/tankopedia/index.astro +++ b/packages/website/src/pages/tools/tankopedia/index.astro @@ -1,6 +1,6 @@ --- import ToolLayout from '../../../layouts/ToolLayout.astro'; -import { Page } from './index'; +import { Page } from './_index'; ---