Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update copy and remove outdated navbar links #2357

Merged
merged 1 commit into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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