mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
17 lines
454 B
TypeScript
17 lines
454 B
TypeScript
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>
|
|
);
|
|
}
|