Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
add some items for the rollout
Browse files Browse the repository at this point in the history
  • Loading branch information
kalepail committed Dec 18, 2023
1 parent 7e27560 commit 8fcf3e3
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default function Landing() {
<main className="Landing">
<Hero />
<Designed />
<Timeline />
<Learn />
<GettingStarted />
<Earn />
Expand Down Expand Up @@ -131,6 +132,13 @@ const DesignedCard = ({ title, children }) => (
</div>
);

const Timeline = () => (
<div className="Timeline">
<img className="img__light" src="/img/timeline-lgt.png"></img>
<img className="img__dark" src="/img/timeline-drk.png"></img>
</div>
)

const Learn = () => (
<div className="Learn">
<div className="Learn__wrapper hp-center">
Expand Down
21 changes: 21 additions & 0 deletions src/pages/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,27 @@ a.hp-link {
}
}

.Timeline {
display: flex;
justify-content: center
}
[data-theme='dark'] .Timeline {
.img__light {
display: inherit;
}
.img__dark {
display: none;
}
}
[data-theme='light'] .Timeline {
.img__light {
display: none;
}
.img__dark {
display: inherit;
}
}

.Learn {
color: white;
background-color: var(--secondary-black);
Expand Down
Binary file added static/img/timeline-drk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/timeline-lgt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8fcf3e3

Please sign in to comment.