feat: final stuff

This commit is contained in:
tresabhi committed 2025-05-07 20:51:52 -05:00
1 parent 4e4f070368
commit 17713243b5
4 files changed
+6 -22

No files matched your search

@@ -100,8 +100,8 @@ export function Title({ outline }: TitleProps) {
fontSize: revealed
? disturbed
? '2rem'
: `${125 / name.length}vw`
: `${75 / name.length}vw`,
: `min(65vh, ${125 / name.length}vw)`
: `min(48vh, ${75 / name.length}vw)`,
whiteSpace: 'nowrap',
color: outline ? Var(`${nationColors.tint}-a2`) : color,
opacity: outline && disturbed ? 0 : 1,
@@ -179,22 +179,6 @@ export function HeroSection({ skeleton }: MaybeSkeletonComponentProps) {
<Title outline />
</Flex>
{!disturbed && (
<Box
onClick={(event) => {
event.stopPropagation();
mutateTankopediaEphemeral((draft) => {
draft.disturbed = true;
});
}}
position="absolute"
width="100%"
height="100%"
top="0"
left="0"
/>
)}
</Flex>
);
}