Skip to content

Commit

Permalink
Merge pull request #9 from terra-money/new-changes
Browse files Browse the repository at this point in the history
added Dashboard link in menu and changes when 'Integrations & Staking…
  • Loading branch information
JoshuaBrigati authored Oct 19, 2023
2 parents bafa5e8 + 6820423 commit e769bca
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
9 changes: 9 additions & 0 deletions src/components/ Navigation/MobileNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ const MobileNavigation = forwardRef<
>
Menu
</h3>
<h2 className={styles.menu_heading}>
<a
href='https://alliance-dashboard.terra.money/'
target="_blank"
rel="noopener noreferrer"
>
Dashboard
</a>
</h2>
<h2 className={styles.menu_heading}>
<a
href='https://estimator.alliance.terra.money/'
Expand Down
7 changes: 7 additions & 0 deletions src/components/ Navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ const Navigation = (
</div>
<div className={styles.button_container}>
<div className={styles.non_button_links}>
<a
href='https://alliance-dashboard.terra.money/'
target="_blank"
rel="noopener noreferrer"
>
Dashboard
</a>
<a
href='https://estimator.alliance.terra.money/'
target="_blank"
Expand Down
2 changes: 1 addition & 1 deletion src/styles/LandingSection.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@
}
}

@media screen and (max-height: 850px) {
@media screen and (max-height: 760px) {
bottom: -112px;
}

Expand Down
10 changes: 9 additions & 1 deletion src/styles/Navigation.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,12 @@
display: flex;
align-items: center;
justify-content: center;
min-width: 90px;
margin: 0 28px;
font-weight: 500;

@media screen and (max-width: 1100px) {
margin: 0 12px;
}
}

.icon_only {
Expand Down Expand Up @@ -100,5 +104,9 @@
transform: translateX(2px)
}
}

@media screen and (max-width: 1100px) {
gap: 12px;
}
}
}

0 comments on commit e769bca

Please sign in to comment.