diff --git a/src/assets/images/LOGO-white.png b/src/assets/images/LOGO-white.png deleted file mode 100644 index 0c1dbdf..0000000 Binary files a/src/assets/images/LOGO-white.png and /dev/null differ diff --git a/src/assets/images/f89fdab0.webp b/src/assets/images/f89fdab0.webp new file mode 100644 index 0000000..ff5041d Binary files /dev/null and b/src/assets/images/f89fdab0.webp differ diff --git a/src/assets/images/index_zh_ads_item_img.png b/src/assets/images/index_zh_ads_item_img.png new file mode 100644 index 0000000..0b5a1e6 Binary files /dev/null and b/src/assets/images/index_zh_ads_item_img.png differ diff --git a/src/components/home.jsx b/src/components/home.jsx index c065c20..3ed6884 100644 --- a/src/components/home.jsx +++ b/src/components/home.jsx @@ -15,6 +15,7 @@ import { } from "antd"; import { DownOutlined } from "@ant-design/icons"; import logoWhite from "../assets/images/logo-white2.png"; +import adsItemImage from "../assets/images/f89fdab0.webp"; import "../css/home.css"; const { Header, Content } = Layout; @@ -138,66 +139,17 @@ export default function Home() {
-
- 01 - 爆品追踪 +
+
+ 01 + 爆品追踪 +
+ ads item preview
- - - - 筛选 - - 日期 - 类目 - 价格 - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/css/home.css b/src/css/home.css index c428ef4..3a1f58b 100644 --- a/src/css/home.css +++ b/src/css/home.css @@ -217,7 +217,15 @@ body { } .home-section { + background-color: rgb(243, 247, 252); + width: 100%; +} + +.home-section-inner { + width: 1200px; + height: 700px; padding: 32px 48px 64px; + margin: 0 auto; } .home-section-header { @@ -225,10 +233,25 @@ body { align-items: baseline; gap: 16px; margin-bottom: 20px; + height: 100px; + justify-content: center; + align-items: center; + font-size: 36px; + font-family: "TencentW7", "PingFang SC", "Segoe UI", sans-serif; +} + +.home-section-header-image { + width: 1200px; + height: 600px; + display: block; + margin: 0 auto; + object-fit: cover; + object-position: center -100px; + border-radius: 24px; } .home-section-number { - font-size: 48px; + font-size: 100px; color: #e4edf8; font-weight: 700; } diff --git a/webpack.config.js b/webpack.config.js index d53a504..ad704da 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -27,7 +27,7 @@ module.exports = { use: ["style-loader", "css-loader"] }, { - test: /\.(png|jpe?g|gif|svg)$/i, + test: /\.(png|jpe?g|gif|svg|webp)$/i, type: "asset/resource" }, {