feat(header): add logo

This commit is contained in:
zhangheng
2026-04-29 17:04:15 +08:00
parent 8372fb4a64
commit 93888b3056
3 changed files with 58 additions and 5 deletions

View File

@@ -10,7 +10,7 @@
.brand {
display: flex;
width: 196px;
width: 190px;
align-items: center;
gap: 8px;
color: #1d2129;

View File

@@ -278,10 +278,37 @@ export default function AppLayout({
size="sm"
/>
<Flex className={classes.headerNav}>
<Box className={classes.brand} visibleFrom="sm">
<span className={classes.brandMark}>C</span>
</Box>
<Flex
align="center"
gap={10}
className={classes.brand}
visibleFrom="sm">
<Box
component="img"
src={`${process.env.NEXT_PUBLIC_BASE_PATH}/header.svg`}
alt="酷哇标注平台"
w={32}
h={32}
style={{
flexShrink: 0,
display: "block",
}}
/>
<Box
component="span"
style={{
color: "#0B1E43",
fontSize: "20px",
lineHeight: "28px",
letterSpacing: 0,
fontWeight: 600,
fontStyle: "normal",
whiteSpace: "nowrap",
fontFamily: '"PingFang SC", "Microsoft YaHei", sans-serif',
}}>
</Box>
</Flex>
<Space w={"1rem"} hiddenFrom="sm" />
{headItems}
</Flex>