diff --git a/public/images/line1.svg b/public/images/line1.svg new file mode 100644 index 0000000..7f99ba0 --- /dev/null +++ b/public/images/line1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/public/images/line2.svg b/public/images/line2.svg new file mode 100644 index 0000000..0a92a65 --- /dev/null +++ b/public/images/line2.svg @@ -0,0 +1,3 @@ + + + diff --git a/public/images/line3.svg b/public/images/line3.svg new file mode 100644 index 0000000..23062e2 --- /dev/null +++ b/public/images/line3.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/public/images/line4.svg b/public/images/line4.svg new file mode 100644 index 0000000..2d45754 --- /dev/null +++ b/public/images/line4.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/images/JoinsCoM1.png b/src/assets/images/JoinsCoM1.png new file mode 100644 index 0000000..f6e0158 Binary files /dev/null and b/src/assets/images/JoinsCoM1.png differ diff --git a/src/assets/images/JoinsCoM2.png b/src/assets/images/JoinsCoM2.png new file mode 100644 index 0000000..4d0043a Binary files /dev/null and b/src/assets/images/JoinsCoM2.png differ diff --git a/src/assets/images/JoinsCoM3.png b/src/assets/images/JoinsCoM3.png new file mode 100644 index 0000000..52a2a0e Binary files /dev/null and b/src/assets/images/JoinsCoM3.png differ diff --git a/src/assets/images/JoinsCoM4.png b/src/assets/images/JoinsCoM4.png new file mode 100644 index 0000000..4adcd4b Binary files /dev/null and b/src/assets/images/JoinsCoM4.png differ diff --git a/src/assets/images/JoinsCoM5.png b/src/assets/images/JoinsCoM5.png new file mode 100644 index 0000000..2edf030 Binary files /dev/null and b/src/assets/images/JoinsCoM5.png differ diff --git a/src/assets/images/buildforgrowth.png b/src/assets/images/buildforgrowth.png new file mode 100644 index 0000000..b7fc566 Binary files /dev/null and b/src/assets/images/buildforgrowth.png differ diff --git a/src/assets/images/howitword.png b/src/assets/images/howitword.png new file mode 100644 index 0000000..02cb585 Binary files /dev/null and b/src/assets/images/howitword.png differ diff --git a/src/assets/images/logoGoogle.png b/src/assets/images/logoGoogle.png new file mode 100644 index 0000000..c52e454 Binary files /dev/null and b/src/assets/images/logoGoogle.png differ diff --git a/src/assets/images/logoMicrosoft.png b/src/assets/images/logoMicrosoft.png new file mode 100644 index 0000000..0320cdd Binary files /dev/null and b/src/assets/images/logoMicrosoft.png differ diff --git a/src/assets/images/vector.png b/src/assets/images/vector.png new file mode 100644 index 0000000..0ecce0b Binary files /dev/null and b/src/assets/images/vector.png differ diff --git a/src/i18n/en/healthCare/approachSection.json b/src/i18n/en/healthCare/approachSection.json deleted file mode 100644 index f8c459c..0000000 --- a/src/i18n/en/healthCare/approachSection.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "data": [ - { - "id": 1, - "title": "Step 1​", - "contents": [ - { - "content": "Build MVP version of product that provides a free chatbot service on diseases for users." - }, - { - "content": "Attract a large number of users to experience the best features of the product.​" - }, - { - "content": "Become an application that users use before they use Google.​" - } - ] - }, - { - "id": 2, - "title": "Step 2​", - "contents": [ - { - "content": "Add more accurate and reliable data sources​." - }, - { - "content": "For each answer, additional questions will be asked to encourage users to provide more information​.​" - }, - { - "content": "Enhance the ability to synthesize disease information from conversation history with users​.​" - } - ] - }, - { - "id": 3, - "title": "Step 3​", - "contents": [ - { - "content": "Refine the product based on user feedback​." - }, - { - "content": "Provide additional valuable services such as:​", - "navcontent": [ - "Suggesting reputable clinics to users.", - "Booking medical appointments." - ] - } - ] - } - ] -} diff --git a/src/i18n/en/healthCare/buildForGrowthSection.json b/src/i18n/en/healthCare/buildForGrowthSection.json new file mode 100644 index 0000000..733e5d2 --- /dev/null +++ b/src/i18n/en/healthCare/buildForGrowthSection.json @@ -0,0 +1,35 @@ +{ + "title": "Build for growth", + "array": [ + { + "button": "Gaming", + "title": "Lorem ipsum1", + "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus a euismod risus, at vestibulum odio. Nunc in mauris eu libero gravida varius. Integer finibus orci porta, facilisis erat in, interdum sem", + "link": "https://sgpt-ai.org/" + }, + { + "button": "Lorem", + "title": "Lorem ipsum2", + "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus a euismod risus, at vestibulum odio. Nunc in mauris eu libero gravida varius. Integer finibus orci porta, facilisis erat in, interdum sem", + "link": "https://sgpt-ai.org/" + }, + { + "button": "Ipsum", + "title": "Lorem ipsum3", + "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus a euismod risus, at vestibulum odio. Nunc in mauris eu libero gravida varius. Integer finibus orci porta, facilisis erat in, interdum sem", + "link": "https://sgpt-ai.org/" + }, + { + "button": "Dolor sit", + "title": "Lorem ipsum4", + "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus a euismod risus, at vestibulum odio. Nunc in mauris eu libero gravida varius. Integer finibus orci porta, facilisis erat in, interdum sem", + "link": "https://sgpt-ai.org/" + }, + { + "button": "Amet", + "title": "Lorem ipsum5", + "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus a euismod risus, at vestibulum odio. Nunc in mauris eu libero gravida varius. Integer finibus orci porta, facilisis erat in, interdum sem", + "link": "https://sgpt-ai.org/" + } + ] +} diff --git a/src/i18n/en/healthCare/customerInsight.json b/src/i18n/en/healthCare/customerInsight.json deleted file mode 100644 index 9422188..0000000 --- a/src/i18n/en/healthCare/customerInsight.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "title": "Customer Insight​", - "content1": "Users need a reliable and easy-to-understand source of information.​", - "content2": "Users dislike having to synthesize complex information after conducting searches.​​​", - "content3": "Users prefer to search for information about illnesses as a reference before seeing a doctor.​", - "content4": "People with mental health issues tend to prefer texting about their problems​.​" -} diff --git a/src/i18n/en/healthCare/firstSection.json b/src/i18n/en/healthCare/firstSection.json index 4562dc5..a123132 100644 --- a/src/i18n/en/healthCare/firstSection.json +++ b/src/i18n/en/healthCare/firstSection.json @@ -1,3 +1,9 @@ { - "title": "SGPT for Healthcare" + + "title1": "A", + "title2": "digital currency payment", + "title3": "for chat bot services", + "content": "The SGPT Token is a digital currency designed to facilitate payments for services provided by the SGPT chat bot. The chat bot is a powerful tool that utilizes artificial intelligence to communicate with users and provide valuable information and services.", + "button1": "Adress on BSC", + "button2": "How it works" } diff --git a/src/i18n/en/healthCare/howItWorksSection.json b/src/i18n/en/healthCare/howItWorksSection.json new file mode 100644 index 0000000..8d6c2a8 --- /dev/null +++ b/src/i18n/en/healthCare/howItWorksSection.json @@ -0,0 +1,3 @@ +{ + "heading": "How it works" +} diff --git a/src/i18n/en/healthCare/joinACommunityOfMillions.json b/src/i18n/en/healthCare/joinACommunityOfMillions.json new file mode 100644 index 0000000..13e8a2f --- /dev/null +++ b/src/i18n/en/healthCare/joinACommunityOfMillions.json @@ -0,0 +1,9 @@ +{ + "heading": "Join a community of millions", + "number1": "11,000", + "content1": "Lorem ipsum dolor sit", + "number2": "11,000", + "content2": "Lorem ipsum dolor sit", + "title": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus a euismod risus, at vestibulum odio", + "button": "Button name" +} diff --git a/src/i18n/en/healthCare/massAdoptionSection.json b/src/i18n/en/healthCare/massAdoptionSection.json new file mode 100644 index 0000000..bd9cfce --- /dev/null +++ b/src/i18n/en/healthCare/massAdoptionSection.json @@ -0,0 +1,26 @@ +{ + "heading": "Made for mass adoption​", + "title1": "Fast", + "content1_1": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ac blandit elit. Sed eu tincidunt sem. Mauris iaculis posuere lorem a venenatis. Pellentesque hendrerit facilisis ante eget tempus", + "content1_2": "4,824", + "content1_3": "TRANSACTIONS PER SECOND", + "line1": "/images/line1.svg", + + "title2": "Fast", + "content2_1": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ac blandit elit. Sed eu tincidunt sem. Mauris iaculis posuere lorem a venenatis. Pellentesque hendrerit facilisis ante eget tempus", + "content2_2": "4,824", + "content2_3": "TRANSACTIONS PER SECOND", + "line2": "/images/line2.svg", + + "title3": "Fast", + "content3_1": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ac blandit elit. Sed eu tincidunt sem. Mauris iaculis posuere lorem a venenatis. Pellentesque hendrerit facilisis ante eget tempus", + "content3_2": "4,824", + "content3_3": "TRANSACTIONS PER SECOND", + "line3": "/images/line3.svg", + + "title4": "Fast", + "content4_1": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ac blandit elit. Sed eu tincidunt sem. Mauris iaculis posuere lorem a venenatis. Pellentesque hendrerit facilisis ante eget tempus", + "content4_2": "4,824", + "content4_3": "TRANSACTIONS PER SECOND", + "line4": "/images/line4.svg" +} diff --git a/src/i18n/en/healthCare/problemsSection.json b/src/i18n/en/healthCare/problemsSection.json deleted file mode 100644 index 177996a..0000000 --- a/src/i18n/en/healthCare/problemsSection.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "title": "The Problems​", - "data": [ - { - "id": 1, - "src": "images/image19.png", - "title": "User behavior", - "content": "Satisfying the habit of searching for any unusual signs related to the user's health" - }, - { - "id": 2, - "src": "images/image20.png", - "title": "User Information​", - "content": "Providing accurate and easy-to-understand information for users​" - }, - { - "id": 3, - "src": "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/i18n/en/healthCare/secondSection.json b/src/i18n/en/healthCare/secondSection.json new file mode 100644 index 0000000..d817dc2 --- /dev/null +++ b/src/i18n/en/healthCare/secondSection.json @@ -0,0 +1,25 @@ +{ + "title": "Join a community of millions​", + "data": [ + { + "id": 1, + "title": "50K", + "content": "Protocols" + }, + { + "id": 2, + "title": "43K​", + "content": "Requested processed​" + }, + { + "id": 3, + "title": "38K", + "content": "Service uptime​" + }, + { + "id": 4, + "title": "34K", + "content": "Community members​" + } + ] +} diff --git a/src/i18n/en/healthCare/solutionsOfProduct​.json b/src/i18n/en/healthCare/solutionsOfProduct​.json deleted file mode 100644 index 470d35f..0000000 --- a/src/i18n/en/healthCare/solutionsOfProduct​.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "data1": { - "title": "DATA", - "contents": { - "content1": "Reliable and authoritative data sources.", - "content2": "The data is certified by hospitals and specialist doctors." - } - }, - "data2": { - "title": "TECHNOLOGY", - "contents": { - "content1": "The development and research team has extensive experience in developing products in the healthcare industry." - } - }, - "data3": { - "title": "CUSTOMIZATION", - "contents": { - "content1": "The server is designed to handle large amounts of data and has high scalabilit.", - "content2": "The system is highly customizable and adaptable to each business and hospital." - } - } -} diff --git a/src/i18n/en/home/firstSection.json b/src/i18n/en/home/firstSection.json index f38278a..b2e532b 100644 --- a/src/i18n/en/home/firstSection.json +++ b/src/i18n/en/home/firstSection.json @@ -2,6 +2,6 @@ "title": "A digital currency payment for chat bot services", "content": "The SGPT Token is a digital currency designed to facilitate payments for services provided by the SGPT chat bot. The chat bot is a powerful tool that utilizes artificial intelligence to communicate with users and provide valuable information and services.", "addressBSC": "Address on BSC", - "address": "0x3c97331438e90680a17c35905ffc2b8ef760f844", + "address": "0xdB66FC64263F86744985A9D0d64dca1A4FfDe038", "joinOur": "Join Our Community" -} \ No newline at end of file +} diff --git a/src/i18n/i18n.ts b/src/i18n/i18n.ts index c8e4025..60846db 100644 --- a/src/i18n/i18n.ts +++ b/src/i18n/i18n.ts @@ -11,15 +11,17 @@ import QnA_home_VI from "./vi/home/qna.json"; import TokenomicsSection_home_EN from "./en/home/tokenomicsSection.json"; import TokenomicsSection_home_VI from "./vi/home/tokenomicsSection.json"; import FirstSection_healthCare_EN from "./en/healthCare/firstSection.json"; -import ProblemsSection_healthCare_EN from "./en/healthCare/problemsSection.json"; +import SecondSection_healthCare_EN from "./en/healthCare/secondSection.json"; import FirstSection_healthCare_VI from "./vi/healthCare/firstSection.json"; -import ProblemsSection_healthCare_VI from "./vi/healthCare/problemsSection.json"; -import CustomerInsight_healthCare_EN from "./en/healthCare/customerInsight.json"; -import CustomerInsight_healthCare_VI from "./vi/healthCare/customerInsight.json"; -import ApproachSection_healthCare_EN from "./en/healthCare/approachSection.json"; -import ApproachSection_healthCare_VI from "./vi/healthCare/approachSection.json"; -import SolutionsOfProduct_healthCare_EN from "./en/healthCare/solutionsOfProduct​.json"; -import SolutionsOfProduct_healthCare_VI from "./vi/healthCare/solutionsOfProduct​.json"; +import SecondSection_healthCare_VI from "./vi/healthCare/secondSection.json"; +import MassAdoptionSection_healthCare_EN from "./en/healthCare/massAdoptionSection.json"; +import MassAdoptionSection_healthCare_VI from "./vi/healthCare/massAdoptionSection.json"; +import HowItWorksSection_healthCare_EN from "./en/healthCare/howItWorksSection.json"; +import HowItWorksSection_healthCare_VI from "./vi/healthCare/howItWorksSection.json"; +import JoinACommunityOfMillions_healthCare_EN from "./en/healthCare/JoinACommunityOfMillions.json"; +import JoinACommunityOfMillions_healthCare_VI from "./vi/healthCare/JoinACommunityOfMillions.json"; +import BuildForGrowthSection_healthCare_EN from "./en/healthCare/buildForGrowthSection.json"; +import BuildForGrowthSection_healthCare_VI from "./vi/healthCare/buildForGrowthSection.json"; export const locales = { en: "English", @@ -33,10 +35,11 @@ export const resources = { qnaHome: QnA_home_EN, tokenomicHome: TokenomicsSection_home_EN, firstSectionHealthCare: FirstSection_healthCare_EN, - problemsSectionHealthCare: ProblemsSection_healthCare_EN, - customerInsightHealthCare: CustomerInsight_healthCare_EN, - approachSectionHealthCare: ApproachSection_healthCare_EN, - solutionsOfProductHealthCare: SolutionsOfProduct_healthCare_EN, + secondSectionHealthCare: SecondSection_healthCare_EN, + massAdoptionInsightHealthCare: MassAdoptionSection_healthCare_EN, + howItWorksSectionHealthCare: HowItWorksSection_healthCare_EN, + joinACommunityOfMillionsHealthCare: JoinACommunityOfMillions_healthCare_EN, + buildForGrowthSectionHealthCare: BuildForGrowthSection_healthCare_EN, }, vi: { firstSectionHome: FirstSection_home_VI, @@ -45,10 +48,11 @@ export const resources = { qnaHome: QnA_home_VI, tokenomicHome: TokenomicsSection_home_VI, firstSectionHealthCare: FirstSection_healthCare_VI, - problemsSectionHealthCare: ProblemsSection_healthCare_VI, - customerInsightHealthCare: CustomerInsight_healthCare_VI, - approachSectionHealthCare: ApproachSection_healthCare_VI, - solutionsOfProductHealthCare: SolutionsOfProduct_healthCare_VI, + secondSectionHealthCare: SecondSection_healthCare_VI, + massAdoptionInsightHealthCare: MassAdoptionSection_healthCare_VI, + howItWorksSectionHealthCare: HowItWorksSection_healthCare_VI, + joinACommunityOfMillionsHealthCare: JoinACommunityOfMillions_healthCare_VI, + buildForGrowthSectionHealthCare: BuildForGrowthSection_healthCare_VI, }, }; i18n.use(initReactI18next).init({ diff --git a/src/i18n/vi/healthCare/approachSection.json b/src/i18n/vi/healthCare/approachSection.json deleted file mode 100644 index 6266fe7..0000000 --- a/src/i18n/vi/healthCare/approachSection.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "data": [ - { - "id": 1, - "title": "Giai đoạn 1​", - "contents": [ - { - "content": "Xây dựng phiên bản sản phẩm MVP cung cấp dịch vụ chatbot miễn phí về bệnh tật cho người dùng." - }, - { - "content": "Thu hút một lượng lớn người dùng để trải nghiệm những tính năng tốt nhất của sản phẩm.​​" - }, - { - "content": "Trở thành một ứng dụng mà người dùng sử dụng trước khi họ sử dụng Google.​" - } - ] - }, - { - "id": 2, - "title": "Giai đoạn 2​", - "contents": [ - { - "content": "Bổ sung thêm nguồn dữ liệu chính xác và đáng tin cậy." - }, - { - "content": "Đối với mỗi câu trả lời, các câu hỏi bổ sung sẽ được đặt ra để khuyến khích người dùng cung cấp thêm thông tin.​​" - }, - { - "content": "Nâng cao khả năng tổng hợp thông tin bệnh từ lịch sử hội thoại với người dùng.​​" - } - ] - }, - { - "id": 3, - "title": "Giai đoạn 3​", - "contents": [ - { - "content": "Tinh chỉnh sản phẩm dựa trên phản hồi của người dùng​." - }, - { - "content": "Cung cấp các dịch vụ có giá trị bổ sung như:​​", - "navcontent": [ - "Gợi ý phòng khám uy tín cho người dùng.", - "Đặt lịch hẹn y tế." - ] - } - ] - } - ] -} diff --git a/src/i18n/vi/healthCare/buildForGrowthSection.json b/src/i18n/vi/healthCare/buildForGrowthSection.json new file mode 100644 index 0000000..1ff8af2 --- /dev/null +++ b/src/i18n/vi/healthCare/buildForGrowthSection.json @@ -0,0 +1,35 @@ +{ + "title": "Xây dựng cho sự phát triển", + "array": [ + { + "button": "Gaming", + "title": "Lorem ipsum", + "content": "Token SGPT được xây dựng với mục tiêu hỗ trợ cho việc phát triển ứng dụng trò chơi. Trò chơi là một phạm trù mà SGPT Token có thể được sử dụng để thực hiện thanh toán và tạo ra trải nghiệm thú vị cho người chơi. Với khả năng xử lý giao dịch nhanh chóng và hiệu quả, SGPT Token đảm bảo rằng việc thanh toán trong trò chơi diễn ra một cách suôn sẻ.", + "link": "https://sgpt-ai.org/" + }, + { + "button": "Lorem", + "title": "Lorem ipsum1", + "content": "Token SGPT được xây dựng với mục tiêu hỗ trợ cho việc phát triển ứng dụng trò chơi. Trò chơi là một phạm trù mà SGPT Token có thể được sử dụng để thực hiện thanh toán và tạo ra trải nghiệm thú vị cho người chơi. Với khả năng xử lý giao dịch nhanh chóng và hiệu quả, SGPT Token đảm bảo rằng việc thanh toán trong trò chơi diễn ra một cách suôn sẻ.", + "link": "https://sgpt-ai.org/" + }, + { + "button": "Ipsum", + "title": "Lorem ipsum2", + "content": "Token SGPT được xây dựng với mục tiêu hỗ trợ cho việc phát triển ứng dụng trò chơi. Trò chơi là một phạm trù mà SGPT Token có thể được sử dụng để thực hiện thanh toán và tạo ra trải nghiệm thú vị cho người chơi. Với khả năng xử lý giao dịch nhanh chóng và hiệu quả, SGPT Token đảm bảo rằng việc thanh toán trong trò chơi diễn ra một cách suôn sẻ.", + "link": "https://sgpt-ai.org/" + }, + { + "button": "Dolor sit3", + "title": "Lorem ipsum", + "content": "Token SGPT được xây dựng với mục tiêu hỗ trợ cho việc phát triển ứng dụng trò chơi. Trò chơi là một phạm trù mà SGPT Token có thể được sử dụng để thực hiện thanh toán và tạo ra trải nghiệm thú vị cho người chơi. Với khả năng xử lý giao dịch nhanh chóng và hiệu quả, SGPT Token đảm bảo rằng việc thanh toán trong trò chơi diễn ra một cách suôn sẻ.", + "link": "https://sgpt-ai.org/" + }, + { + "button": "Amet", + "title": "Lorem ipsum", + "content": "Token SGPT được xây dựng với mục tiêu hỗ trợ cho việc phát triển ứng dụng trò chơi. Trò chơi là một phạm trù mà SGPT Token có thể được sử dụng để thực hiện thanh toán và tạo ra trải nghiệm thú vị cho người chơi. Với khả năng xử lý giao dịch nhanh chóng và hiệu quả, SGPT Token đảm bảo rằng việc thanh toán trong trò chơi diễn ra một cách suôn sẻ.", + "link": "https://sgpt-ai.org/" + } + ] +} diff --git a/src/i18n/vi/healthCare/customerInsight.json b/src/i18n/vi/healthCare/customerInsight.json deleted file mode 100644 index 14419d4..0000000 --- a/src/i18n/vi/healthCare/customerInsight.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "title": "Thông tin chi tiết về khách hàng", - "content1": "Người dùng cần một nguồn thông tin đáng tin cậy và dễ hiểu.​", - "content2": "Người dùng không thích phải tổng hợp thông tin phức tạp sau khi tiến hành tìm kiếm.​​​", - "content3": "Người dùng thích tìm kiếm thông tin về bệnh tật để tham khảo trước khi gặp bác sĩ.​", - "content4": "Những người có vấn đề về sức khỏe tâm thần có xu hướng thích nhắn tin về các vấn đề của họ hơn.​" -} diff --git a/src/i18n/vi/healthCare/firstSection.json b/src/i18n/vi/healthCare/firstSection.json index 4562dc5..963fa2e 100644 --- a/src/i18n/vi/healthCare/firstSection.json +++ b/src/i18n/vi/healthCare/firstSection.json @@ -1,3 +1,8 @@ { - "title": "SGPT for Healthcare" + "title1": "", + "title2": "Thanh toán bằng tiền tệ số hóa", + "title3": "cho dịch vụ trợ lý ảo", + "content": "Token SGPT là một loại tiền tệ số hóa được thiết kế để hỗ trợ thanh toán cho các dịch vụ được cung cấp bởi trợ lý ảo SGPT. Trợ lý ảo này là một công cụ mạnh mẽ sử dụng trí tuệ nhân tạo để giao tiếp với người dùng và cung cấp thông tin và dịch vụ có giá trị.", + "button1": "Địa chỉ trên BSC", + "button2": "Cách hoạt động" } diff --git a/src/i18n/vi/healthCare/howItWorksSection.json b/src/i18n/vi/healthCare/howItWorksSection.json new file mode 100644 index 0000000..43ebff0 --- /dev/null +++ b/src/i18n/vi/healthCare/howItWorksSection.json @@ -0,0 +1,3 @@ +{ + "heading": "Cách hoạt động" +} diff --git a/src/i18n/vi/healthCare/joinACommunityOfMillions.json b/src/i18n/vi/healthCare/joinACommunityOfMillions.json new file mode 100644 index 0000000..c24cb60 --- /dev/null +++ b/src/i18n/vi/healthCare/joinACommunityOfMillions.json @@ -0,0 +1,9 @@ +{ + "heading": "Tham gia cộng đồng hàng triệu người", + "number1": "11.000", + "content1": "Lorem ipsum dolor sit", + "number2": "11.000", + "content2": "Lorem ipsum dolor sit", + "title": "Khách hàng rất quan trọng, khách hàng sẽ được khách hàng theo đuổi. Sân khấu rộn tiếng cười nhưng tiền sảnh bị ghét", + "button": "Tên nút" +} diff --git a/src/i18n/vi/healthCare/massAdoptionSection.json b/src/i18n/vi/healthCare/massAdoptionSection.json new file mode 100644 index 0000000..871eb7f --- /dev/null +++ b/src/i18n/vi/healthCare/massAdoptionSection.json @@ -0,0 +1,26 @@ +{ + "heading": "Dành cho sự tiếp nhận rộng rãi", + "title1": "Nhanh", + "content1_1": "Token SGPT được thiết kế với mục tiêu tối ưu hóa tốc độ giao dịch và khả năng xử lý. Sử dụng công nghệ tiên tiến, Token SGPT cho phép thực hiện các giao dịch một cách nhanh chóng và hiệu quả. Điều này đảm bảo rằng việc thanh toán và sử dụng dịch vụ của trợ lý ảo SGPT diễn ra một cách trôi chảy và thuận tiện cho người dùng.", + "content1_2": "4.824", + "content1_3": "GIAO DỊCH MỖI GIÂY", + "line1": "/images/line1.svg", + + "title2": "Nhanh", + "content2_1": "Token SGPT được thiết kế với mục tiêu tối ưu hóa tốc độ giao dịch và khả năng xử lý. Sử dụng công nghệ tiên tiến, Token SGPT cho phép thực hiện các giao dịch một cách nhanh chóng và hiệu quả. Điều này đảm bảo rằng việc thanh toán và sử dụng dịch vụ của trợ lý ảo SGPT diễn ra một cách trôi chảy và thuận tiện cho người dùng.", + "content2_2": "4.824", + "content2_3": "GIAO DỊCH MỖI GIÂY", + "line2": "/images/line2.svg", + + "title3": "Nhanh", + "content3_1": "Token SGPT được thiết kế với mục tiêu tối ưu hóa tốc độ giao dịch và khả năng xử lý. Sử dụng công nghệ tiên tiến, Token SGPT cho phép thực hiện các giao dịch một cách nhanh chóng và hiệu quả. Điều này đảm bảo rằng việc thanh toán và sử dụng dịch vụ của trợ lý ảo SGPT diễn ra một cách trôi chảy và thuận tiện cho người dùng.", + "content3_2": "4.824", + "content3_3": "GIAO DỊCH MỖI GIÂY", + "line3": "/images/line3.svg", + + "title4": "Nhanh", + "content4_1": "Token SGPT được thiết kế với mục tiêu tối ưu hóa tốc độ giao dịch và khả năng xử lý. Sử dụng công nghệ tiên tiến, Token SGPT cho phép thực hiện các giao dịch một cách nhanh chóng và hiệu quả. Điều này đảm bảo rằng việc thanh toán và sử dụng dịch vụ của trợ lý ảo SGPT diễn ra một cách trôi chảy và thuận tiện cho người dùng.", + "content4_2": "4.824", + "content4_3": "GIAO DỊCH MỖI GIÂY", + "line4": "/images/line4.svg" + } diff --git a/src/i18n/vi/healthCare/problemsSection.json b/src/i18n/vi/healthCare/problemsSection.json deleted file mode 100644 index 17f4c23..0000000 --- a/src/i18n/vi/healthCare/problemsSection.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "title": "Các vấn đề​", - "data": [ - { - "id": 1, - "src": "images/image19.png", - "title": "Hành vi người dùng", - "content": "Thỏa mãn thói quen tìm kiếm mọi dấu hiệu bất thường liên quan đến sức khỏe của người dùng" - }, - { - "id": 2, - "src": "images/image20.png", - "title": "Thông tin người dùng​", - "content": "Cung cấp thông tin chính xác, dễ hiểu cho người dùng​" - }, - { - "id": 3, - "src": "images/image21.png", - "title": "Sự tương tác", - "content": "Mang lại trải nghiệm tốt cho người dùng với tính tương tác cao, khuyến khích người dùng cung cấp thêm thông tin giá trị về bệnh tật của họ​" - } - ] -} diff --git a/src/i18n/vi/healthCare/secondSection.json b/src/i18n/vi/healthCare/secondSection.json new file mode 100644 index 0000000..98f78d8 --- /dev/null +++ b/src/i18n/vi/healthCare/secondSection.json @@ -0,0 +1,25 @@ +{ + "title": "Join a community of millions​", + "data": [ + { + "id": 1, + "title": "50K", + "content": "Giao thức" + }, + { + "id": 2, + "title": "43K​", + "content": "Yêu cầu đã được xử lý​" + }, + { + "id": 3, + "title": "38K", + "content": "Thời gian hoạt động của dịch vụ​" + }, + { + "id": 4, + "title": "34K", + "content": "Các thành viên trong cộng đồng​" + } + ] +} diff --git a/src/i18n/vi/healthCare/solutionsOfProduct​.json b/src/i18n/vi/healthCare/solutionsOfProduct​.json deleted file mode 100644 index 1eaf860..0000000 --- a/src/i18n/vi/healthCare/solutionsOfProduct​.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "data1": { - "title": "Dữ liệu", - "contents": { - "content1": "Nguồn dữ liệu đáng tin cậy và có thẩm quyền..", - "content2": "Số liệu được xác nhận bởi các bệnh viện và bác sĩ chuyên khoa." - } - }, - "data2": { - "title": "CÔNG NGHỆ", - "contents": { - "content1": "Nhóm nghiên cứu và phát triển có nhiều kinh nghiệm trong việc phát triển các sản phẩm trong ngành chăm sóc sức khỏe." - } - }, - "data3": { - "title": "TÙY CHỈNH", - "contents": { - "content1": "Máy chủ được thiết kế để xử lý lượng dữ liệu lớn và có khả năng mở rộng cao.", - "content2": "Hệ thống có khả năng tùy biến cao và thích ứng với từng doanh nghiệp, bệnh viện." - } - } -} diff --git a/src/pages/SGPTProducts/Healthcare.tsx b/src/pages/SGPTProducts/Healthcare.tsx index 38a06fe..39728fc 100644 --- a/src/pages/SGPTProducts/Healthcare.tsx +++ b/src/pages/SGPTProducts/Healthcare.tsx @@ -1,22 +1,27 @@ import BackToTopButton from "../../shared/components/backtotop"; -import Approach from "../../shared/components/healthcare/ApproachSection"; -import Competitions from "../../shared/components/healthcare/Competitions"; -import CustomerInsight from "../../shared/components/healthcare/CustomerInsight"; +import Approach from "../../shared/components/healthcare/HowItWorksSection"; +import Competitions from "../../shared/components/healthcare/BuildForGrowth"; +import CustomerInsight from "../../shared/components/healthcare/MassAdoption​Section"; import FirstSection from "../../shared/components/healthcare/FirstSection"; -import ProblemsSection from "../../shared/components/healthcare/ProblemsSection"; -import SolutionsOfProduct from "../../shared/components/healthcare/SolutionsOfProduct​"; +import SectionSection from "../../shared/components/healthcare/SecondSection"; +import ProblemsSection from "../../shared/components/healthcare/SecondSection"; +import SolutionsOfProduct from "../../shared/components/healthcare/JoinACommunityOfMillions"; +import MassAdoptionSection from "../../shared/components/healthcare/MassAdoption​Section"; +import HowItWorksSection from "../../shared/components/healthcare/HowItWorksSection"; +import BuildForGrowth from "../../shared/components/healthcare/BuildForGrowth"; +import JoinACommunityOfMillions from "../../shared/components/healthcare/JoinACommunityOfMillions"; type Props = {}; const Healthcare = (props: Props) => { return ( -
+
- - - - - + + + + +
); diff --git a/src/shared/components/Header.tsx b/src/shared/components/Header.tsx index 03540cc..01b795d 100644 --- a/src/shared/components/Header.tsx +++ b/src/shared/components/Header.tsx @@ -165,7 +165,7 @@ const Header = (props: Props) => { ))} -
+
{currentLanguage} diff --git a/src/shared/components/css/ApproachSection.css b/src/shared/components/css/ApproachSection.css new file mode 100644 index 0000000..44dfd13 --- /dev/null +++ b/src/shared/components/css/ApproachSection.css @@ -0,0 +1,6 @@ +.border-gradient { + border-right: 2px solid transparent; /* Đặt border ban đầu thành trong suốt */ + border-image: linear-gradient(120deg, #ffb55e 0%, #40e9ac 100%); + border-image-slice: 1; /* Hiển thị toàn bộ border gradient */ + border-radius: 0.375rem; +} diff --git a/src/shared/components/css/Competitions.css b/src/shared/components/css/Competitions.css new file mode 100644 index 0000000..95c9059 --- /dev/null +++ b/src/shared/components/css/Competitions.css @@ -0,0 +1,46 @@ +@keyframes marquee { + 0% { + left: 0; + } + 100% { + left: -900%; + } +} +.animate { + width: 1800%; + animation: marquee 20s linear infinite; + top: 50%; + transform: translate(0, -50%); +} +.logo img { + width: 80px; + -webkit-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1); +} +@screen lg { + @keyframes marquee { + 0% { + left: 0; + } + 100% { + left: -375%; + } + } + .animate { + width: 750%; + animation: marquee 20s linear infinite; + top: 50%; + transform: translate(0, -50%); + } + .logo a { + width: 100px; + -webkit-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1); + } +} + +.animate:hover { + animation-play-state: paused; +} + +.logo a:hover { + transform: scale(1.3); +} diff --git a/src/shared/components/css/TokenomicsSection.css b/src/shared/components/css/TokenomicsSection.css new file mode 100644 index 0000000..2d53b09 --- /dev/null +++ b/src/shared/components/css/TokenomicsSection.css @@ -0,0 +1,8 @@ +.chartjs-tooltip { + background-color: rgba(0, 0, 0, 0.8); + border: 1px solid #000; + border-radius: 4px; + padding: 6px 10px; + color: #fff; + font-size: 12px; +} diff --git a/src/shared/components/healthcare/ApproachSection.tsx b/src/shared/components/healthcare/ApproachSection.tsx deleted file mode 100644 index 467e064..0000000 --- a/src/shared/components/healthcare/ApproachSection.tsx +++ /dev/null @@ -1,111 +0,0 @@ -import React, { useState, useEffect } from "react"; -import { HiOutlineUserGroup } from "react-icons/hi"; -import { useTranslation } from "react-i18next"; -import { TbReportSearch } from "react-icons/tb"; -import userBehavior from "../../../assets/images/image19.png"; -import userInformation from "../../../assets/images/image20.png"; -import userInteraction from "../../../assets/images/image21.png"; - -// const listApproach = [ -// { -// title: "Step 1​", -// contents: [ -// { -// content: -// "Build MVP version of product that provides a free chatbot service on diseases for users.", -// }, -// { -// content: -// "Attract a large number of users to experience the best features of the product.​", -// }, -// { -// content: -// "Become an application that users use before they use Google.​", -// }, -// ], -// }, -// { -// title: "Step 2​", -// contents: [ -// { -// content: "Add more accurate and reliable data sources.", -// }, -// { -// content: -// "For each answer, additional questions will be asked to encourage users to provide more information.​", -// }, -// { -// content: -// "Enhance the ability to synthesize disease information from conversation history with users.​​", -// }, -// ], -// }, -// { -// title: "Step 3", -// contents: [ -// { -// content: "Refine the product based on user feedback.​", -// }, -// { -// content: "Provide additional valuable services such as: ​", -// navcontent: [ -// "Suggesting reputable clinics to users.", -// "Booking medical appointments.", -// ], -// }, -// ], -// }, -// ]; -const Approach = () => { - const { t } = useTranslation("approachSectionHealthCare"); - const [appRoachData, setAppRoachData] = useState([]); - useEffect(() => { - setAppRoachData(t("data", { returnObjects: true })); - console.log(appRoachData); - }, [t]); - return ( -
-

The Approach​ ​

-
- {appRoachData.map((item: any) => { - return ( -
-
-

- {item.title} -

-
    - {item.contents.map((item: any, index: any) => { - return ( - <> -
  • - {item.content} -
      - {item.navcontent?.map((item: any, index: any) => { - return
    • + {item}
    • ; - })} -
    -
  • - - ); - })} -
-
-
- ); - })} -
-
- ); -}; - -export default Approach; diff --git a/src/shared/components/healthcare/BuildForGrowth.tsx b/src/shared/components/healthcare/BuildForGrowth.tsx new file mode 100644 index 0000000..c5efc0a --- /dev/null +++ b/src/shared/components/healthcare/BuildForGrowth.tsx @@ -0,0 +1,87 @@ +import React, { useState, useEffect } from "react"; +import { useTranslation } from "react-i18next"; +import { AiOutlineArrowRight } from "react-icons/Ai"; +import buildofgrowth from "../../../assets/images/buildforgrowth.png"; +import logoGoogle from "../../../assets/images/logoGoogle.png"; +import logoMicrosoft from "../../../assets/images/logoMicrosoft.png"; +import "../css/Competitions.css"; + +const BuildForGrowth = () => { + const { t } = useTranslation("buildForGrowthSectionHealthCare"); + const [competitionsData, setCompetitionsData] = useState([]); + const [growthBtn, setGrowthBtn] = useState(0); + const [growthIndex, setGrowthIndex] = useState(""); + + const handleSelectedGrowth = (item: any, index: any) => { + setGrowthIndex(`${-20 * index}%`); + setGrowthBtn(index); + }; + useEffect(() => { + setCompetitionsData(t("array", { returnObjects: true })); + }, [t]); + console.log(competitionsData); + return ( +
+
+
+
+

{t("title")}

+
+ {competitionsData.map((item: any, index) => ( +
handleSelectedGrowth(item.button, index)} + > +

+ {item?.button} +

+
+ ))} +
+
+
+
+ +
+
+
+ {competitionsData.map((item: any, index) => ( +
+

{item.title}

+ {item.content} + +
+ ))} +
+
+
+
+ + + + + + + +
+
+
+
+ ); +}; + +export default BuildForGrowth; diff --git a/src/shared/components/healthcare/Competitions.tsx b/src/shared/components/healthcare/Competitions.tsx deleted file mode 100644 index 9941978..0000000 --- a/src/shared/components/healthcare/Competitions.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import React from "react"; - -const Competitions = () => { - return ( -
-

Competitions

-
-
-
- - Innovative - - - Specialization - -
- Google -
-
- ChatGPT -
-
- - Us - -
-
- - Traditional Chatbot​ - -
-
- - Chat Application​ - -
-
-
- ); -}; - -export default Competitions; diff --git a/src/shared/components/healthcare/CustomerInsight.tsx b/src/shared/components/healthcare/CustomerInsight.tsx deleted file mode 100644 index 6427241..0000000 --- a/src/shared/components/healthcare/CustomerInsight.tsx +++ /dev/null @@ -1,87 +0,0 @@ -import React, { useEffect } from "react"; -import { BiSearchAlt } from "react-icons/bi"; -import { TbFileDislike, TbFileLike } from "react-icons/tb"; -import { AiOutlineMessage } from "react-icons/ai"; -import Aos from "aos"; -import "aos/dist/aos.css"; -import { useTranslation } from "react-i18next"; -import customerInsight from "../../../assets/images/image22.png"; - -const listInsight = [ - { - content: - "Users need a reliable and easy-to-understand source of information.​​", - }, - { - content: - "Users dislike having to synthesize complex information after conducting searches.​​​", - }, - { - content: - "Users prefer to search for information about illnesses as a reference before seeing a doctor.​", - }, - { - content: - "People with mental health issues tend to prefer texting about their problems​.​", - }, -]; -const CustomerInsight = () => { - useEffect(() => { - Aos.init(); - }, []); - const { t } = useTranslation("customerInsightHealthCare"); - return ( -
-

- {t("title")}​ -

-
-
-
- -
-
- -
-
- -
-
- -
- -
-
- -

{t("content1")}

-
-
- -

{t("content2")}

-
-
- -

{t("content3")}

-
-
- -

{t("content4")}

-
-
-
- ); -}; - -export default CustomerInsight; diff --git a/src/shared/components/healthcare/FirstSection.tsx b/src/shared/components/healthcare/FirstSection.tsx index 0600b39..2624f15 100644 --- a/src/shared/components/healthcare/FirstSection.tsx +++ b/src/shared/components/healthcare/FirstSection.tsx @@ -1,29 +1,38 @@ import React from "react"; import robotImage from "../../../assets/images/robot-2.png"; import robotImage2 from "../../../assets/images/robot-coin1.png"; +import vector from "../../../assets/images/vector.png"; +import { useTranslation } from "react-i18next"; const FirstSection = () => { + const { t } = useTranslation("firstSectionHealthCare"); return (
-
-

SGPT for Healthcare

-
- robot-ai - - robot-ai - -
-
+
+
+

+ {t("title1")}{" "} + + {t("title2")} + {" "} + {t("title3")} +

+ {t("content")} +
+ + +
+
+
+ robot-ai
diff --git a/src/shared/components/healthcare/HowItWorksSection.tsx b/src/shared/components/healthcare/HowItWorksSection.tsx new file mode 100644 index 0000000..ea96d7a --- /dev/null +++ b/src/shared/components/healthcare/HowItWorksSection.tsx @@ -0,0 +1,34 @@ +import React, { useState, useEffect } from "react"; +import { useTranslation } from "react-i18next"; +import HowItWorkImg from "../../../assets/images/howitword.png"; +import "../css/ApproachSection.css"; +const HowItWorksSection = () => { + const { t } = useTranslation("howItWorksSectionHealthCare"); + const [appRoachData, setAppRoachData] = useState([]); + useEffect(() => { + setAppRoachData(t("data", { returnObjects: true })); + }, [t]); + console.log(t); + const heading = t("heading"); + const firstSpaceIndex = heading.indexOf(" "); + const firstWord = heading.substring(0, firstSpaceIndex); + const remainingText = heading.substring(firstSpaceIndex + 1); + + return ( +
+
+

+ {firstWord} {remainingText}​ +

+
+ +
+
+
+ ); +}; + +export default HowItWorksSection; diff --git a/src/shared/components/healthcare/JoinACommunityOfMillions.tsx b/src/shared/components/healthcare/JoinACommunityOfMillions.tsx new file mode 100644 index 0000000..7d819fb --- /dev/null +++ b/src/shared/components/healthcare/JoinACommunityOfMillions.tsx @@ -0,0 +1,72 @@ +import { useEffect } from "react"; +import { useTranslation } from "react-i18next"; +import { BsDatabaseCheck } from "react-icons/bs"; +import { RiCodeSSlashLine, RiSettings4Line } from "react-icons/ri"; +import ImgJoin1 from "../../../assets/images/JoinsCoM1.png"; +import ImgJoin2 from "../../../assets/images/JoinsCoM2.png"; +import ImgJoin3 from "../../../assets/images/JoinsCoM3.png"; +import ImgJoin4 from "../../../assets/images/JoinsCoM4.png"; +import ImgJoin5 from "../../../assets/images/JoinsCoM5.png"; +import React from "react"; +import Aos from "aos"; +import "aos/dist/aos.css"; +const JoinACommunityOfMillions = () => { + useEffect(() => { + Aos.init(); + }, []); + + const { t } = useTranslation("joinACommunityOfMillionsHealthCare"); + return ( +
+
+

+ {t("heading")} +

+
+
+
+ +
+
+ +
+ + {t("number1")} + + {t("content1")} +
+
+
+ +
+
+
+ + {t("number2")} + + {t("content2")} +
+ +
+
+ +
+
+
+

{t("title")}

+
+
+ +
+
+
+
+ ); +}; + +export default JoinACommunityOfMillions; diff --git a/src/shared/components/healthcare/MassAdoption​Section.tsx b/src/shared/components/healthcare/MassAdoption​Section.tsx new file mode 100644 index 0000000..9cde6f5 --- /dev/null +++ b/src/shared/components/healthcare/MassAdoption​Section.tsx @@ -0,0 +1,107 @@ +import React, { useEffect } from "react"; +import Aos from "aos"; +import "aos/dist/aos.css"; +import { useTranslation } from "react-i18next"; + +const MassAdoptionSection = () => { + useEffect(() => { + Aos.init(); + }, []); + const { t } = useTranslation("massAdoptionInsightHealthCare"); + return ( +
+
+
+

{t("heading")}​

+
+
+
+
+
+
+ + + {t("title1")} + +
+ {t("content1_1")} +
+
+ + {t("content1_2")} + + + {t("content1_3")} + +
+
+
+
+
+ + + {t("title1")} + +
+ {t("content2_1")} +
+
+ + {t("content2_2")} + + + {t("content2_3")} + +
+
+
+
+
+
+
+ + + {t("title3")} + +
+ {t("content3_1")} +
+
+ + {t("content3_2")} + + + {t("content3_3")} + +
+
+
+
+
+ + + {t("title4")} + +
+ {t("content4_1")} +
+
+ + {t("content4_2")} + + + {t("content4_3")} + +
+
+
+
+
+
+ ); +}; + +export default MassAdoptionSection; diff --git a/src/shared/components/healthcare/ProblemsSection.tsx b/src/shared/components/healthcare/ProblemsSection.tsx deleted file mode 100644 index 628f4fe..0000000 --- a/src/shared/components/healthcare/ProblemsSection.tsx +++ /dev/null @@ -1,109 +0,0 @@ -import React, { useState, useEffect } from "react"; -import { HiOutlineUserGroup } from "react-icons/hi"; -import { TbReportSearch } from "react-icons/tb"; -import { useTranslation } from "react-i18next"; -import Aos from "aos"; -import "aos/dist/aos.css"; -import userBehavior from "../../../assets/images/icon-user-behavior.png"; -import userInformation from "../../../assets/images/image20.png"; -import userInteraction from "../../../assets/images/image21.png"; - -const listProblems = [ - { - title: "User behavior​", - content: - "Satisfying the habit of searching for any unusual signs related to the user's health​", - }, - { - title: "Information​", - content: - "Providing accurate and easy-to-understand information for users​​", - }, - { - icon: "HiOutlineUserGroup", - title: "Interaction​", - content: - "Providing a good user experience with high interactivity, encourage users to provide more valuable information about their illness​​", - }, -]; -const ProblemsSection = () => { - useEffect(() => { - Aos.init(); - }, []); - const { t } = useTranslation("problemsSectionHealthCare"); - const [problemsSectionData, setProblemsSectionData] = useState([]); - useEffect(() => { - setProblemsSectionData(t("data", { returnObjects: true })); - }, [t]); - return ( -
-

- {t("title")} -

-
- {/* [&>*:not(:first-child)]:border-l-2 */} - {problemsSectionData.map((item: any, index) => { - return ( - <> -

-
-
-
- - - - {item.title} - -
- {item.content} -
-
- - ); - })} - {/* -
-
- -

User Information​

-
-

- Providing accurate and easy-to-understand information for users​ -

-
-
-
-
- -

Interaction

-
-

- Providing a good user experience with high interactivity, encourage - users to provide more valuable information about their illness​ -

-
*/} -
-
- ); -}; - -export default ProblemsSection; diff --git a/src/shared/components/healthcare/SecondSection.tsx b/src/shared/components/healthcare/SecondSection.tsx new file mode 100644 index 0000000..4654a77 --- /dev/null +++ b/src/shared/components/healthcare/SecondSection.tsx @@ -0,0 +1,56 @@ +import { useState, useEffect } from "react"; +import { useTranslation } from "react-i18next"; +import Aos from "aos"; +import "aos/dist/aos.css"; + +const SectionSection = () => { + useEffect(() => { + Aos.init(); + }, []); + const { t } = useTranslation("secondSectionHealthCare"); + const [problemsSectionData, setProblemsSectionData] = useState([]); + useEffect(() => { + setProblemsSectionData(t("data", { returnObjects: true })); + }, [t]); + return ( +
+
+

{t("title")}

+
+ {problemsSectionData.map((item: any, index) => { + return ( + <> +

+
+
+ + {item.title} + + + {item.content} + +
+
+ + ); + })} +
+
+
+ ); +}; + +export default SectionSection; diff --git a/src/shared/components/healthcare/SolutionsOfProduct​.tsx b/src/shared/components/healthcare/SolutionsOfProduct​.tsx deleted file mode 100644 index 328b19c..0000000 --- a/src/shared/components/healthcare/SolutionsOfProduct​.tsx +++ /dev/null @@ -1,128 +0,0 @@ -import React, { useEffect } from "react"; -import { BiSearchAlt } from "react-icons/bi"; -import { useTranslation } from "react-i18next"; -import { TbFileDislike, TbFileLike } from "react-icons/tb"; -import { AiOutlineMessage } from "react-icons/ai"; -import { BsDatabaseCheck } from "react-icons/bs"; -import { RiCodeSSlashLine, RiSettings4Line } from "react-icons/ri"; -import Aos from "aos"; -import "aos/dist/aos.css"; -import customerInsight from "../../../assets/images/image22.png"; -// import "../../../index.css"; -const listSolutions = [ - { - title: "DATA", - content: [ - "Reliable and authoritative data sources.​​", - "The data is certified by hospitals and specialist doctors.", - ], - }, - { - title: "TECHNOLOGY​", - content: [ - "The development and research team has extensive experience in developing products in the healthcare industry.", - ], - }, - { - title: "CUSTOMIZATION", - content: [ - "The server is designed to handle large amounts of data and has high scalability.", - "The system is highly customizable and adaptable to each business and hospital​", - ], - }, -]; -const SolutionsOfProduct = () => { - useEffect(() => { - Aos.init(); - }, []); - const { t } = useTranslation("solutionsOfProductHealthCare"); - return ( -
-

- The Solutions of Product​ -

-
-
-
- -
-
- {t("data1.title")} -
    -
  • {t("data1.contents.content1")}
  • -
  • {t("data1.contents.content2")}
  • -
-
-
-
-
-
- -
-
-

{t("data2.title")}​

-
    -
  • {t("data2.contents.content1")}
  • -
-
-
-
- -
-
- -
-
-

{t("data3.title")}

-
    -
  • {t("data3.contents.content1")}
  • -
  • {t("data3.contents.content2")}
  • -
-
-
-
-
- ); -}; - -export default SolutionsOfProduct; diff --git a/src/shared/components/home/FirstSection.tsx b/src/shared/components/home/FirstSection.tsx index 278fed7..7565280 100644 --- a/src/shared/components/home/FirstSection.tsx +++ b/src/shared/components/home/FirstSection.tsx @@ -53,7 +53,7 @@ const socials = [ const FirstSection = () => { const { t } = useTranslation("firstSectionHome"); - const address = "0x3c97331438e90680a17c35905ffc2b8ef760f844"; + const address = "0xdB66FC64263F86744985A9D0d64dca1A4FfDe038"; const truncateAddress = (address: string) => { return address.slice(0, 5) + "......" + address.slice(-5); }; diff --git a/src/shared/components/home/QnASection.tsx b/src/shared/components/home/QnASection.tsx index 8e5a851..ee54197 100644 --- a/src/shared/components/home/QnASection.tsx +++ b/src/shared/components/home/QnASection.tsx @@ -12,123 +12,7 @@ import "../css/QnASection.css"; type Props = {}; const QnASection = (props: Props) => { - // const listQnA = [ - // { - // id: 1, - // title: "What is Fight Out?", - // bgcolor: "bg-[#CC99FF]", - // contents: [ - // { - // id: 1, - // content: - // "Fight Out is changing the blueprint for metaverses. At its heart, Fight Out is a gaming platform that rewards users for competing and winning in a variety of contest modes. A player's ability to compete and how much they are rewarded is determined in part by their avatar’s attributes. Stats are increased through the Fight Out app by training in real -life.", - // bgcolor: "bg-[#9999FF]", - // }, - // { - // id: 2, - // content: - // "Fight Out is changing the blueprint for metaverses. At its heart, Fight Out is a gaming platform that rewards users for competing and winning in a variety of contest modes. A player's ability to compete and how much they are rewarded is determined in part by their avatar’s attributes. Stats are increased through the Fight Out app by training in real -life.", - // bgcolor: "bg-[#6699FF]", - // }, - // { - // id: 3, - // content: - // "Fight Out is changing the blueprint for metaverses. At its heart, Fight Out is a gaming platform that rewards users for competing and winning in a variety of contest modes. A player's ability to compete and how much they are rewarded is determined in part by their avatar’s attributes. Stats are increased through the Fight Out app by training in real -life.", - // bgcolor: "bg-[#3399FF]", - // }, - // { - // id: 4, - // content: - // "Fight Out is changing the blueprint for metaverses. At its heart, Fight Out is a gaming platform that rewards users for competing and winning in a variety of contest modes. A player's ability to compete and how much they are rewarded is determined in part by their avatar’s attributes. Stats are increased through the Fight Out app by training in real -life.", - // bgcolor: "bg-[#0099FF]", - // }, - // ], - // }, - // { - // id: 2, - // title: "Abcd", - // bgcolor: "bg-[#CC66FF]", - // contents: [ - // { - // id: 1, - // bgcolor: "bg-[#9966FF]", - // content: "ádasffjk12", - // }, - // { - // id: 2, - // bgcolor: "bg-[#6666FF]", - // content: "ádasffj1k", - // }, - // { - // id: 3, - // bgcolor: "bg-[#3366FF]", - // content: "ádasffj12k", - // }, - // { - // id: 4, - // bgcolor: "bg-[#0066FF]", - // content: "ádasffj123k", - // }, - // ], - // }, - // { - // id: 3, - // title: "Abcd", - // bgcolor: "bg-[#CC66FF]", - - // contents: [ - // { - // id: 1, - // bgcolor: "bg-[#9966FF]", - // content: "ádasffjk12", - // }, - // { - // id: 2, - // bgcolor: "bg-[#6666FF]", - // content: "ádasffj1k", - // }, - // { - // id: 3, - // bgcolor: "bg-[#3366FF]", - // content: "ádasffj12k", - // }, - // { - // id: 4, - // bgcolor: "bg-[#0066FF]", - // content: "ádasffj123k", - // }, - // ], - // }, - // { - // id: 4, - // title: "Abcd", - // bgcolor: "bg-[#CC66FF]", - - // contents: [ - // { - // id: 1, - // bgcolor: "bg-[#9966FF]", - // content: "ádasffjk12", - // }, - // { - // id: 2, - // bgcolor: "bg-[#6666FF]", - // content: "ádasffj1k", - // }, - // { - // id: 3, - // bgcolor: "bg-[#3366FF]", - // content: "ádasffj12k", - // }, - // { - // id: 4, - // bgcolor: "bg-[#0066FF]", - // content: "ádasffj123k", - // }, - // ], - // }, - // ]; const { t } = useTranslation("qnaHome"); const [qnaData, setQnaData] = useState([]); const showListItem = (id: string, iconDropDown: string) => { diff --git a/src/shared/components/home/TokenomicsSection.tsx b/src/shared/components/home/TokenomicsSection.tsx index c659032..3d00dc0 100644 --- a/src/shared/components/home/TokenomicsSection.tsx +++ b/src/shared/components/home/TokenomicsSection.tsx @@ -12,126 +12,84 @@ import { import ChartDataLabels from "chartjs-plugin-datalabels"; import { Context } from "chartjs-plugin-datalabels"; import tokenomicChart from "../../../assets/images/tokenomic-chart.png"; - +import "../css/TokenomicsSection.css"; import "animate.css"; import { useTranslation } from "react-i18next"; type Props = {}; ChartJS.register(ArcElement, Tooltip, Legend); const tokenomics = [ { - name: "Treasury", - title: "Treasury - 14%", - precent: "14", + name: "Ecosystem Growth", + title: + "4 years vesting, 30% at TGE (Token Generation Event), then locked for 1 year and unlocked every block from year 2.", + precent: "20", description: " ", color: "#86eae9", bgcolor: "bg-[#86eae9]", }, { - name: "Liquidity", - title: "Liquidity - 5%", - precent: "5", + name: "Community", + title: + "4 years vesting, 30% at TGE (Token Generation Event), then locked for 1 year and unlocked every block from the 2nd year.", + precent: "20", description: " ", color: "#5dbdd3", bgcolor: "bg-[#5dbdd3]", }, { - name: "Private sale", - title: "Private sale - 15%", - precent: "15", + name: "Team", + title: + "4 years vesting, 1 year course, and lock pattern are in each block from the 2nd year.", + precent: "18", description: " ", color: "#4591b8", bgcolor: "bg-[#4591b8]", }, { - name: "Seed sale", - title: "Seed sale - 19%", - precent: "19", - description: " ", - color: "#3b6696", - bgcolor: "bg-[#3b6696]", - }, - { - name: "Public sale", - title: "Public sale - 5%", - precent: "5", + name: "Strategic Sale", + title: + "2 years vesting, 1 year course, and lock pattern are all block by block from 2nd year.", + precent: "15", description: " ", color: "#353c6e", bgcolor: "bg-[#353c6e]", }, { - name: "Staking & Farming", - title: "Staking & Farming - 15%", - precent: "15", + name: "Treasury", + title: + "4 years vesting, 10% release at TGE, 1 year lock and unlock in each block from the 2nd year.", + precent: "12", description: " ", color: "#705788", bgcolor: "bg-[#705788]", }, { - name: "Team", - title: "Team - 10%", - precent: "10", + name: "Seed Sale", + title: + "3 years vesting, 1 year lock and unlock in each block from the 2nd year.", + precent: "5", description: " ", color: "#a5769e", bgcolor: "bg-[#a5769e]", }, { - name: "Marketing", - title: "Marketing - 15%", - precent: "15", - description: " ", + name: "Binance Launchpad Sale", + title: "100% key at TGE.", + precent: "5", + description: "vxcvdvsdfsdf ", color: "#d59ab3", bgcolor: "bg-[#d59ab3]", }, { name: "Advisor", - title: "Advisor - 2%", - precent: "2", + title: + "3 years vesting, 1 year lock, and lock pattern are all block by block from 2nd year.", + precent: "5", description: " ", color: "#705788", bgcolor: "bg-[#705788]", }, ]; -// const dataSchedule = [ -// { -// title: "Ecosystem Growth", -// description: -// "5 years vesting, 30% at TGE (Token Generation Event), then locked for 1 year and unlocked every block from year 2.", -// }, -// { -// title: "Community Development", -// description: -// "5 years vesting, 30% at TGE (Token Generation Event), then locked for 1 year and unlocked every block from the 2nd year.", -// }, -// { -// title: "Team", -// description: -// "5 years vesting, 1 year course, and lock pattern are in each block from the 2nd year.", -// }, -// { -// title: "Strategic Sale", -// description: -// "2 years vesting, 1 year course, and lock pattern are all block by block from 2nd year.", -// }, -// { -// title: "Treasury", -// description: -// "5 years vesting, 10% at TGE (Token Generation Event), then locked for 1 year and unlocked every block from year 2.", -// }, -// { -// title: "Seed Sale", -// description: -// "3 years vesting, 1 year lock and unlock in each block from the 2nd year.", -// }, -// { -// title: "Binance Launchpad Sale", -// description: "100% key at TGE.", -// }, -// { -// title: "Advisors", -// description: -// "3 years vesting, 1-year lock, and lock pattern are all block by block from 2nd year.", -// }, -// ]; const TokenomicsSection = (props: Props) => { const { t } = useTranslation("tokenomicHome"); const [isVisible, setIsVisible] = useState(false); @@ -219,21 +177,34 @@ const TokenomicsSection = (props: Props) => { size: window.innerWidth > 1024 ? 20 : window.innerWidth > 768 ? 16 : 10, }, + color: "#fff", - formatter: (context: any, agrs: any) => { - const index = agrs.dataIndex; - return agrs.chart.data.labels[index]; + formatter: (context: any, args: any) => { + const index = args.dataIndex; + return args.chart.data.labels[index]; }, }, tooltip: { callbacks: { label: (context: any) => { - return ` ${tokenomics[context.dataIndex].title}`; + const dataIndex = context.dataIndex; + const title = tokenomics[dataIndex].title; + const words = title.split(" "); // Split by space + const groupedLabels = []; + + for (let i = 0; i < words.length; i += 10) { + const group = words.slice(i, i + 10).join(" "); + groupedLabels.push(group); + } + + return groupedLabels; }, }, + displayColors: false, }, }, }; + ChartJS.register(ChartDataLabels); return (
@@ -242,7 +213,7 @@ const TokenomicsSection = (props: Props) => { Tokenomics
-
+
{ />
-
+ {/*

{t("heading")} @@ -276,7 +247,7 @@ const TokenomicsSection = (props: Props) => { })} -

+
*/}