diff --git a/src/assets/css/main.css b/src/assets/css/main.css index a1fbbc8..6ae0af0 100755 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -899,6 +899,11 @@ p { padding-bottom: 20px; } +.appie-title .earn-rewards { + background-color: #f54747!important; + border-radius: 7px; +} + .header-nav-box .appie-btn-box { position: relative; } diff --git a/src/assets/css/style.css b/src/assets/css/style.css index 5215e3c..0031d33 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -117,6 +117,27 @@ font-size: 15px; margin-top: -20px; } +.app-download.options{ + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + gap: 1rem; +} + +.app-download.options .main-btn { + color: #0e1133; + background-color: #fff; + border: 3px solid #3EAFCC; + padding: 2px 112px; + letter-spacing: 1px; +} + +.app-download.appie-hero-content h5 { + color: #51B5D0; + /* border-color: #fff; */ +} + @media only screen and (min-width: 300px) and (max-width: 1024px) { .testimonial-about-slider-active .testimonial-box { box-shadow: none; diff --git a/src/assets/images/app-thumb-2.png b/src/assets/images/app-thumb-2.png new file mode 100644 index 0000000..a1b504c Binary files /dev/null and b/src/assets/images/app-thumb-2.png differ diff --git a/src/components/AppDownload/AppDownload.js b/src/components/AppDownload/AppDownload.js index 4b609a6..d7c5110 100644 --- a/src/components/AppDownload/AppDownload.js +++ b/src/components/AppDownload/AppDownload.js @@ -1,9 +1,11 @@ -import React from 'react' +import HomeOneHeader from '../HomeOne/HomeOneHeader'; +import AppDownloadDetails from './AppDownloadDetails'; export default function AppDownload() { return ( -
-
App Download Content Here
-
+ <> + + + ) } diff --git a/src/components/AppDownload/AppDownloadDetails.js b/src/components/AppDownload/AppDownloadDetails.js new file mode 100644 index 0000000..ccb0dcb --- /dev/null +++ b/src/components/AppDownload/AppDownloadDetails.js @@ -0,0 +1,78 @@ +import React from 'react' +import heroThumbOne from '../../assets/images/app-thumb-1.png'; +import heroThumbOne1 from '../../assets/images/app-thumb-2.png'; + +import heroThumbTwo from '../../assets/images/app-pic.png'; +import CustomSlider from '../customSlider/CustomSlider'; + +const AppDownloadDetails = () => { + return ( + <> +
+
+
+
+
+
Download from
+ + +

Turn Chores into Exciting Challenges and Earn Rewards!

+

Your place to set family goals and reward achievements. Find tasks to earn from, or build a tasks portfolio and find others to perform tasks for you.

+
+
+
+
+
+ {/* WrenchBoard */} +
+ +
+
+
+ +
+
+
+
+
+
+ + ) +} + +export default AppDownloadDetails \ No newline at end of file diff --git a/src/components/HomeOne/HomeOneHeader.js b/src/components/HomeOne/HomeOneHeader.js index afa8e13..c077ece 100644 --- a/src/components/HomeOne/HomeOneHeader.js +++ b/src/components/HomeOne/HomeOneHeader.js @@ -4,7 +4,7 @@ import StickyMenu from '../../lib/StickyMenu'; import Navigation from '../Navigation'; import getConfig from './../../Config/config' -function HomeOneHeader({ action }) { +function HomeOneHeader({ action, showLogoOnly = false }) { var site = getConfig()[0]; useEffect(() => { StickyMenu(); @@ -21,27 +21,29 @@ function HomeOneHeader({ action }) { -
-
- -
-
-
-
- - Login - - - Get Started - -
action(e)} - className="toggle-btn ml-30 canvas_open d-lg-none d-block" - > - + {!showLogoOnly && <> +
+
+
-
+
+
+ + Login + + + Get Started + +
action(e)} + className="toggle-btn ml-30 canvas_open d-lg-none d-block" + > + +
+
+
+ }
diff --git a/src/components/customSlider/CustomSlider.js b/src/components/customSlider/CustomSlider.js new file mode 100644 index 0000000..8e2d484 --- /dev/null +++ b/src/components/customSlider/CustomSlider.js @@ -0,0 +1,88 @@ +import React, { useEffect, useState } from "react"; + +function CustomSlider({ images, speed, indicatorColor, indicatorClass }) { + let [sliderCount, setSliderCount] = useState(0); + + const sliderStart = (count) => { + if (count + 1 && typeof count == "number") { + return setSliderCount(count); + } + if (sliderCount >= images.length - 1) { + return setSliderCount(0); + } + setSliderCount((prev) => prev + 1); + }; + + useEffect(() => { + const sliderInterval = setInterval(() => { + sliderStart(); + }, speed * 1000); + return () => { + clearInterval(sliderInterval); + }; + }, [sliderCount]); + + return ( +
+
+ {images.map((image, index) => ( + image + ))} +
+
+ {images.map((image, index) => ( +
sliderStart(index)} + className={`custom_indicator ${indicatorClass}`} + style={{ + backgroundColor: `${ + sliderCount == index ? `${indicatorColor}` : "" + }`, + width: "15px", + height: "15px", + borderRadius: "999px", + border: `1px solid ${indicatorColor}`, + cursor: "pointer", + }} + >
+ ))} +
+
+ ); +} + +export default CustomSlider;