feat: migrate urls

This commit is contained in:
tresabhi committed 2025-05-15 23:44:20 -05:00
1 parent 165a9cd719
commit b90b355f8f
18 files changed
+37 -44

No files matched your search

@@ -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',