Skip to content

Commit

Permalink
Add: user guide buttom to UserProfile
Browse files Browse the repository at this point in the history
  • Loading branch information
georgiganchev-7DIGIT committed Jan 4, 2024
1 parent f32a191 commit 7fd6d83
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
11 changes: 11 additions & 0 deletions src/blocks/UserProfile/UserProfile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,17 @@ export const UserProfile = ({ openModal, isTmpUser }) => {
classes="user-profile__grid__item__button"
onClick={() => handleRedirect("/cookie-policy")}
/>
<ButtonSelector
label={t("user_guide")}
iconName="document"
classes="user-profile__grid__item__button"
onClick={() =>
window.open(
"https://7digit-1.gitbook.io/usupport/y0yJCW2nZ6Sb52p4arjv",
"_blank"
)
}
/>
<ButtonSelector
label={t("FAQ_button_label")}
iconName="info"
Expand Down
3 changes: 2 additions & 1 deletion src/blocks/UserProfile/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"mood_tracker_button_label": "Mood tracker",
"payments_history_button_label": "Payment History",
"terms_of_use": "Terms of use",
"cookie_policy": "Cookie policy"
"cookie_policy": "Cookie policy",
"user_guide": "Platform usage"
}
3 changes: 2 additions & 1 deletion src/blocks/UserProfile/locales/kk.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"mood_tracker_button_label": "Көңіл-күй трекері",
"payments_history_button_label": "Төлем тарихы",
"terms_of_use": "Пайдалану шарттары",
"cookie_policy": "Cookie саясаты"
"cookie_policy": "Cookie саясаты",
"user_guide": "Платформа Нұсқаулығы"
}
3 changes: 2 additions & 1 deletion src/blocks/UserProfile/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"mood_tracker_button_label": "Трекер настроения",
"payments_history_button_label": "История платежей",
"terms_of_use": "Условия использования",
"cookie_policy": "Политика Cookie"
"cookie_policy": "Политика Cookie",
"user_guide": "Руководство по платформе"
}

0 comments on commit 7fd6d83

Please sign in to comment.