feat: separator

This commit is contained in:
TrèsAbhi committed 2024-05-03 19:03:25 -05:00
1 parent 551e562109
commit 9ecf9ed406
9 files changed
+99 -59

No files matched your search

@@ -0,0 +1,16 @@
import { Heading, Text } from '@radix-ui/themes';
import PageWrapper from '../../../../../../components/PageWrapper';
import { useDuel } from '../../../../../../stores/duel';
export function HistoricalSection() {
const tank = useDuel((state) => state.protagonist!.tank);
if (!tank.description) return null;
return (
<PageWrapper>
<Heading>History of the {tank.name}</Heading>
<Text>{tank.description}</Text>
</PageWrapper>
);
}