Skip to content

Commit

Permalink
Update copy and remove outdated navbar links
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAurelius committed May 22, 2024
1 parent 310b651 commit 4cf0d02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
18 changes: 0 additions & 18 deletions app/components/NavMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ import InfoOutlined from "@mui/icons-material/InfoOutlined";
import LibraryAddOutlined from "@mui/icons-material/LibraryAddOutlined";
import MenuBookOutlined from "@mui/icons-material/MenuBookOutlined";
import ParkOutlined from "@mui/icons-material/ParkOutlined";
import Payment from "@mui/icons-material/Payment";
import RedeemOutlined from "@mui/icons-material/RedeemOutlined";
import SpaOutlined from "@mui/icons-material/SpaOutlined";
import { FC, ReactElement, ReactNode, useEffect, useState } from "react";
import { useSelector } from "react-redux";
import { useLocation } from "react-router";
Expand Down Expand Up @@ -153,14 +151,6 @@ export const NavMenu: FC<Props> = (props) => {
<Address domains={domains} address={props.address} />
<div className="hr" />
</div>
<MenuButton
isActive={pathname === "/buy"}
href={"/buy"}
icon={<Payment />}
onClick={handleHide}
>
<Trans id="menu.buy_klima">Buy KLIMA</Trans>
</MenuButton>
<MenuButton
isActive={pathname === "/stake"}
href="/stake"
Expand All @@ -169,14 +159,6 @@ export const NavMenu: FC<Props> = (props) => {
>
<Trans id="menu.stake_klima">Stake KLIMA</Trans>
</MenuButton>
<MenuButton
isActive={pathname.includes("/bond")}
href="/bonds"
icon={<SpaOutlined />}
onClick={handleHide}
>
<Trans id="menu.bond_carbon">Bond Carbon</Trans>
</MenuButton>
<MenuButton
isActive={pathname === "/wrap"}
href="/wrap"
Expand Down
8 changes: 4 additions & 4 deletions app/components/views/Offset/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -679,10 +679,10 @@ export const Offset = (props: Props) => {
</Text>
<Text t="caption" color="lightest">
<Trans>
Pay with fiat or crypto, or retire credits you already own. Your
message and data will be permanently inscribed on the blockchain.
Learn more about supported tokens in our{" "}
<A href={urls.officialDocs}>docs</A>.
Visit our <A href={urls.officialDocs}>docs</A> to learn how to
integrate carbon credit retirement into your application, or visit
<A href="https://carbonmark.com/projects">Carbonmark</A> to
explore project details.
</Trans>
</Text>
</div>
Expand Down

0 comments on commit 4cf0d02

Please sign in to comment.