perf: 图片cdn

This commit is contained in:
archer
2023-03-06 10:56:46 +08:00
parent bf81d23de4
commit 9f8d696bbe
16 changed files with 78 additions and 33 deletions

View File

@@ -34,7 +34,12 @@ const Navbar = ({
>
{/* logo */}
<Box pb={4}>
<Image src={'/logo.png'} width={'35'} height={'35'} alt=""></Image>
<Image
src={'https://docgpt-1301319986.cos.ap-shanghai.myqcloud.com/icon/logo.png'}
width={'35'}
height={'35'}
alt=""
></Image>
</Box>
{/* 导航列表 */}
<Box flex={1}>

View File

@@ -48,7 +48,13 @@ const NavbarPhone = ({
<DrawerContent maxWidth={'50vw'}>
<DrawerBody p={4}>
<Box py={4}>
<Image src={'/logo.png'} margin={'auto'} w={'35'} h={'35'} alt=""></Image>
<Image
src={'https://docgpt-1301319986.cos.ap-shanghai.myqcloud.com/icon/logo.png'}
margin={'auto'}
w={'35'}
h={'35'}
alt=""
></Image>
</Box>
{navbarList.map((item) => (
<Flex