diff --git a/src/components/PageHome.vue b/src/components/PageHome.vue index 3841844..b696161 100644 --- a/src/components/PageHome.vue +++ b/src/components/PageHome.vue @@ -1,5 +1,8 @@ @@ -45,7 +48,7 @@ .page-home { width: 100%; height: 100vh; - background: url('/src/assets/images/bg-top.png') center center / cover no-repeat; + background: none; color: #222; display: flex; flex-direction: column; @@ -53,15 +56,25 @@ overflow: hidden; } +.bg-main { + position: absolute; + inset: 0; + width: 100%; + height: 100%; + object-fit: cover; + z-index: 0; + pointer-events: none; +} + .bg-points { position: absolute; - top: 50%; + bottom: 0; left: 50%; - transform: translate(-50%, -50%); + transform: translateX(-50%); width: 90%; height: 90%; - background: url('/src/assets/images/bg-top-points.png') center center / contain no-repeat; - z-index: 0; + object-fit: contain; + z-index: 1; pointer-events: none; } @@ -171,8 +184,14 @@ left: 50%; transform: translateX(-50%); display: flex; - justify-content: center; - align-items: flex-end; + flex-direction: column; + align-items: center; + justify-content: flex-end; +} + +.hero-content { + text-align: center; + margin-bottom: clamp(16px, 2vh, 36px); } .phone-main {