mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: migrate urls
This commit is contained in:
1 parent
165a9cd719
commit
b90b355f8f
18 files changed
+37
-44
No files matched your search
+4
-1
@@ -135,7 +135,10 @@ function ModuleButton({
|
||||
);
|
||||
|
||||
return isTank ? (
|
||||
<LinkI18n locale={locale} href={`/tools/tankopedia/${unlock.id}`}>
|
||||
<LinkI18n
|
||||
locale={locale}
|
||||
href={`/tanks/${tankDefinitions.tanks[unlock.id].slug}`}
|
||||
>
|
||||
{button}
|
||||
</LinkI18n>
|
||||
) : (
|
||||
|
||||
@@ -46,7 +46,7 @@ export function Node({ id, highlight, nextIds, skeleton }: NodeProps) {
|
||||
return (
|
||||
<LinkI18n
|
||||
locale={locale}
|
||||
href={`/tools/tankopedia/${id}`}
|
||||
href={`/tanks/${tankDefinitions.tanks[id].slug}`}
|
||||
key={id}
|
||||
style={{
|
||||
textDecoration: 'none',
|
||||
|
||||
Reference in new issue
Block a user