Merge pull request #465 from Herries/new-website

fix(website): replace the homepage background image
This commit is contained in:
delong.wang
2023-11-23 20:52:46 +08:00
committed by GitHub
2 changed files with 55 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 754 KiB

After

Width:  |  Height:  |  Size: 161 KiB

View File

@@ -70,13 +70,67 @@ export default function Home({ total } : { total: number }) {
sx={{
width: "100%",
height: "866px",
position: 'relative',
backgroundImage: "url(/images/home-banner.png)",
backgroundSize: "cover",
position: 'relative',
backgroundPosition: 'center center',
backgroundRepeat: 'no-repeat'
}}
>
<Box pt={26.5}>
<Stack alignItems="center">
<Stack direction="row"
sx={{
color: "#86909C",
letterSpacing: 8,
}}
>
<Typography
variant="h5"
sx={{
mr: 35,
fontWeight: 400,
}}
>
</Typography>
<Typography
variant="h5"
sx={{
fontWeight: 400,
}}
>
Web
</Typography>
</Stack>
<Stack
direction="row"
mt={2}
sx={{
fontFamily: "AlimamaShuHeiTi-Bold",
letterSpacing: 10,
background: 'linear-gradient(90deg, #160847 0%, #0A7977 100%)',
'-webkit-background-clip': 'text',
'-webkit-text-fill-color': 'transparent',
}}
>
<Typography
variant="h1"
sx={{
mr: 15.5,
}}
>
</Typography>
<Typography
variant="h1"
sx={{}}
>
</Typography>
</Stack>
</Stack>
</Box>
<Box sx={{ position: 'absolute', bottom: 351, left: '50%', transform: 'translateX(-50%)' }}>
<Box sx={{ width: "369px" }}>
<Image