From a2c81de751eca7f6e22cb2de3e81751b7a2694de Mon Sep 17 00:00:00 2001
From: Justin Edmund
Date: Tue, 31 Jan 2023 17:47:39 -0800
Subject: [PATCH] Adjust hero position, fix typos, add styles
---
components/AboutPage/index.scss | 54 +++++++++++++++++++++++++------
components/AboutPage/index.tsx | 15 ++++++---
components/RoadmapPage/index.scss | 9 ++----
components/UpdatesPage/index.tsx | 2 +-
styles/globals.scss | 34 +++++++++++++++++--
5 files changed, 88 insertions(+), 26 deletions(-)
diff --git a/components/AboutPage/index.scss b/components/AboutPage/index.scss
index 5549f51c..3d073192 100644
--- a/components/AboutPage/index.scss
+++ b/components/AboutPage/index.scss
@@ -7,27 +7,62 @@
flex-direction: column;
position: relative;
gap: $unit-2x;
+ z-index: 5;
.Hero {
position: absolute;
width: 40vw;
height: 80vh;
- right: $unit-8x * -1;
+ right: -18vw;
top: $unit-4x * -1;
+ z-index: 1;
background-image: linear-gradient(
90deg,
- rgba(245, 245, 245, 1) 0%,
- rgba(245, 245, 245, 0) 50%,
- rgba(245, 245, 245, 0) 70%,
- rgba(245, 245, 245, 1) 100%
+ rgba(245, 245, 245, 1) 5%,
+ rgba(245, 245, 245, 0.2) 50%,
+ rgba(245, 245, 245, 0.2) 70%,
+ rgba(245, 245, 245, 1) 95%
),
linear-gradient(
- rgba(245, 245, 245, 1) 0%,
- rgba(245, 245, 245, 0) 40%,
- rgba(245, 245, 245, 0) 78%,
- rgba(245, 245, 245, 1) 100%
+ rgba(245, 245, 245, 1) 5%,
+ rgba(245, 245, 245, 0.4) 40%,
+ rgba(245, 245, 245, 0.4) 78%,
+ rgba(245, 245, 245, 1) 95%
),
url('https://prd-game-a-granbluefantasy.akamaized.net/assets_en/img/sp/top/bg/bg_23.jpg');
+
+ @include breakpoint(tablet) {
+ right: -14vw;
+ width: 60vw;
+ }
+
+ @include breakpoint(phone) {
+ right: $unit-2x * -1;
+ width: 80vw;
+
+ &::before {
+ content: ' ';
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background: linear-gradient(
+ 90deg,
+ rgba(245, 245, 245, 1) 0%,
+ rgba(245, 245, 245, 0) 50%,
+ rgba(245, 245, 245, 0) 70%,
+ rgba(245, 245, 245, 1) 95%
+ ),
+ linear-gradient(
+ rgba(245, 245, 245, 1) 0%,
+ rgba(245, 245, 245, 0) 40%,
+ rgba(245, 245, 245, 0) 78%,
+ rgba(245, 245, 245, 1) 95%
+ );
+ z-index: 3;
+ }
+ }
}
p {
@@ -56,7 +91,6 @@
}
.LinkItem {
- background: var(--dialog-bg);
max-width: calc($width / 3 * 2);
}
}
diff --git a/components/AboutPage/index.tsx b/components/AboutPage/index.tsx
index f01437a4..54579976 100644
--- a/components/AboutPage/index.tsx
+++ b/components/AboutPage/index.tsx
@@ -50,7 +50,7 @@ const AboutPage: React.FC = (props: Props) => {
enjoying the tool and want to say thanks, come hang out in Discord.
Feedback and suggestions are greatly appreciated!
-