mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: use simple text navbar logo
This commit is contained in:
1 parent
a237e1541b
commit
e294f2e286
1 file changed
+12
-5
@@ -25,7 +25,6 @@ import { TOOLS } from '../../constants/tools';
|
|||||||
import { WARGAMING_APPLICATION_ID } from '../../constants/wargamingApplicationID';
|
import { WARGAMING_APPLICATION_ID } from '../../constants/wargamingApplicationID';
|
||||||
import { imgur, ImgurSize } from '../../core/blitzkit/imgur';
|
import { imgur, ImgurSize } from '../../core/blitzkit/imgur';
|
||||||
import { patreonLoginUrl } from '../../core/blitzkit/patreonLoginUrl';
|
import { patreonLoginUrl } from '../../core/blitzkit/patreonLoginUrl';
|
||||||
import { BlitzkitWide } from '../../icons/BlitzkitWide';
|
|
||||||
import { PatreonIcon } from '../../icons/Patreon';
|
import { PatreonIcon } from '../../icons/Patreon';
|
||||||
import { WargamingIcon } from '../../icons/Wargaming';
|
import { WargamingIcon } from '../../icons/Wargaming';
|
||||||
import strings from '../../lang/en-US.json';
|
import strings from '../../lang/en-US.json';
|
||||||
@@ -48,11 +47,18 @@ export default function Navbar() {
|
|||||||
className={styles.navbar[showHamburgerMenu ? 'expanded' : 'collapsed']}
|
className={styles.navbar[showHamburgerMenu ? 'expanded' : 'collapsed']}
|
||||||
style={{ zIndex: 3 }}
|
style={{ zIndex: 3 }}
|
||||||
>
|
>
|
||||||
<Flex direction="column" align="center" pt="2">
|
<Flex direction="column" align="center">
|
||||||
<Flex
|
<Flex
|
||||||
|
position="absolute"
|
||||||
|
top="34px"
|
||||||
justify="between"
|
justify="between"
|
||||||
align="center"
|
align="center"
|
||||||
style={{ maxWidth: 1024, width: '100%', padding: '0 16px' }}
|
style={{
|
||||||
|
maxWidth: 1024,
|
||||||
|
width: '100%',
|
||||||
|
padding: '0 16px',
|
||||||
|
transform: 'translateY(-50%)',
|
||||||
|
}}
|
||||||
gap="8"
|
gap="8"
|
||||||
>
|
>
|
||||||
<Flex align="center" gap="4">
|
<Flex align="center" gap="4">
|
||||||
@@ -75,8 +81,9 @@ export default function Navbar() {
|
|||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
}}
|
}}
|
||||||
|
weight="bold"
|
||||||
>
|
>
|
||||||
<BlitzkitWide />
|
BlitzKit
|
||||||
</Link>
|
</Link>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
@@ -255,7 +262,7 @@ export default function Navbar() {
|
|||||||
</Flex>
|
</Flex>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
<Flex mt="6" gap="3" justify="center" wrap="wrap">
|
<Flex mt="9" gap="3" justify="center" wrap="wrap">
|
||||||
{filteredTools.map((tool) => (
|
{filteredTools.map((tool) => (
|
||||||
<Link
|
<Link
|
||||||
key={tool.id}
|
key={tool.id}
|
||||||
|
|||||||
Reference in new issue
Block a user