diff --git a/src/assets/images/image19.png b/src/assets/images/icon-user-behavior.png similarity index 100% rename from src/assets/images/image19.png rename to src/assets/images/icon-user-behavior.png diff --git a/src/i18n/en/healthCare/problemsSection.json b/src/i18n/en/healthCare/problemsSection.json index c3ae122..c657489 100644 --- a/src/i18n/en/healthCare/problemsSection.json +++ b/src/i18n/en/healthCare/problemsSection.json @@ -3,19 +3,19 @@ "data": [ { "id": 1, - "src": "../../../../public/images/image19.png", + "src": "/src/assets/images/icon-user-behavior.png", "title": "User behavior", "content": "Satisfying the habit of searching for any unusual signs related to the user's health" }, { "id": 2, - "src": "../../../../public/images/image20.png", + "src": "/src/assets/images/image20.png", "title": "User Information​", "content": "Providing accurate and easy-to-understand information for users​" }, { "id": 3, - "src": "../../../../public/images/image21.png", + "src": "/src/assets/images/image21.png", "title": "Interaction", "content": "Providing a good user experience with high interactivity, encourage users to provide more valuable information about their illness​" } diff --git a/src/shared/components/Header.tsx b/src/shared/components/Header.tsx index 0d9d01e..9bff24b 100644 --- a/src/shared/components/Header.tsx +++ b/src/shared/components/Header.tsx @@ -6,7 +6,8 @@ import { BsNewspaper, BsGithub } from "react-icons/bs"; import Whitepaper from "../../assets/Whitepaper.pdf"; import { MdLanguage } from "react-icons/md"; import { locales, resources } from "../../i18n/i18n"; -import { HashLink as Link } from "react-router-hash-link"; +import { HashLink } from "react-router-hash-link"; +import { Link } from "react-router-dom"; type Props = {}; @@ -126,7 +127,7 @@ const Header = (props: Props) => {