mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: migrate compare
This commit is contained in:
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>
|
||||
Reference in new issue
Block a user