From f2c1a4811153eaa60be661dc5e0187c947f2906e Mon Sep 17 00:00:00 2001 From: 49659410+tx0c <> Date: Mon, 11 Dec 2023 04:32:10 +0000 Subject: [PATCH] feat(nomad-badges): remove `LV?` prefix Implementation of Digital Nomad program for thematters/developer-resource#326 --- .env.dev | 1 + lang/default.json | 39 +++++++-------- lang/en.json | 39 +++++++-------- lang/zh-Hans.json | 39 +++++++-------- lang/zh-Hant.json | 39 +++++++-------- .../UserProfile/BadgeNomadDialog/Content.tsx | 49 +++++++------------ .../BadgeNomadDialog/styles.module.css | 4 ++ .../UserProfile/BadgeNomadLabel/index.tsx | 11 ++--- src/views/User/UserProfile/Badges/index.tsx | 11 ++--- 9 files changed, 107 insertions(+), 125 deletions(-) diff --git a/.env.dev b/.env.dev index 3265b0e539..e25b76381d 100644 --- a/.env.dev +++ b/.env.dev @@ -33,6 +33,7 @@ NEXT_PUBLIC_GOOGLE_CLIENT_ID=315393900359-2r9fundftis7dc0tdeo2hf8630nfdd8h.apps. NEXT_PUBLIC_TWITTER_CLIENT_ID=X3d6Szg5bnVCMm5wRWxSVmhXUTc6MTpjaQ NEXT_PUBLIC_FACEBOOK_CLIENT_ID=203337806078602 NEXT_PUBLIC_CLOUDFLARE_TURNSTILE_SITE_KEY=0x4AAAAAAAKiedvR5qiLUhIs +NEXT_PUBLIC_NOMAD_MATTERS_CAMPAIGN_LINK=/@rsdyobw/22048-launching-the-nomad-matters-initiative DEBUG=false PLAYWRIGHT_RUNTIME_ENV=ci PLAYWRIGHT_TEST_BASE_URL=https://web-develop.matters.town diff --git a/lang/default.json b/lang/default.json index 5fe4dcda75..d52aa78545 100644 --- a/lang/default.json +++ b/lang/default.json @@ -3,9 +3,6 @@ "defaultMessage": "Please verify email first", "description": "src/views/Me/Settings/Settings/Password/index.tsx" }, - "+56XIp": { - "defaultMessage": "LV1 Moonlight Dream" - }, "+63O1f": { "defaultMessage": "Incorrect email or password", "description": "USER_PASSWORD_INVALID" @@ -314,6 +311,9 @@ "defaultMessage": "Oops. Something went wrong. Please try again later.", "description": "BAD_USER_INPUT" }, + "76yoL6": { + "defaultMessage": "Moonlight Dream" + }, "77tYPg": { "defaultMessage": "After deletion, the {commentType} will be removed immediately", "description": "src/components/Comment/DropdownActions/DeleteComment/Dialog.tsx" @@ -329,9 +329,6 @@ "defaultMessage": "Are you sure you want to delete draft?", "description": "src/components/DraftDigest/Feed/DeleteButton.tsx" }, - "7ZXP9S": { - "defaultMessage": "LV2 Meteor Canoe" - }, "7cwoRo": { "defaultMessage": "The author has disabled comments for this article" }, @@ -350,6 +347,9 @@ "8KFsZN": { "defaultMessage": "Read Counts" }, + "8MeJ4b": { + "defaultMessage": "Nimbus Ferry" + }, "8UWUW8": { "defaultMessage": "Collect Article", "description": "src/components/ArticleDigest/DropdownActions/ExtendButton.tsx" @@ -622,9 +622,6 @@ "defaultMessage": "Collection is deleted", "description": "src/components/CollectionDigest/DropdownActions/DeleteCollection/Dialog.tsx" }, - "FuU2MU": { - "defaultMessage": "LV4 Firebolt" - }, "FxrSCh": { "defaultMessage": "This ID cannot be modified. Are you sure you want to use {id} as your Matters ID?", "description": "src/components/Dialogs/SetUserNameDialog/ConfirmStep.tsx" @@ -779,6 +776,9 @@ "KQi/UZ": { "defaultMessage": "Archive works" }, + "KXOkR3": { + "defaultMessage": "Click here for the Nomad Matters and Badge Introduction." + }, "KlJEP9": { "defaultMessage": "Wallet connected", "description": "src/components/Forms/WalletAuthForm/Connect.tsx" @@ -978,6 +978,9 @@ "defaultMessage": "Please add email first", "description": "src/views/Me/Settings/Notifications/GeneralSettings/Email.tsx" }, + "Rc4Oij": { + "defaultMessage": "Firebolt" + }, "Ro0CuW": { "defaultMessage": "You do not have permission to perform this operation", "description": "FORBIDDEN" @@ -1041,6 +1044,9 @@ "TF1OhT": { "defaultMessage": "This login code has expired, please try to resend" }, + "TKsfIS": { + "defaultMessage": "Meteor Canoe" + }, "TSDiqB": { "defaultMessage": "Subscribers", "description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx" @@ -1231,10 +1237,6 @@ "defaultMessage": "Start writing", "description": "src/components/Buttons/StartWriting/index.tsx" }, - "Z31Fz+": { - "defaultMessage": "Under the moonlight, your dreams are about to come true. The Moonlight Dream badge glorifies your initial participation in the Nomad Matters. To reach the next level, invite 5 friends to join the journey with you. Click here in the last paragraph to find out how to invite new companions", - "description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx" - }, "ZAs170": { "defaultMessage": "Profile", "description": "src/views/Circle/Settings/index.tsx" @@ -1484,10 +1486,6 @@ "defaultMessage": "Number of readers", "description": "src/components/ArticleDigest/Published/FooterActions/index.tsx" }, - "iIa+u8": { - "defaultMessage": "Badge Name", - "description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx" - }, "icdrwy": { "defaultMessage": "Followed You", "description": "src/components/Buttons/FollowUser/FollowState.tsx" @@ -1561,6 +1559,10 @@ "defaultMessage": "Remove", "description": "src/components/Dialogs/RemoveArticleCollectionDialog/index.tsx" }, + "l+lNX/": { + "defaultMessage": "Under the moonlight, your dreams are about to come true. The Moonlight Dream badge glorifies your initial participation in the Nomad Matters. To reach the next level, invite 5 friends to join the journey with you.", + "description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx" + }, "l/f7bu": { "defaultMessage": "Want to know more? Check the", "description": "src/views/Me/Analytics/EmptyAnalytics/index.tsx" @@ -1807,9 +1809,6 @@ "defaultMessage": "This post may include sensitive content and has been marked by the {actor} as restricted content. Are you sure you want to expand the full text?", "description": "src/views/ArticleDetail/Wall/Sensitive/index.tsx" }, - "sLiIAz": { - "defaultMessage": "LV3 Nimbus Ferry" - }, "sPgUkN": { "defaultMessage": "This Month", "description": "src/views/Circle/Analytics/IncomeAnalytics/index.tsx" diff --git a/lang/en.json b/lang/en.json index fddadebab2..b4d832057f 100644 --- a/lang/en.json +++ b/lang/en.json @@ -3,9 +3,6 @@ "defaultMessage": "Please verify email first", "description": "src/views/Me/Settings/Settings/Password/index.tsx" }, - "+56XIp": { - "defaultMessage": "LV1 Moonlight Dream" - }, "+63O1f": { "defaultMessage": "Incorrect email or password", "description": "USER_PASSWORD_INVALID" @@ -314,6 +311,9 @@ "defaultMessage": "Oops. Something went wrong. Please try again later.", "description": "BAD_USER_INPUT" }, + "76yoL6": { + "defaultMessage": "Moonlight Dream" + }, "77tYPg": { "defaultMessage": "After deletion, the {commentType} will be removed immediately", "description": "src/components/Comment/DropdownActions/DeleteComment/Dialog.tsx" @@ -329,9 +329,6 @@ "defaultMessage": "Are you sure you want to delete draft?", "description": "src/components/DraftDigest/Feed/DeleteButton.tsx" }, - "7ZXP9S": { - "defaultMessage": "LV2 Meteor Canoe" - }, "7cwoRo": { "defaultMessage": "The author has disabled comments for this article" }, @@ -350,6 +347,9 @@ "8KFsZN": { "defaultMessage": "Read Counts" }, + "8MeJ4b": { + "defaultMessage": "Nimbus Ferry" + }, "8UWUW8": { "defaultMessage": "Collect Article", "description": "src/components/ArticleDigest/DropdownActions/ExtendButton.tsx" @@ -622,9 +622,6 @@ "defaultMessage": "Collection is deleted", "description": "src/components/CollectionDigest/DropdownActions/DeleteCollection/Dialog.tsx" }, - "FuU2MU": { - "defaultMessage": "LV4 Firebolt" - }, "FxrSCh": { "defaultMessage": "This ID cannot be modified. Are you sure you want to use {id} as your Matters ID?", "description": "src/components/Dialogs/SetUserNameDialog/ConfirmStep.tsx" @@ -779,6 +776,9 @@ "KQi/UZ": { "defaultMessage": "Archive works" }, + "KXOkR3": { + "defaultMessage": "Click here for the Nomad Matters and Badge Introduction." + }, "KlJEP9": { "defaultMessage": "Wallet connected", "description": "src/components/Forms/WalletAuthForm/Connect.tsx" @@ -978,6 +978,9 @@ "defaultMessage": "Please add email first", "description": "src/views/Me/Settings/Notifications/GeneralSettings/Email.tsx" }, + "Rc4Oij": { + "defaultMessage": "Firebolt" + }, "Ro0CuW": { "defaultMessage": "You do not have permission to perform this operation", "description": "FORBIDDEN" @@ -1041,6 +1044,9 @@ "TF1OhT": { "defaultMessage": "This login code has expired, please try to resend" }, + "TKsfIS": { + "defaultMessage": "Meteor Canoe" + }, "TSDiqB": { "defaultMessage": "Subscribers", "description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx" @@ -1231,10 +1237,6 @@ "defaultMessage": "Start writing", "description": "src/components/Buttons/StartWriting/index.tsx" }, - "Z31Fz+": { - "defaultMessage": "Under the moonlight, your dreams are about to come true. The Moonlight Dream badge glorifies your initial participation in the Nomad Matters. To reach the next level, invite 5 friends to join the journey with you. Click here in the last paragraph to find out how to invite new companions", - "description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx" - }, "ZAs170": { "defaultMessage": "Profile", "description": "src/views/Circle/Settings/index.tsx" @@ -1484,10 +1486,6 @@ "defaultMessage": "Number of readers", "description": "src/components/ArticleDigest/Published/FooterActions/index.tsx" }, - "iIa+u8": { - "defaultMessage": "Badge Name", - "description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx" - }, "icdrwy": { "defaultMessage": "Followed You", "description": "src/components/Buttons/FollowUser/FollowState.tsx" @@ -1561,6 +1559,10 @@ "defaultMessage": "Remove", "description": "src/components/Dialogs/RemoveArticleCollectionDialog/index.tsx" }, + "l+lNX/": { + "defaultMessage": "Under the moonlight, your dreams are about to come true. The Moonlight Dream badge glorifies your initial participation in the Nomad Matters. To reach the next level, invite 5 friends to join the journey with you.", + "description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx" + }, "l/f7bu": { "defaultMessage": "Want to know more? Check the", "description": "src/views/Me/Analytics/EmptyAnalytics/index.tsx" @@ -1807,9 +1809,6 @@ "defaultMessage": "This post may include sensitive content and has been marked by the {actor} as restricted content. Are you sure you want to expand the full text?", "description": "src/views/ArticleDetail/Wall/Sensitive/index.tsx" }, - "sLiIAz": { - "defaultMessage": "LV3 Nimbus Ferry" - }, "sPgUkN": { "defaultMessage": "This Month", "description": "src/views/Circle/Analytics/IncomeAnalytics/index.tsx" diff --git a/lang/zh-Hans.json b/lang/zh-Hans.json index f23cadfac8..339d728b6e 100644 --- a/lang/zh-Hans.json +++ b/lang/zh-Hans.json @@ -3,9 +3,6 @@ "defaultMessage": "请先验证邮箱", "description": "src/views/Me/Settings/Settings/Password/index.tsx" }, - "+56XIp": { - "defaultMessage": "LV1 月之梦" - }, "+63O1f": { "defaultMessage": "邮箱或密码错误", "description": "USER_PASSWORD_INVALID" @@ -314,6 +311,9 @@ "defaultMessage": "出错了,请检查你输入的内容", "description": "BAD_USER_INPUT" }, + "76yoL6": { + "defaultMessage": "月之梦" + }, "77tYPg": { "defaultMessage": "确认删除后,{commentType}会立即消失。", "description": "src/components/Comment/DropdownActions/DeleteComment/Dialog.tsx" @@ -329,9 +329,6 @@ "defaultMessage": "确认要删除草稿吗?", "description": "src/components/DraftDigest/Feed/DeleteButton.tsx" }, - "7ZXP9S": { - "defaultMessage": "LV2 流星号" - }, "7cwoRo": { "defaultMessage": "因为作者设置,你无法参与讨论。" }, @@ -350,6 +347,9 @@ "8KFsZN": { "defaultMessage": "阅读次数" }, + "8MeJ4b": { + "defaultMessage": "光轮号" + }, "8UWUW8": { "defaultMessage": "关联作品", "description": "src/components/ArticleDigest/DropdownActions/ExtendButton.tsx" @@ -622,9 +622,6 @@ "defaultMessage": "选集已刪除", "description": "src/components/CollectionDigest/DropdownActions/DeleteCollection/Dialog.tsx" }, - "FuU2MU": { - "defaultMessage": "LV4 火闪电" - }, "FxrSCh": { "defaultMessage": "ID 设置后无法修改,确认使用 {id} 作为 Matters ID 吗?", "description": "src/components/Dialogs/SetUserNameDialog/ConfirmStep.tsx" @@ -779,6 +776,9 @@ "KQi/UZ": { "defaultMessage": "归档作品" }, + "KXOkR3": { + "defaultMessage": "遊牧者計畫與徽章介紹請點此。" + }, "KlJEP9": { "defaultMessage": "钱包已绑定", "description": "src/components/Forms/WalletAuthForm/Connect.tsx" @@ -978,6 +978,9 @@ "defaultMessage": "请先绑定邮箱", "description": "src/views/Me/Settings/Notifications/GeneralSettings/Email.tsx" }, + "Rc4Oij": { + "defaultMessage": "火闪电" + }, "Ro0CuW": { "defaultMessage": "你尚无权限进行该操作", "description": "FORBIDDEN" @@ -1041,6 +1044,9 @@ "TF1OhT": { "defaultMessage": "临时密码已过期,请尝试重新发送" }, + "TKsfIS": { + "defaultMessage": "流星号" + }, "TSDiqB": { "defaultMessage": "付费人数", "description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx" @@ -1231,10 +1237,6 @@ "defaultMessage": "开始创作", "description": "src/components/Buttons/StartWriting/index.tsx" }, - "Z31Fz+": { - "defaultMessage": "月色之下梦想即将实现,月之梦徽章代表你参与了游牧者计画(参赛或支持了优质计画)。接下来邀请 5 位伙伴一同踏上旅程,将获得更高等级的徽章。 如何邀请伙伴?点此看最后一段", - "description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx" - }, "ZAs170": { "defaultMessage": "基本资料", "description": "src/views/Circle/Settings/index.tsx" @@ -1484,10 +1486,6 @@ "defaultMessage": "读者数量", "description": "src/components/ArticleDigest/Published/FooterActions/index.tsx" }, - "iIa+u8": { - "defaultMessage": "徽章名称", - "description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx" - }, "icdrwy": { "defaultMessage": "追踪了你", "description": "src/components/Buttons/FollowUser/FollowState.tsx" @@ -1561,6 +1559,10 @@ "defaultMessage": "确认移出", "description": "src/components/Dialogs/RemoveArticleCollectionDialog/index.tsx" }, + "l+lNX/": { + "defaultMessage": "月色之下梦想即将实现,月之梦徽章代表你参与了游牧者计画,可能是参赛或支持了优质计画。接下来邀请 5 位伙伴一同踏上旅程,将获得更高等级的徽章。", + "description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx" + }, "l/f7bu": { "defaultMessage": "想了解更多?詳見 ", "description": "src/views/Me/Analytics/EmptyAnalytics/index.tsx" @@ -1807,9 +1809,6 @@ "defaultMessage": "此文已被{actor}标示为限制级内容,是否确定展开全文?", "description": "src/views/ArticleDetail/Wall/Sensitive/index.tsx" }, - "sLiIAz": { - "defaultMessage": "LV3 光轮号" - }, "sPgUkN": { "defaultMessage": "本月营收", "description": "src/views/Circle/Analytics/IncomeAnalytics/index.tsx" diff --git a/lang/zh-Hant.json b/lang/zh-Hant.json index 28b7e0467c..2e3311acce 100644 --- a/lang/zh-Hant.json +++ b/lang/zh-Hant.json @@ -3,9 +3,6 @@ "defaultMessage": "請先驗證郵箱", "description": "src/views/Me/Settings/Settings/Password/index.tsx" }, - "+56XIp": { - "defaultMessage": "LV1 月之夢" - }, "+63O1f": { "defaultMessage": "郵件地址或密碼錯誤", "description": "USER_PASSWORD_INVALID" @@ -314,6 +311,9 @@ "defaultMessage": "出錯了,請檢查你輸入的內容", "description": "BAD_USER_INPUT" }, + "76yoL6": { + "defaultMessage": "月之夢" + }, "77tYPg": { "defaultMessage": "確認刪除後,{commentType}會立即消失。", "description": "src/components/Comment/DropdownActions/DeleteComment/Dialog.tsx" @@ -329,9 +329,6 @@ "defaultMessage": "確認要刪除草稿嗎?", "description": "src/components/DraftDigest/Feed/DeleteButton.tsx" }, - "7ZXP9S": { - "defaultMessage": "LV2 流星號" - }, "7cwoRo": { "defaultMessage": "因爲作者設置,你無法參與討論。" }, @@ -350,6 +347,9 @@ "8KFsZN": { "defaultMessage": "閱讀次數" }, + "8MeJ4b": { + "defaultMessage": "光輪號" + }, "8UWUW8": { "defaultMessage": "關聯作品", "description": "src/components/ArticleDigest/DropdownActions/ExtendButton.tsx" @@ -622,9 +622,6 @@ "defaultMessage": "選集已刪除", "description": "src/components/CollectionDigest/DropdownActions/DeleteCollection/Dialog.tsx" }, - "FuU2MU": { - "defaultMessage": "LV4 火閃電" - }, "FxrSCh": { "defaultMessage": "ID 設置後無法修改,確認使用 {id} 作為 Matters ID 嗎?", "description": "src/components/Dialogs/SetUserNameDialog/ConfirmStep.tsx" @@ -779,6 +776,9 @@ "KQi/UZ": { "defaultMessage": "封存作品" }, + "KXOkR3": { + "defaultMessage": "遊牧者計畫與徽章介紹請點此。" + }, "KlJEP9": { "defaultMessage": "錢包已綁定", "description": "src/components/Forms/WalletAuthForm/Connect.tsx" @@ -978,6 +978,9 @@ "defaultMessage": "請先綁定郵箱", "description": "src/views/Me/Settings/Notifications/GeneralSettings/Email.tsx" }, + "Rc4Oij": { + "defaultMessage": "火閃電" + }, "Ro0CuW": { "defaultMessage": "你尚無權限進行該操作", "description": "FORBIDDEN" @@ -1041,6 +1044,9 @@ "TF1OhT": { "defaultMessage": "臨時密碼已過期,請嘗試重新發送" }, + "TKsfIS": { + "defaultMessage": "流星號" + }, "TSDiqB": { "defaultMessage": "付費人數", "description": "src/views/Circle/Analytics/SubscriberAnalytics/index.tsx" @@ -1231,10 +1237,6 @@ "defaultMessage": "開始創作", "description": "src/components/Buttons/StartWriting/index.tsx" }, - "Z31Fz+": { - "defaultMessage": "月色之下夢想即將實現,月之夢徽章代表你參與了遊牧者計畫(參賽或支持了優質計畫)。接下來邀請 5 位夥伴一同踏上旅程,將獲得更高等級的徽章。如何邀請夥伴?點此看最後一段", - "description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx" - }, "ZAs170": { "defaultMessage": "基本資料", "description": "src/views/Circle/Settings/index.tsx" @@ -1484,10 +1486,6 @@ "defaultMessage": "讀者數量", "description": "src/components/ArticleDigest/Published/FooterActions/index.tsx" }, - "iIa+u8": { - "defaultMessage": "徽章名稱", - "description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx" - }, "icdrwy": { "defaultMessage": "追蹤了你", "description": "src/components/Buttons/FollowUser/FollowState.tsx" @@ -1561,6 +1559,10 @@ "defaultMessage": "確認移出", "description": "src/components/Dialogs/RemoveArticleCollectionDialog/index.tsx" }, + "l+lNX/": { + "defaultMessage": "月色之下夢想即將實現,月之夢徽章代表你參與了遊牧者計畫,可能是參賽或支持了優質計畫。接下來邀請 5 位夥伴一同踏上旅程,將獲得更高等級的徽章。", + "description": "src/views/User/UserProfile/BadgeNomadLabel/index.tsx" + }, "l/f7bu": { "defaultMessage": "想了解更多?詳見 ", "description": "src/views/Me/Analytics/EmptyAnalytics/index.tsx" @@ -1807,9 +1809,6 @@ "defaultMessage": "此文已被{actor}標示為限制級內容,是否確定展開全文?", "description": "src/views/ArticleDetail/Wall/Sensitive/index.tsx" }, - "sLiIAz": { - "defaultMessage": "LV3 光輪號" - }, "sPgUkN": { "defaultMessage": "本月營收", "description": "src/views/Circle/Analytics/IncomeAnalytics/index.tsx" diff --git a/src/views/User/UserProfile/BadgeNomadDialog/Content.tsx b/src/views/User/UserProfile/BadgeNomadDialog/Content.tsx index 79226ead8a..b67e5bf89d 100644 --- a/src/views/User/UserProfile/BadgeNomadDialog/Content.tsx +++ b/src/views/User/UserProfile/BadgeNomadDialog/Content.tsx @@ -71,21 +71,15 @@ const BadgeNomadDialogContent = ({

