Merge remote-tracking branch 'origin/main'

This commit is contained in:
fuhl 2023-04-17 21:11:40 +08:00
commit fe367633d9
3 changed files with 7 additions and 0 deletions

View File

@ -476,3 +476,9 @@
height: 100%; height: 100%;
width: 100%; width: 100%;
} }
.photo-left {
width: 400px; /* 设置 div 的宽度 */
height: 300px; /* 设置 div 的高度 */
background-image: url('public/gaobaipingtai.jpg'); /* 将图片作为 div 的背景 */
}

View File

@ -195,6 +195,7 @@ function _Home() {
: styles.container : styles.container
}`} }`}
> >
<div className={styles["photo-left"]}></div>
<div <div
className={styles.sidebar + ` ${showSideBar && styles["sidebar-show"]}`} className={styles.sidebar + ` ${showSideBar && styles["sidebar-show"]}`}
> >

BIN
public/gaobaipingtai.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB