Adjust hero position, fix typos, add styles
This commit is contained in:
parent
607a10bfae
commit
a2c81de751
5 changed files with 88 additions and 26 deletions
|
|
@ -7,27 +7,62 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
position: relative;
|
position: relative;
|
||||||
gap: $unit-2x;
|
gap: $unit-2x;
|
||||||
|
z-index: 5;
|
||||||
|
|
||||||
.Hero {
|
.Hero {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 40vw;
|
width: 40vw;
|
||||||
height: 80vh;
|
height: 80vh;
|
||||||
right: $unit-8x * -1;
|
right: -18vw;
|
||||||
top: $unit-4x * -1;
|
top: $unit-4x * -1;
|
||||||
|
z-index: 1;
|
||||||
background-image: linear-gradient(
|
background-image: linear-gradient(
|
||||||
90deg,
|
90deg,
|
||||||
rgba(245, 245, 245, 1) 0%,
|
rgba(245, 245, 245, 1) 5%,
|
||||||
rgba(245, 245, 245, 0) 50%,
|
rgba(245, 245, 245, 0.2) 50%,
|
||||||
rgba(245, 245, 245, 0) 70%,
|
rgba(245, 245, 245, 0.2) 70%,
|
||||||
rgba(245, 245, 245, 1) 100%
|
rgba(245, 245, 245, 1) 95%
|
||||||
),
|
),
|
||||||
linear-gradient(
|
linear-gradient(
|
||||||
rgba(245, 245, 245, 1) 0%,
|
rgba(245, 245, 245, 1) 5%,
|
||||||
rgba(245, 245, 245, 0) 40%,
|
rgba(245, 245, 245, 0.4) 40%,
|
||||||
rgba(245, 245, 245, 0) 78%,
|
rgba(245, 245, 245, 0.4) 78%,
|
||||||
rgba(245, 245, 245, 1) 100%
|
rgba(245, 245, 245, 1) 95%
|
||||||
),
|
),
|
||||||
url('https://prd-game-a-granbluefantasy.akamaized.net/assets_en/img/sp/top/bg/bg_23.jpg');
|
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 {
|
p {
|
||||||
|
|
@ -56,7 +91,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.LinkItem {
|
.LinkItem {
|
||||||
background: var(--dialog-bg);
|
|
||||||
max-width: calc($width / 3 * 2);
|
max-width: calc($width / 3 * 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ const AboutPage: React.FC<Props> = (props: Props) => {
|
||||||
enjoying the tool and want to say thanks, come hang out in Discord.
|
enjoying the tool and want to say thanks, come hang out in Discord.
|
||||||
</p>
|
</p>
|
||||||
<p>Feedback and suggestions are greatly appreciated!</p>
|
<p>Feedback and suggestions are greatly appreciated!</p>
|
||||||
<div className="LinkItem">
|
<div className="Discord LinkItem">
|
||||||
<Link href="https://discord.gg/qyZ5hGdPC8">
|
<Link href="https://discord.gg/qyZ5hGdPC8">
|
||||||
<a
|
<a
|
||||||
href="https://discord.gg/qyZ5hGdPC8"
|
href="https://discord.gg/qyZ5hGdPC8"
|
||||||
|
|
@ -109,7 +109,7 @@ const AboutPage: React.FC<Props> = (props: Props) => {
|
||||||
Fireplace
|
Fireplace
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
and the granblue-tools Discord for all of their help with with bug
|
and the granblue-tools Discord for all of their help with with bug
|
||||||
testing, feature requests, and more support. (P.S. We're
|
testing, feature requests, and moral support. (P.S. We're
|
||||||
recruiting!)
|
recruiting!)
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
@ -117,8 +117,13 @@ const AboutPage: React.FC<Props> = (props: Props) => {
|
||||||
<section>
|
<section>
|
||||||
<h2>Contributing</h2>
|
<h2>Contributing</h2>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
If you know how to program, this app is completely open-source.
|
||||||
|
There's an abundance of features to build and bugs to fix, so
|
||||||
|
help is always greatly appreciated!
|
||||||
|
</p>
|
||||||
<ul className="Links">
|
<ul className="Links">
|
||||||
<li className="LinkItem">
|
<li className="Github LinkItem">
|
||||||
<Link href="https://github.com/jedmund/hensei-api">
|
<Link href="https://github.com/jedmund/hensei-api">
|
||||||
<a
|
<a
|
||||||
href="https://github.com/jedmund/hensei-api"
|
href="https://github.com/jedmund/hensei-api"
|
||||||
|
|
@ -133,7 +138,7 @@ const AboutPage: React.FC<Props> = (props: Props) => {
|
||||||
</a>
|
</a>
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
<li className="LinkItem">
|
<li className="Github LinkItem">
|
||||||
<Link href="https://github.com/jedmund/hensei-web">
|
<Link href="https://github.com/jedmund/hensei-web">
|
||||||
<a
|
<a
|
||||||
href="https://github.com/jedmund/hensei-web"
|
href="https://github.com/jedmund/hensei-web"
|
||||||
|
|
@ -153,7 +158,7 @@ const AboutPage: React.FC<Props> = (props: Props) => {
|
||||||
<section>
|
<section>
|
||||||
<h2>License</h2>
|
<h2>License</h2>
|
||||||
<p>
|
<p>
|
||||||
This app is open source and licensed under{' '}
|
This app is licensed under{' '}
|
||||||
<a
|
<a
|
||||||
href="https://choosealicense.com/licenses/agpl-3.0/"
|
href="https://choosealicense.com/licenses/agpl-3.0/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|
|
||||||
|
|
@ -29,10 +29,12 @@
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-bottom: $unit;
|
margin-bottom: $unit;
|
||||||
|
font-size: $font-medium;
|
||||||
}
|
}
|
||||||
|
|
||||||
.LinkItem {
|
.LinkItem {
|
||||||
$diameter: $unit-6x;
|
$diameter: $unit-6x;
|
||||||
|
background: var(--dialog-bg);
|
||||||
border: 1px solid var(--link-item-bg);
|
border: 1px solid var(--link-item-bg);
|
||||||
border-radius: $card-corner;
|
border-radius: $card-corner;
|
||||||
|
|
||||||
|
|
@ -78,13 +80,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
|
||||||
color: var(--text-secondary);
|
|
||||||
|
|
||||||
font-size: $font-regular;
|
|
||||||
line-height: 1.3;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
color: var(--text-primary);
|
color: var(--text-primary);
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ const UpdatesPage: React.FC<Props> = (props: Props) => {
|
||||||
'unauth',
|
'unauth',
|
||||||
'jpg'
|
'jpg'
|
||||||
)}
|
)}
|
||||||
<h3>No account editing</h3>
|
<h3>Accountless team editing</h3>
|
||||||
<p>
|
<p>
|
||||||
Now you can edit parties you create later on, even if you
|
Now you can edit parties you create later on, even if you
|
||||||
don't make an account. You still won't have a
|
don't make an account. You still won't have a
|
||||||
|
|
|
||||||
|
|
@ -147,20 +147,47 @@ select {
|
||||||
|
|
||||||
.LinkItem {
|
.LinkItem {
|
||||||
$diameter: $unit-6x;
|
$diameter: $unit-6x;
|
||||||
|
align-items: center;
|
||||||
|
background: var(--dialog-bg);
|
||||||
border: 1px solid var(--link-item-bg);
|
border: 1px solid var(--link-item-bg);
|
||||||
border-radius: $card-corner;
|
border-radius: $card-corner;
|
||||||
|
display: flex;
|
||||||
|
min-height: 82px;
|
||||||
|
transition: background $duration-zoom ease-in,
|
||||||
|
transform $duration-zoom ease-in;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: var(--link-item-bg);
|
background: var(--link-item-bg);
|
||||||
|
color: var(--text-primary);
|
||||||
|
|
||||||
svg {
|
.ShareIcon {
|
||||||
fill: var(--link-item-image-color-hover);
|
fill: var(--text-primary);
|
||||||
|
transform: translate($unit-half, calc(($unit * -1) / 2));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.Github {
|
||||||
|
.Left svg {
|
||||||
|
background: white;
|
||||||
|
border-radius: calc($diameter / 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
.Left svg {
|
||||||
|
fill: #6e5494;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.Discord:hover .Left svg {
|
||||||
|
fill: #5865f2;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
padding: $unit-2x;
|
padding: $unit-2x;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
@ -183,6 +210,7 @@ select {
|
||||||
fill: var(--link-item-image-color);
|
fill: var(--link-item-image-color);
|
||||||
width: $diameter;
|
width: $diameter;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
transition: fill $duration-zoom ease-in;
|
||||||
|
|
||||||
&.ShareIcon {
|
&.ShareIcon {
|
||||||
width: $unit-4x;
|
width: $unit-4x;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue