mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: migrate tanks
This commit is contained in:
1 parent
a8eb751048
commit
2cfc65a990
19 files changed
+216
-155
No files matched your search
@@ -1,19 +0,0 @@
|
||||
---
|
||||
import { literals } from '@blitzkit/i18n';
|
||||
import { getStrings } from '../core/i18n/getStrings';
|
||||
|
||||
export interface Props {
|
||||
path: string;
|
||||
}
|
||||
|
||||
const { path } = Astro.props;
|
||||
const { locale } = Astro.params;
|
||||
|
||||
const strings = getStrings(locale);
|
||||
const url = `/${locale === undefined ? '' : `${locale}/`}${path}`;
|
||||
---
|
||||
|
||||
<meta http-equiv="refresh" content={`0; url=${url}`} />
|
||||
<a href={url}>
|
||||
{literals(strings.website.redirect, [url])}
|
||||
</a>
|
||||
Reference in new issue
Block a user