mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
17 lines
475 B
TypeScript
17 lines
475 B
TypeScript
import { Heading, Text } from '@radix-ui/themes';
|
|
import { PageWrapper } from '../../../../../components/PageWrapper';
|
|
import * as Duel from '../../../../../stores/duel';
|
|
|
|
export function HistorySection() {
|
|
const tank = Duel.use((state) => state.protagonist.tank);
|
|
|
|
if (!tank.description) return null;
|
|
|
|
return (
|
|
<PageWrapper noFlex1 align="center">
|
|
<Heading>History of the {tank.name}</Heading>
|
|
<Text>{tank.description}</Text>
|
|
</PageWrapper>
|
|
);
|
|
}
|