feat: start of localized proto strings

This commit is contained in:
tresabhi committed 2025-01-14 14:38:41 -06:00
1 parent 7900c61a9b
commit d8459d373c
42 files changed
+550 -360

No files matched your search

@@ -1,16 +0,0 @@
import { Heading, Text } from '@radix-ui/themes';
import { Duel } from '../../stores/duel';
import { PageWrapper } from '../PageWrapper';
export function HistorySection() {
const tank = Duel.use((state) => state.protagonist.tank);
if (!tank.description) return null;
return (
<PageWrapper noFlex1 align="center" noMinHeight>
<Heading>History of the {tank.name}</Heading>
<Text>{tank.description}</Text>
</PageWrapper>
);
}
@@ -55,7 +55,6 @@ export function Page({ id, skeleton, locale }: PageProps) {
<CharacteristicsSection />
<GameModeSection />
<VideoSection skeleton={skeleton} />
<HistorySection />
</PageWrapper>
</Duel.Provider>
</TankopediaPersistent.Provider>