Skip to content

Commit

Permalink
feat: home page ui
Browse files Browse the repository at this point in the history
Signed-off-by: zhaoxinxin <[email protected]>
  • Loading branch information
Liam-Zhao committed Jan 25, 2024
1 parent 1deb19a commit 70a7532
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
3 changes: 1 addition & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,7 @@ export default function Home() {
</div>
</div>
</section>

<div className={styles.footer}>
<div className={styles.container}>
<div className={styles.userSkew}></div>
<div className={styles.communitySkew}></div>
<section className={clsx('row', styles.user)}>
Expand Down
20 changes: 5 additions & 15 deletions src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,6 @@ a {
text-decoration: none !important;
}

.container {
width: 100vw;
height: 80%;
position: absolute;
left: 50%;
top: 30%;
transform: translate3d(-50%, -15%, 0);
z-index: 5;
}

.heroHeader {
position: relative;
height: 100%;
Expand Down Expand Up @@ -503,6 +493,11 @@ a {
z-index: 2;
}

.container {
position: relative;
overflow: hidden;
}

.userSkew {
position: absolute;
top: 0%;
Expand Down Expand Up @@ -812,11 +807,6 @@ a {
color: rgba(0, 0, 0, 0.8);
}

.footer {
position: relative;
overflow: hidden;
}

.user {
display: flex;
justify-content: center;
Expand Down

0 comments on commit 70a7532

Please sign in to comment.