Skip to content

Commit a201ceb

Browse files
committed
chore: remove spice mentions
1 parent 98aa545 commit a201ceb

3 files changed

Lines changed: 8 additions & 58 deletions

File tree

.changeset/tough-rocks-sniff.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'frontend': patch
3+
---
4+
5+
chore: remove spice mentions

apps/frontend/src/app/5_pages/ClaimLpPage/ClaimLpPage.tsx

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,8 @@ import React, { FC, useCallback, useEffect, useMemo, useState } from 'react';
33
import { t } from 'i18next';
44
import { Helmet } from 'react-helmet-async';
55
import { Trans } from 'react-i18next';
6-
import { useNavigate } from 'react-router-dom';
76

8-
import {
9-
Button,
10-
ButtonStyle,
11-
Heading,
12-
Link,
13-
Paragraph,
14-
ParagraphSize,
15-
} from '@sovryn/ui';
7+
import { Button, Heading, Link, Paragraph, ParagraphSize } from '@sovryn/ui';
168

179
import { BOB_CHAIN_ID } from '../../../config/chains';
1810

@@ -28,7 +20,6 @@ import { Claim, useClaimLp } from './hooks/useClaimLp';
2820
const ClaimLpPage: FC = () => {
2921
const { account } = useAccount();
3022
const chainId = useCurrentChain();
31-
const navigate = useNavigate();
3223
const [loading, setLoading] = useState(false);
3324
const [claimable, setClaimable] = useState<Claim[]>([]);
3425

@@ -80,12 +71,6 @@ const ClaimLpPage: FC = () => {
8071
</Paragraph>
8172

8273
<div className="flex lg:flex-row flex-col items-center justify-around mt-6">
83-
<Button
84-
style={ButtonStyle.secondary}
85-
text={t(translations.claimLpPage.checkLeaderboard)}
86-
loading={loading}
87-
onClick={() => navigate('/bob-lp-points')}
88-
/>
8974
<Link
9075
href={CAMPAIGN_URL}
9176
text={t(translations.claimLpPage.aboutCampaign)}
@@ -144,21 +129,7 @@ const ClaimLpPage: FC = () => {
144129
))}
145130
</div>
146131

147-
<div className="rounded bg-gray-60 p-4 mt-6">
148-
<Paragraph>
149-
<Trans
150-
i18nKey={t(translations.claimLpPage.eSovDescription)}
151-
components={[
152-
<Button
153-
style={ButtonStyle.ghost}
154-
text={t(translations.claimLpPage.leaderboard)}
155-
onClick={() => navigate('/bob-lp-points')}
156-
/>,
157-
]}
158-
/>
159-
</Paragraph>
160-
</div>
161-
<div className="mt-2 text-center">
132+
<div className="mt-8 text-center">
162133
<Button
163134
text={t(translations.claimLpPage.cta)}
164135
className="grow-0 shrink w-full max-w-48"

apps/frontend/src/locales/en/translations.json

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -967,34 +967,8 @@
967967
}
968968
},
969969
"leaderboardPointsPage": {
970-
"meta": {
971-
"title": "Spice Leaderboard - Sovryn"
972-
},
973-
"title": "Spice Leaderboard",
974-
"description1": "Spice Points are rewards earned by providing liquidity and staking SOV on the Sovryn DEX on the BOB chain. These points track user contributions and engagement, helping determine future rewards allocated by the BOB team. This leaderboard displays only the rewards distributed by Sovryn and allows you to check your accumulated points and current position.",
975-
"description2": "If you want to earn your Spice points simply bridge your funds via <0>BOB Fusion and</0> start providing liquidity via our the <1>Market Making</1> page or start <2>Staking SOV</2> tokens.",
976970
"claimDescription": "Users who participated in the BOB Fusion Season 1 Spice Liquidity Provisioning campaign can claim their LP tokens here:",
977-
"leaderboard": "Leaderboard",
978-
"claimWarning": "Please note that users claiming from the distributor contract prior to <0>2024-05-31 12:00:00 UTC</0> will not be eligible to Extra Spice, and claiming prior to <1>2024-06-30 12:00:00 UTC</1> will not be eligible to Rune points.",
979-
"aboutCampaign": "About Extra Spice and Runes campaign",
980-
"claimLp": "Claim LP tokens",
981-
"connectWalletText": "Connect your wallet to see how many points you’ve got.",
982-
"connectWalletCta": "Connect wallet",
983-
"season1": "Season 1",
984-
"season2": "Season 2",
985-
"table": {
986-
"leaderboard": "Season 1 Leaderboard",
987-
"yourPosition": "Your position",
988-
"participant": "Participant",
989-
"balance": "Balance",
990-
"points": "Points",
991-
"spice": "Season 1 and 2 Spice",
992-
"spice3": "Season 3 Spice",
993-
"total": "Total",
994-
"extraSpice": "Extra Spice",
995-
"extraSpiceShot": "Extra Spice Shot",
996-
"runes": "Runes"
997-
}
971+
"claimLp": "Claim LP tokens"
998972
},
999973
"runeBridge": {
1000974
"mainScreen": {

0 commit comments

Comments
 (0)