Skip to content

Commit

Permalink
#85 - text covered up in home page (#87)
Browse files Browse the repository at this point in the history
* bug-fix

* move the faces into the section

* fix the hidden blue circle
  • Loading branch information
SebinSong authored Feb 22, 2024
1 parent c514a5b commit 1379ae9
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions src/components/HomeAnimation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
<div class="c-wrapper" ref="wrapper">
<Sides color="#5DC9F1"
:styles="{ 'top': '40rem', 'right': 0, 'transform': 'rotate(-180deg)' }"
class="right-side"></Sides>
class="right-side c-side-blue"></Sides>
<Sides color="#F89202" :styles="{ 'top': '120rem' }"></Sides>
<Sides color="#A1D10E"
:styles="{ 'top': '180rem', 'transform': 'rotate(-180deg)', 'right': 0, 'transform': 'rotate(-180deg)' }"
class="right-side"></Sides>

<div class="graphic-wrapper">
<div class="c-faces" ref="faces">
<div class="c-face" v-for="i in 8" :id="`face-${i}`" :key="i">
<img class="c-face-img" v-src="`/images/faces/${i}.jpg`" />
<section class="container c-main-container">
<div class="c-faces" ref="faces">
<div class="c-face" v-for="i in 8" :id="`face-${i}`" :key="i">
<img class="c-face-img" v-src="`/images/faces/${i}.jpg`" />
</div>
</div>
</div>

<section class="container c-main-container">
<div class="c-main-wrapper" id="header1">
<div class="is-posttitle">GROUP INCOME</div>
<h1 class="is-title-1 c-main-title">
Expand Down Expand Up @@ -188,6 +188,10 @@ export default {
right: 0;
}
.c-side-blue {
z-index: 3;
}
#circle-graph {
position: relative;
margin: 0 auto;
Expand All @@ -199,10 +203,13 @@ export default {
}
.c-wrapper {
position: relative;
padding-bottom: 2rem;
}
.container {
position: relative;
z-index: 2; // A fix for the bug where Sides.vue covers the page content.
margin: 0 auto;
padding: 4rem 1rem;
display: flex;
Expand Down

0 comments on commit 1379ae9

Please sign in to comment.