From 84dd13c0ac7c6a94c45bf77c60d6cef4074c64bc Mon Sep 17 00:00:00 2001
From: tresabhi <43380238+tresabhi@users.noreply.github.com>
Date: Fri, 16 May 2025 18:07:15 -0500
Subject: [PATCH] feat: rename to path
---
packages/website/src/components/LegacyRedirect.astro | 6 +++---
.../website/src/pages/[...locale]/tools/compare/index.astro | 2 +-
.../src/pages/[...locale]/tools/embed/[embed]/index.astro | 2 +-
.../website/src/pages/[...locale]/tools/embed/index.astro | 2 +-
.../website/src/pages/[...locale]/tools/gallery/index.astro | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
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';
---
-
+