mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-22 05:15:32 +01:00
feat: trim header
This commit is contained in:
1 parent
6a28fb0277
commit
a08107d0b2
1 file changed
+12
-4
@@ -91,6 +91,7 @@ export function HeroSection({ skeleton }: MaybeSkeletonComponentProps) {
|
|||||||
top={isFullScreen ? '0' : undefined}
|
top={isFullScreen ? '0' : undefined}
|
||||||
left={isFullScreen ? '0' : undefined}
|
left={isFullScreen ? '0' : undefined}
|
||||||
>
|
>
|
||||||
|
<Flex justify="center">
|
||||||
<Flex
|
<Flex
|
||||||
display={isFullScreen ? 'none' : 'flex'}
|
display={isFullScreen ? 'none' : 'flex'}
|
||||||
style={{ userSelect: 'none' }}
|
style={{ userSelect: 'none' }}
|
||||||
@@ -99,28 +100,35 @@ export function HeroSection({ skeleton }: MaybeSkeletonComponentProps) {
|
|||||||
justify="center"
|
justify="center"
|
||||||
pl={{ initial: '0', md: '9' }}
|
pl={{ initial: '0', md: '9' }}
|
||||||
pt={{ initial: '5', md: '0' }}
|
pt={{ initial: '5', md: '0' }}
|
||||||
|
overflow="hidden"
|
||||||
|
flexGrow="1"
|
||||||
|
maxWidth="40rem"
|
||||||
>
|
>
|
||||||
|
<Flex align="center" gap="2">
|
||||||
|
<Heading size={{ initial: '7', lg: '8' }}>
|
||||||
|
<Icon width="1em" height="1em" />
|
||||||
|
</Heading>
|
||||||
|
|
||||||
<Heading
|
<Heading
|
||||||
weight="bold"
|
weight="bold"
|
||||||
size={{ initial: '8', lg: '9' }}
|
size={{ initial: '8', lg: '9' }}
|
||||||
wrap="nowrap"
|
wrap="nowrap"
|
||||||
color={treeColor}
|
color={treeColor}
|
||||||
>
|
>
|
||||||
<Flex align="center" gap="3">
|
|
||||||
<Icon width="0.8em" height="0.8em" />
|
|
||||||
{protagonist.name}
|
{protagonist.name}
|
||||||
</Flex>
|
|
||||||
</Heading>
|
</Heading>
|
||||||
|
</Flex>
|
||||||
|
|
||||||
<Text
|
<Text
|
||||||
color="gray"
|
color="gray"
|
||||||
size="3"
|
size="3"
|
||||||
weight="light"
|
weight="light"
|
||||||
ml={{ initial: '0', md: '7', lg: '9' }}
|
ml={{ initial: '0', md: '7', lg: '8' }}
|
||||||
>
|
>
|
||||||
BlitzKit Tankopedia
|
BlitzKit Tankopedia
|
||||||
</Text>
|
</Text>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
</Flex>
|
||||||
|
|
||||||
<Box
|
<Box
|
||||||
className="tank-sandbox-container"
|
className="tank-sandbox-container"
|
||||||
|
|||||||
Reference in new issue
Block a user