feat: migrate compare

This commit is contained in:
tresabhi committed 2025-05-15 23:54:07 -05:00
1 parent b90b355f8f
commit e656b83719
6 files changed
+61 -33

No files matched your search

@@ -0,0 +1,19 @@
---
import { literals } from '@blitzkit/i18n';
import { getStrings } from '../core/i18n/getStrings';
export interface Props {
tool: string;
}
const { tool } = Astro.props;
const { locale } = Astro.params;
const strings = getStrings(locale);
const url = `/${locale === undefined ? '' : `${locale}/`}${tool}`;
---
<meta http-equiv="refresh" content={`0; url=${url}`} />
<a href={url}>
{literals(strings.website.redirect, [url])}
</a>