diff --git a/packages/website/src/components/LegacyRedirect.astro b/packages/website/src/components/LegacyRedirect.astro index e5c761d4c..54fd64165 100644 --- a/packages/website/src/components/LegacyRedirect.astro +++ b/packages/website/src/components/LegacyRedirect.astro @@ -3,14 +3,14 @@ import { literals } from '@blitzkit/i18n'; import { getStrings } from '../core/i18n/getStrings'; export interface Props { - tool: string; + path: string; } -const { tool } = Astro.props; +const { path } = Astro.props; const { locale } = Astro.params; const strings = getStrings(locale); -const url = `/${locale === undefined ? '' : `${locale}/`}${tool}`; +const url = `/${locale === undefined ? '' : `${locale}/`}${path}`; --- diff --git a/packages/website/src/pages/[...locale]/tools/compare/index.astro b/packages/website/src/pages/[...locale]/tools/compare/index.astro index 9a8e20b28..c2d4c623f 100644 --- a/packages/website/src/pages/[...locale]/tools/compare/index.astro +++ b/packages/website/src/pages/[...locale]/tools/compare/index.astro @@ -4,4 +4,4 @@ import LegacyRedirect from '../../../../components/LegacyRedirect.astro'; export { getStaticPaths } from '../../index.astro'; --- - + diff --git a/packages/website/src/pages/[...locale]/tools/embed/[embed]/index.astro b/packages/website/src/pages/[...locale]/tools/embed/[embed]/index.astro index ca37ab332..887b2bdb1 100644 --- a/packages/website/src/pages/[...locale]/tools/embed/[embed]/index.astro +++ b/packages/website/src/pages/[...locale]/tools/embed/[embed]/index.astro @@ -22,4 +22,4 @@ export const getStaticPaths = (() => { const { embed } = Astro.params; --- - + diff --git a/packages/website/src/pages/[...locale]/tools/embed/index.astro b/packages/website/src/pages/[...locale]/tools/embed/index.astro index c08d6b9bc..f249f55c3 100644 --- a/packages/website/src/pages/[...locale]/tools/embed/index.astro +++ b/packages/website/src/pages/[...locale]/tools/embed/index.astro @@ -4,4 +4,4 @@ import LegacyRedirect from '../../../../components/LegacyRedirect.astro'; export { getStaticPaths } from '../../index.astro'; --- - + diff --git a/packages/website/src/pages/[...locale]/tools/gallery/index.astro b/packages/website/src/pages/[...locale]/tools/gallery/index.astro index 0a6727502..9638626f5 100644 --- a/packages/website/src/pages/[...locale]/tools/gallery/index.astro +++ b/packages/website/src/pages/[...locale]/tools/gallery/index.astro @@ -4,4 +4,4 @@ import LegacyRedirect from '../../../../components/LegacyRedirect.astro'; export { getStaticPaths } from '../../index.astro'; --- - +