Skip to content

Commit

Permalink
make gradient
Browse files Browse the repository at this point in the history
  • Loading branch information
Marit Radder authored and Marit Radder committed Dec 15, 2023
1 parent 28bcf96 commit ec815f3
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/components/about/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ export const About: FunctionalComponent = () => (
<Icon icon={faTicket} pad />
Sign up for the waiting list!
</a> */}
<a
{/* <a
class={style.discord}
href="https://discord.gg/rB2ucUaFnc"
target="_blank"
>
<Icon icon={faDiscord} pad />
Join Our Discord!
</a>
</a> */}
</div>
</section>
);
2 changes: 1 addition & 1 deletion src/components/header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
height: 100vh;
min-height: 100vh;
width: 100vw;
background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #05238E 100%,), url('../../../static/banner.gif');
background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, $background-color 100%,), url('../../../static/banner.gif');
background-repeat: no-repeat;
background-size: cover;

Expand Down
4 changes: 2 additions & 2 deletions src/components/numbers/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
@import "./src/variables";

.numbers {
margin-bottom: 64px;

margin-bottom: 64px;
// background: linear-gradient(180deg, $background-color 0%, rgba(37, 0, 67, 0.00));

h2 {
color: $secondary-color;
Expand Down
4 changes: 4 additions & 0 deletions src/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ body {
position: relative;
}

.gradient {
background: linear-gradient(180deg, $background-color 25%, rgba(0, 0, 0, 0.00) 100%);
}

section {
margin: 0 8px;
}
Expand Down
7 changes: 5 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Fragment, h, render } from "preact";
import * as style from "./global.scss";

import {
About,
Expand All @@ -22,8 +23,10 @@ const start = (): void => {
render(
<Fragment>
<Header />
<Numbers />
<Navigation />
<div class={style.gradient}>
<Navigation />
<Numbers />
</div>
<About />
<Photos />
<Timeline />
Expand Down

0 comments on commit ec815f3

Please sign in to comment.