diff --git a/.env b/.env index 7cf7357..77a487b 100644 --- a/.env +++ b/.env @@ -8,6 +8,12 @@ REACT_APP_IOS_URL="https://play.google.com/store/apps/details?id=com.mermsemr.my REACT_APP_FACEBOOK="https://www.facebook.com/profile.php?id=100066498622246" REACT_APP_TWITTER="https://twitter.com/fluxtra" -REACT_APP_APPSITE="https://myfitapp.mermsemr.com" +REACT_APP_APPSITE=" https://myfitapp.mermsemr.com" +#REACT_APP_APPSITE="http://localhost:7012" + REACT_APP_AUX_ENDPOINT = "https://devapi.mermsemr.com/en/desktop/api/v2/myfit" +REACT_APP_FORM_TIMEOUT = 10000 +REACT_APP_MAX_MESSAGE_LENGHT =300 +REACT_APP_BLOGSITE="https://blog.mermsemr.com/" + diff --git a/src/assets/css/style.css b/src/assets/css/style.css index 6025ce5..8e43a08 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -3521,6 +3521,108 @@ header.fix_style.white_header { margin-bottom: 20px; } +.contact_page_section .contact_inner .contact_form form .form-group textarea { + resize: none; +} + +/* Textarea scrollbar */ +.contact_page_section .contact_inner .contact_form form .form-group textarea::-webkit-scrollbar { + width: 12px; + cursor: pointer; +} + +.contact_page_section .contact_inner .contact_form form .form-group textarea::-webkit-scrollbar-track { + -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); + border-radius: 10px; + background-color: var(--light-bg); +} + +.contact_page_section .contact_inner .contact_form form .form-group textarea::-webkit-scrollbar-thumb { + border-radius: 10px; + -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); + background-color: var(--body-text-purple); +} + +.contact_page_section .contact_inner .contact_form form .form-group .contact_btn{ + display: flex !important; + align-items: center; + justify-content: center; +} + +.contact_page_section .contact_inner .contact_form form .form-group .contact_btn p{ + margin: 0 !important; +} + +.contact_page_section .contact_inner .contact_form form .form-group .contact_btn > span{ + width: 24px; + height: 24px; +} + +#contact_body{ + min-height: 48rem; + display: flex; + flex-direction: column; + align-content: center; + justify-content: center; + gap: 10px; +} + +.contact_body{ + display: flex; + flex-direction: column; + align-content: center; + justify-content: center; + gap: 10px; + font-size: 20px; + font-weight: 800; + text-align: center; +} + +/* Animations */ +.animate.pop { + animation-name: animate-pop; + animation-timing-function: cubic-bezier(0.26, 0.53, 0.74, 1.48); + animation-duration: 0.5s; +} + +@keyframes animate-pop { + 0% { + opacity: 0; + transform: scale(0.5, 0.5); + } + + 100% { + opacity: 1; + transform: scale(1, 1); + } +} + +/* For the err msg */ +#errText{ + text-align: center; + color: tomato; + font-weight: 600; +} + +.contact_page_section .contact_inner .contact_form form .form-group span{ + font-size: 12px; + color: tomato; + padding: 3px; + display: none; +} + +.contact_page_section .contact_inner .contact_form form .form-group input:valid[focused="true"]{ + border: 1px solid var(--dark-purple); +} + +.contact_page_section .contact_inner .contact_form form .form-group input:invalid[focused="true"]{ + border: 1px solid tomato; +} + +.contact_page_section .contact_inner .contact_form form .form-group input:invalid[focused="true"] ~ span{ + display: block; +} + .contact_page_section .contact_inner .contact_form @@ -4585,6 +4687,55 @@ header.fix_style.white_header { padding: 20px 0 0 0; } +/* Loader */ + +.loader{ + border-radius: 100%; + position: relative; +} + +.loader-sm{ + width: 24px; + height: 24px; +} + +/* LOADER 1 */ + +#loader-1:before, #loader-1:after{ + content: ""; + position: absolute; + width: 100%; + height: 100%; + border-radius: 100%; + border: 3.5px solid transparent; + border-top-color: var(--body-text-purple); +} + +#loader-1:before{ + z-index: 100; + animation: spin 1.5s infinite; +} + +#loader-1:after{ + border: 3.5px solid #ccc; +} + +@keyframes spin{ + 0%{ + -webkit-transform: rotate(0deg); + -ms-transform: rotate(0deg); + -o-transform: rotate(0deg); + transform: rotate(0deg); + } + + 100%{ + -webkit-transform: rotate(360deg); + -ms-transform: rotate(360deg); + -o-transform: rotate(360deg); + transform: rotate(360deg); + } +} + @media screen and (max-width: 992px) { .navbar-expand-lg .navbar-nav .has_dropdown .drp_btn { position: absolute !important; diff --git a/src/assets/images/features_frame.png b/src/assets/images/features_frame.png index 108be64..c491759 100644 Binary files a/src/assets/images/features_frame.png and b/src/assets/images/features_frame.png differ diff --git a/src/assets/images/screen-1.png b/src/assets/images/screen-1.png index ad0570a..0c34c92 100644 Binary files a/src/assets/images/screen-1.png and b/src/assets/images/screen-1.png differ diff --git a/src/assets/images/screen-2.png b/src/assets/images/screen-2.png index cb5385e..02d967c 100644 Binary files a/src/assets/images/screen-2.png and b/src/assets/images/screen-2.png differ diff --git a/src/assets/images/screen-3.png b/src/assets/images/screen-3.png index 683463e..032ec41 100644 Binary files a/src/assets/images/screen-3.png and b/src/assets/images/screen-3.png differ diff --git a/src/assets/images/screen-4.png b/src/assets/images/screen-4.png index e437842..306822c 100644 Binary files a/src/assets/images/screen-4.png and b/src/assets/images/screen-4.png differ diff --git a/src/assets/images/screen-5.png b/src/assets/images/screen-5.png index eeecd2b..893e92f 100644 Binary files a/src/assets/images/screen-5.png and b/src/assets/images/screen-5.png differ diff --git a/src/assets/images/screen.png b/src/assets/images/screen.png index e9eb2f4..7b1d4cb 100644 Binary files a/src/assets/images/screen.png and b/src/assets/images/screen.png differ diff --git a/src/component/Contact/Main.js b/src/component/Contact/Main.js index 1c4855d..5ab1a9f 100644 --- a/src/component/Contact/Main.js +++ b/src/component/Contact/Main.js @@ -1,11 +1,129 @@ -import React, { useEffect } from "react"; -import { Link } from "react-router-dom"; +/** @format */ + +import React, { useEffect, useState } from "react"; +import { Link, useNavigate } from "react-router-dom"; import Bredcrumb from "../Bredcrumb/Main"; import BGImg from "../../assets/images/bread_crumb_bg.png"; import BGImg1 from "../../assets/images/bread_crumb_bg_one.png"; import BGImg2 from "../../assets/images/bread_crumb_bg_two.png"; +import SuccessImg from "../../assets/images/experts_01.png" + +import SiteService from "../../vendors/service/siteService"; + +// Form Inputs +const FormInput = (props) => { + let { + name, + type, + placeholder, + required, + maxLenght, + errorMessage, + value, + onChange, + pattern, + } = props; + + const [focused, setFocused] = useState(false); + const handleFocus = () => { + return setFocused(true); + }; + + return ( +
SEND MESSAGE
`; + + contact_body.innerHTML = `We have received your message and will follow up promptly.
+Fill up form below, our team will get back soon
If you have any question about our product, service, payment or company, Visit our FAQs page.
5687, Business Avenue, New York, USA 5687
+{process.env.REACT_APP_US_ADDRESS}
{faq.text}
+Lorem Ipsum is simply dummy text of the printing and typese tting
indus orem Ipsum has beenthe
- standard dummy.
Fitness Integration with your health plan in your pocket bolsters
healthier life by tracking and experiencing life-changing results.
- Up to 5 Website
-50 GB disk space
-10 Customize sub pages
-2 Domains access
-Support on request
-
: {feature}
)} +
: {feature}
)} +
@@ -86,136 +118,60 @@ const Main = ({gredient , video}) => {
24/7 Customer support
- BUY NOW + Start Now
- Up to 10 Website
-100 GB disk space
-15 Customize sub pages
-4 Domains access
-24/7 Customer support
-
- Up to 10 Website
-100 GB disk space
-25 Customize sub pages
-4 Domains access
-Support on request
-
- Unlimited Website
-400 GB disk space
-40 Customize sub pages
-20 Domains access
-24/7 Customer support
-
: {feature}
)} +
: {feature}
)} +
- Up to 20 Website
-200 GB disk space
-25 Customize sub pages
-8 Domains access
-24/7 Customer support
-
: Up to 5 Website
-50 GB disk space
-10 Customize sub pages
-2 Domains access
-Support on request
-
: Unlimited Website
-200 GB disk space
-20 Customize sub pages
-10 Domains access
-24/7 Customer support
-
: Up to 10 Website
-100 GB disk space
-15 Customize sub pages
-4 Domains access
-24/7 Customer support
-
: {feature}
)} +
: {feature}
)} +
: Up to 10 Website
-100 GB disk space
-25 Customize sub pages
-4 Domains access
-Support on request
-
: Unlimited Website
-400 GB disk space
-40 Customize sub pages
-20 Domains access
-24/7 Customer support
-
: {feature}
)} +
: {feature}
)} +
: Up to 20 Website
-200 GB disk space
-25 Customize sub pages
-8 Domains access
-24/7 Customer support
-Lorem Ipsum is simply dummy text of the printing and typese tting
indus orem Ipsum has beenthe
- standard dummy.
myFit has powerful connectivity, fitness, health, and safety features,
Also makes provision Fitness tracking,Workout tracking,Heart rate monitoring.
{faq.text}
+