From d175ef8922aef1ee0d1d8e348a8a7d9e8ad23a1e Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Tue, 30 Jan 2024 06:04:55 +0100 Subject: [PATCH] image removal and proper text displayed --- src/assets/css/main.css | 22 +++++-- src/components/HomeOne/ServicesHomeOne.js | 6 +- src/components/lnd/LndParts/Design/Main.js | 74 ++++++++++++++++------ 3 files changed, 74 insertions(+), 28 deletions(-) diff --git a/src/assets/css/main.css b/src/assets/css/main.css index ab64698..955249c 100755 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -3227,9 +3227,6 @@ p { background: linear-gradient(135deg, #d8aaff 0%, #9b2cfa 100%); } -.modern_ui_section{ - margin-top: 100px; -} .appie-modern-design .icon i { height: 26px; width: 26px; @@ -3242,12 +3239,19 @@ p { box-shadow: 0px 6px 10px 0px rgba(16, 73, 189, 0.3); } +/* .modern_ui_section{ + margin-top: 100px; +} */ +.modern_ui_section .section_sub_title{ + font-size: 30px; + color: purple; +} .modern_ui_section .ui_images{ border-radius: 100%; background-color: #fff; - width: auto; - height: auto; - padding: 30px 0; + width: 500px; + height: 500px; + /* padding: 30px 0; */ } .modern_ui_section .right_img{ left: -60px; @@ -3264,12 +3268,16 @@ p { height: auto; } .modern_ui_section .right_img .right_img_two{ - margin-top: -20px !important; + /* margin-top: -20px; */ } .modern_ui_section .right_img .right_img_three{ left: -20px; } @media only screen and (min-width: 0px) and (max-width: 500px) { + .modern_ui_section .ui_images{ + width: 300px; + height: 300px; + } .modern_ui_section .right_img{ left: -30px; top: -20px; diff --git a/src/components/HomeOne/ServicesHomeOne.js b/src/components/HomeOne/ServicesHomeOne.js index f56c663..8f37376 100644 --- a/src/components/HomeOne/ServicesHomeOne.js +++ b/src/components/HomeOne/ServicesHomeOne.js @@ -26,10 +26,10 @@ function ServicesHomeOne({ className }) { return (
-
+ {/*
@@ -51,7 +51,7 @@ function ServicesHomeOne({ className }) {
))}
-
+
*/}
diff --git a/src/components/lnd/LndParts/Design/Main.js b/src/components/lnd/LndParts/Design/Main.js index 37d9fbb..938895e 100644 --- a/src/components/lnd/LndParts/Design/Main.js +++ b/src/components/lnd/LndParts/Design/Main.js @@ -1,4 +1,6 @@ -import React from 'react' +import React, { useState } from 'react' +import localImgLoad from '../../../../lib/localImgLoad' + import img1 from '../../../../assets/images/modern01.png' import img2 from '../../../../assets/images/secure_data.png' import img3 from '../../../../assets/images/modern02.png' @@ -6,6 +8,13 @@ import img4 from '../../../../assets/images/modern03.png' const Main = ({gredient}) => { + + const [activeImg, setActiveImg] = useState('') + + const changeActiveImg = (name) => { + setActiveImg(name) + } + return ( <>
@@ -19,10 +28,9 @@ const Main = ({gredient}) => {
-

Beautiful design with
modern UI

+

Set Chores, Set Goals
Rewards Accomplishments

- Lorem Ipsum is simply dummy text of the printing and typesetting industry lorem Ipsum has been the - industrys standard dummy text ever since the when an unknown printer took a galley of type and. + Set goals, tasks, or anything that motivates or needs to be done and reward completion. WrenchBoard is the platform plan rewards.

{/*
    @@ -41,10 +49,10 @@ const Main = ({gredient}) => {
*/}
- {list?.map(({ icon, header, paragraph }, idx) => ( -
+ {list?.map(({ icon, header, paragraph, name }, idx) => ( +
changeActiveImg(name)} style={{cursor: 'pointer'}}>
@@ -62,11 +70,17 @@ const Main = ({gredient}) => {
- image + image
- image + {/* image */} image
image @@ -86,19 +100,43 @@ export default Main const list = [ + // { + // icon: "fal fa-check", + // header: "Carefully designed", + // paragraph: "Get family access from parents, or create your free account.", + // }, + // { + // icon: "fal fa-check", + // header: "Seamless Sync", + // paragraph: "Simply dummy text of the printing and typesetting inustry lorem Ipsum has Lorem dollar summit.", + // }, + // { + // icon: "fal fa-check", + // header: "Access Drive", + // paragraph: "Printing and typesetting industry lorem Ipsum has been the industrys standard dummy text of typesetting.", + // }, { - icon: "fal fa-check", - header: "Carefully designed", - paragraph: "Get family access from parents, or create your free account.", + icon: 'fal fa-check', + header: 'Reward Goals Met', + paragraph: 'Set goals together and reward accomplishment', + name: 'reward', }, { - icon: "fal fa-check", - header: "Seamless Sync", - paragraph: "Simply dummy text of the printing and typesetting inustry lorem Ipsum has Lorem dollar summit.", + icon: 'fal fa-check', + header: 'Assign Regular Chores', + paragraph: 'Organize essential regular chores to be done', + name: 'chores', }, { - icon: "fal fa-check", - header: "Access Drive", - paragraph: "Printing and typesetting industry lorem Ipsum has been the industrys standard dummy text of typesetting.", + icon: 'fal fa-check', + header: 'Financial Education', + paragraph: 'Get Kids start early on money management', + name: 'financial', + }, + { + icon: 'fal fa-check', + header: 'Family Connect', + paragraph: 'Connect family, share accomplishments with friends', + name: 'family', }, ] \ No newline at end of file