From 9d89ba7cf6ca4d0fbdf30062c049fd7a9a7dad7f Mon Sep 17 00:00:00 2001
From: Frenkie Nguyen
Date: Fri, 29 Nov 2024 11:06:34 +0700
Subject: [PATCH] [Issue-212] [Story] [Story Odyssey] Update content for mint
phase 2
---
.../components/Mint/MintNftDetail/index.tsx | 2 +-
.../Mint/MintNftDetail/variants/Condition.tsx | 4 +--
.../src/connector/booka/sdk.ts | 32 ++++++++-----------
3 files changed, 16 insertions(+), 22 deletions(-)
diff --git a/packages/extension-koni-ui/src/components/Mint/MintNftDetail/index.tsx b/packages/extension-koni-ui/src/components/Mint/MintNftDetail/index.tsx
index c2ff4d1043..f2172a94d7 100644
--- a/packages/extension-koni-ui/src/components/Mint/MintNftDetail/index.tsx
+++ b/packages/extension-koni-ui/src/components/Mint/MintNftDetail/index.tsx
@@ -446,7 +446,7 @@ const Component: React.FC = (props: Props) => {
}
shape={'round'}
>
- {t('Phase 2 coming soon')}
+ {t('End campaign')}
)}
{buttonType === buttonTypeConst.MINT && (
diff --git a/packages/extension-koni-ui/src/components/Mint/MintNftDetail/variants/Condition.tsx b/packages/extension-koni-ui/src/components/Mint/MintNftDetail/variants/Condition.tsx
index 8da2cb5e6c..62b81822c6 100644
--- a/packages/extension-koni-ui/src/components/Mint/MintNftDetail/variants/Condition.tsx
+++ b/packages/extension-koni-ui/src/components/Mint/MintNftDetail/variants/Condition.tsx
@@ -47,14 +47,14 @@ function Component ({ airdropInfo, className }: Props) {
/>}
-
+ {!!item.start &&
{t('Time')}
{item.start ? customFormatDate(item.start, '#DD# #MMM#') : '__'}
-
{item.end ? customFormatDate(item.end, '#DD# #MMM#') : '__'}
-
+
}
{
!!item.note && (
diff --git a/packages/extension-koni-ui/src/connector/booka/sdk.ts b/packages/extension-koni-ui/src/connector/booka/sdk.ts
index 771c2a7d01..8c61d5b04b 100644
--- a/packages/extension-koni-ui/src/connector/booka/sdk.ts
+++ b/packages/extension-koni-ui/src/connector/booka/sdk.ts
@@ -966,15 +966,13 @@ export class BookaSdk {
const eligibilityList = [
{
id: 1,
- name: 'Rank on top 5,000 general leaderboard',
+ name: 'Hunt at least 19,999 accumulated SP from 07 Nov to 05 Dec',
start: getUCTPlus7('2024-11-07 07:00'),
- end: getUCTPlus7('2024-11-22 07:00')
+ end: getUCTPlus7('2024-12-05 07:00')
},
{
id: 2,
- name: 'Hunt at least 5,000 SP',
- start: getUCTPlus7('2024-11-07 07:00'),
- end: getUCTPlus7('2024-11-22 07:00')
+ name: 'Haven’t minted Phase 1 badge'
}
];
@@ -984,16 +982,16 @@ export class BookaSdk {
icon: '/images/mint-event-logo.png',
nft_url: '/images/default-nft-logo.png',
banner: '',
- start_snapshot: getUCTPlus7('2024-11-22 09:00'),
- start_mint: getUCTPlus7('2024-11-25 09:00'),
+ start_snapshot: getUCTPlus7('2024-12-05 10:00'),
+ start_mint: getUCTPlus7('2024-12-06 10:00'),
network: 'Polkadot',
total_badges: 5000,
symbol: 'badge',
// decimal: number;
// method: string;
// raffle_count: number;
- start: getUCTPlus7('2024-11-07 09:00'),
- end: getUCTPlus7('2024-11-29 09:00'),
+ start: getUCTPlus7('2024-12-02 07:00'),
+ end: getUCTPlus7('2024-12-07 10:00'),
conditionDescription: '',
share: {
url_share: 'https://x.koni.studio/mint-badge',
@@ -1024,28 +1022,24 @@ export class BookaSdk {
- How to hunt SP?
+ How to hunt Koni Story badge Phase 2?
- 👉Join Koni Story TG app to receive an original Story Point (SP) package that gives you a head start in the campaign
-
-
-
- 👉Accumulate more SP by completing tasks listed in the Missions tab
+ 👉Hunt at least 19,999 accumulated SP from Nov 07 to Dec 05
- 👉Climb up the ranks, as only top 5,000 users with at least 5,000 SP will be rewarded with Koni Story badges
+ 👉Haven’t minted Phase 1 badge
- For Story OG 😎
+ For Odyssey Badge Program Hunters
- Those who have minted IPs in Iliad Testnet Commemorative collection, Commemorative Color NFT collection, and
- Mycelium Remix collection will receive additional SP.
+ Those who have minted badges from projects on Story ecosystem will receive a
+ special bonus!
`,
shortDescription: '',