mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: final stuff
This commit is contained in:
1 parent
4e4f070368
commit
17713243b5
4 files changed
+6
-22
No files matched your search
+2
-2
@@ -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>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user