{nomadBadgeLevel === 4 ? ( - + ) : nomadBadgeLevel === 3 ? ( - + ) : nomadBadgeLevel === 2 ? ( - + ) : ( )}

@@ -94,46 +88,39 @@ const BadgeNomadDialogContent = ({ , - // b: (chunks) => {chunks}, - }} description="src/views/User/UserProfile/BadgeNomadLabel/index.tsx" /> ) : nomadBadgeLevel === 3 ? ( , - // b: (chunks) => {chunks}, - }} description="src/views/User/UserProfile/BadgeNomadLabel/index.tsx" /> ) : nomadBadgeLevel === 2 ? ( , - // b: (chunks) => {chunks}, - }} description="src/views/User/UserProfile/BadgeNomadLabel/index.tsx" /> ) : ( , - a: (chunks) => ( - {chunks} - ), - }} + defaultMessage="Under the moonlight, your dreams are about to come true. The Moonlight Dream badge glorifies your initial participation in the Nomad Matters. To reach the next level, invite 5 friends to join the journey with you." + id="l+lNX/" description="src/views/User/UserProfile/BadgeNomadLabel/index.tsx" /> )}

+

+ ( + {chunks} + ), + }} + /> +

diff --git a/src/views/User/UserProfile/BadgeNomadDialog/styles.module.css b/src/views/User/UserProfile/BadgeNomadDialog/styles.module.css index ec7d7fa651..e42edc43a4 100644 --- a/src/views/User/UserProfile/BadgeNomadDialog/styles.module.css +++ b/src/views/User/UserProfile/BadgeNomadDialog/styles.module.css @@ -44,4 +44,8 @@ & .title { padding: var(--spacing-base) 0; } + + & a { + text-decoration-line: underline; + } } diff --git a/src/views/User/UserProfile/BadgeNomadLabel/index.tsx b/src/views/User/UserProfile/BadgeNomadLabel/index.tsx index 87534b1cef..93c2ac7c2b 100644 --- a/src/views/User/UserProfile/BadgeNomadLabel/index.tsx +++ b/src/views/User/UserProfile/BadgeNomadLabel/index.tsx @@ -28,16 +28,13 @@ export const BadgeNomadLabel: React.FC = ({ + ) : nomadBadgeLevel === 3 ? ( - + ) : nomadBadgeLevel === 2 ? ( - + ) : ( - + ) } placement="top" diff --git a/src/views/User/UserProfile/Badges/index.tsx b/src/views/User/UserProfile/Badges/index.tsx index 8bcaaf720c..99d301f4fe 100644 --- a/src/views/User/UserProfile/Badges/index.tsx +++ b/src/views/User/UserProfile/Badges/index.tsx @@ -222,16 +222,13 @@ export const NomadBadge = ({
{level === 4 ? ( - + ) : level === 3 ? ( - + ) : level === 2 ? ( - + ) : ( - + )}