Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 02075a95c0 | |||
| 2873b22183 | |||
| 7b01bea019 | |||
| 6dd5dbc7b2 | |||
| f8acc0a29e |
@@ -3249,9 +3249,9 @@ p {
|
||||
.modern_ui_section .ui_images{
|
||||
border-radius: 100%;
|
||||
background-color: #fff;
|
||||
width: 500px;
|
||||
height: 500px;
|
||||
/* padding: 30px 0; */
|
||||
width: auto;
|
||||
height: auto;
|
||||
padding: 30px 10px;
|
||||
}
|
||||
.modern_ui_section .right_img{
|
||||
left: -60px;
|
||||
@@ -3260,24 +3260,25 @@ p {
|
||||
.modern_ui_section .left_img{
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.modern_ui_section .left_img img{
|
||||
border-radius: 10px;
|
||||
}
|
||||
.modern_ui_section .right_img{
|
||||
width: 40%;
|
||||
}
|
||||
.modern_ui_section .right_img img {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
.modern_ui_section .right_img .right_img_one{
|
||||
width: 120px;
|
||||
height: auto;
|
||||
}
|
||||
.modern_ui_section .right_img .right_img_two{
|
||||
/* 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;
|
||||
|
||||
|
After Width: | Height: | Size: 56 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 69 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 9.3 KiB |
@@ -9,7 +9,7 @@ import img4 from '../../../../assets/images/modern03.png'
|
||||
|
||||
const Main = ({gredient}) => {
|
||||
|
||||
const [activeImg, setActiveImg] = useState('')
|
||||
const [activeImg, setActiveImg] = useState(list[0].name)
|
||||
|
||||
const changeActiveImg = (name) => {
|
||||
setActiveImg(name)
|
||||
@@ -33,21 +33,6 @@ const Main = ({gredient}) => {
|
||||
Set goals, tasks, or anything that motivates or needs to be done and reward completion. WrenchBoard is the platform plan rewards.
|
||||
</p>
|
||||
</div>
|
||||
{/* <ul className="design_block">
|
||||
<li data-aos="fade-up" data-aos-duration="1500">
|
||||
<h4>Carefully designed</h4>
|
||||
<p>Lorem Ipsum is simply dummy text of the printing and type esetting industry lorem Ipsum has.</p>
|
||||
</li>
|
||||
<li data-aos="fade-up" data-aos-duration="1500">
|
||||
<h4>Seamless Sync</h4>
|
||||
<p>Simply dummy text of the printing and typesetting inustry lorem Ipsum has Lorem dollar summit.</p>
|
||||
</li>
|
||||
<li data-aos="fade-up" data-aos-duration="1500">
|
||||
<h4>Access Drive</h4>
|
||||
<p>Printing and typesetting industry lorem Ipsum has been the industrys standard dummy text of type
|
||||
setting.</p>
|
||||
</li>
|
||||
</ul> */}
|
||||
<div className="row">
|
||||
{list?.map(({ icon, header, paragraph, name }, idx) => (
|
||||
<div className="col-12 mb-20" key={idx} onClick={()=>changeActiveImg(name)} style={{cursor: 'pointer'}}>
|
||||
@@ -69,10 +54,10 @@ const Main = ({gredient}) => {
|
||||
<div className="col-lg-6">
|
||||
<div className='w-100 ui_image_con d-flex justify-content-center align-items-center'>
|
||||
<div className="ui_images position-relative d-flex justify-content-center align-items-center" data-aos="fade-in" data-aos-duration="1500">
|
||||
<div className="left_img">
|
||||
<div className="left_img position-relative">
|
||||
<img
|
||||
className="moving_position_animatin"
|
||||
src={ activeImg == 'reward' ? img1 : activeImg == 'chores' ? img1 : activeImg == 'financial' ? img1 : activeImg == 'family' ? img1 : img1}
|
||||
className="moving_position_animatin position-relative"
|
||||
src={ localImgLoad(`images/home/${activeImg}.jpg`)}
|
||||
alt="image"
|
||||
width='332px'
|
||||
height='auto'
|
||||
@@ -81,9 +66,28 @@ const Main = ({gredient}) => {
|
||||
<div className="right_img position-relative d-flex flex-column justify-content-start align-items-center">
|
||||
<div className='d-flex flex-column justify-content-start align-items-center'>
|
||||
{/* <img className="moving_position_animatin right_img_one" src={img2} alt="image" /> */}
|
||||
<img className="moving_position_animatin right_img_two" src={img3} alt="image" />
|
||||
<img
|
||||
className="moving_position_animatin right_img_two"
|
||||
// src={img3}
|
||||
src={
|
||||
activeImg == 'reward-goals' ? localImgLoad(`images/home/box-reward.png`)
|
||||
:
|
||||
activeImg == 'assign-chores' ? localImgLoad(`images/home/box-chores.png`)
|
||||
:
|
||||
activeImg == 'financial-edu' ? localImgLoad(`images/home/box-financial.png`)
|
||||
:
|
||||
activeImg == 'family-connect' ? localImgLoad(`images/home/box-family.png`)
|
||||
:
|
||||
null
|
||||
}
|
||||
alt="image"
|
||||
/>
|
||||
</div>
|
||||
<img className="moving_position_animatin right_img_three position-relative" src={img4} alt="image" />
|
||||
<img
|
||||
className="moving_position_animatin right_img_three position-relative"
|
||||
src={localImgLoad(`images/home/wrench-side-logo-1.png`)}
|
||||
alt="image"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -100,43 +104,28 @@ 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: 'Reward Goals Met',
|
||||
paragraph: 'Set goals together and reward accomplishment',
|
||||
name: 'reward',
|
||||
name: 'reward-goals',
|
||||
},
|
||||
{
|
||||
icon: 'fal fa-check',
|
||||
header: 'Assign Regular Chores',
|
||||
paragraph: 'Organize essential regular chores to be done',
|
||||
name: 'chores',
|
||||
name: 'assign-chores',
|
||||
},
|
||||
{
|
||||
icon: 'fal fa-check',
|
||||
header: 'Financial Education',
|
||||
paragraph: 'Get Kids start early on money management',
|
||||
name: 'financial',
|
||||
name: 'financial-edu',
|
||||
},
|
||||
{
|
||||
icon: 'fal fa-check',
|
||||
header: 'Family Connect',
|
||||
paragraph: 'Connect family, share accomplishments with friends',
|
||||
name: 'family',
|
||||
name: 'family-connect',
|
||||
},
|
||||
]
|
||||