Compare commits

...

2 Commits

Author SHA1 Message Date
victorAnumudu 6dd5dbc7b2 added images for home page 2024-01-30 19:16:32 +01:00
ameye f8acc0a29e Merge branch 'section-adjustment' of WrenchBoard/WrenchBoardMainSite into master 2024-01-30 12:34:35 +00:00
6 changed files with 19 additions and 48 deletions
+11 -10
View File
@@ -3249,9 +3249,9 @@ p {
.modern_ui_section .ui_images{ .modern_ui_section .ui_images{
border-radius: 100%; border-radius: 100%;
background-color: #fff; background-color: #fff;
width: 500px; width: auto;
height: 500px; height: auto;
/* padding: 30px 0; */ padding: 30px 10px;
} }
.modern_ui_section .right_img{ .modern_ui_section .right_img{
left: -60px; left: -60px;
@@ -3260,24 +3260,25 @@ p {
.modern_ui_section .left_img{ .modern_ui_section .left_img{
width: 60%; width: 60%;
} }
.modern_ui_section .left_img img{
border-radius: 10px;
}
.modern_ui_section .right_img{ .modern_ui_section .right_img{
width: 40%; width: 40%;
} }
.modern_ui_section .right_img img {
position: relative;
z-index: 2;
}
.modern_ui_section .right_img .right_img_one{ .modern_ui_section .right_img .right_img_one{
width: 120px; width: 120px;
height: auto; height: auto;
} }
.modern_ui_section .right_img .right_img_two{
/* margin-top: -20px; */
}
.modern_ui_section .right_img .right_img_three{ .modern_ui_section .right_img .right_img_three{
left: -20px; left: -20px;
} }
@media only screen and (min-width: 0px) and (max-width: 500px) { @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{ .modern_ui_section .right_img{
left: -30px; left: -30px;
top: -20px; top: -20px;
Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

+8 -38
View File
@@ -9,7 +9,7 @@ import img4 from '../../../../assets/images/modern03.png'
const Main = ({gredient}) => { const Main = ({gredient}) => {
const [activeImg, setActiveImg] = useState('') const [activeImg, setActiveImg] = useState(list[0].name)
const changeActiveImg = (name) => { const changeActiveImg = (name) => {
setActiveImg(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. Set goals, tasks, or anything that motivates or needs to be done and reward completion. WrenchBoard is the platform plan rewards.
</p> </p>
</div> </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"> <div className="row">
{list?.map(({ icon, header, paragraph, name }, idx) => ( {list?.map(({ icon, header, paragraph, name }, idx) => (
<div className="col-12 mb-20" key={idx} onClick={()=>changeActiveImg(name)} style={{cursor: 'pointer'}}> <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="col-lg-6">
<div className='w-100 ui_image_con d-flex justify-content-center align-items-center'> <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="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 <img
className="moving_position_animatin" className="moving_position_animatin position-relative"
src={ activeImg == 'reward' ? img1 : activeImg == 'chores' ? img1 : activeImg == 'financial' ? img1 : activeImg == 'family' ? img1 : img1} src={ localImgLoad(`images/home/${activeImg}.jpg`)}
alt="image" alt="image"
width='332px' width='332px'
height='auto' height='auto'
@@ -100,43 +85,28 @@ export default Main
const list = [ 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', icon: 'fal fa-check',
header: 'Reward Goals Met', header: 'Reward Goals Met',
paragraph: 'Set goals together and reward accomplishment', paragraph: 'Set goals together and reward accomplishment',
name: 'reward', name: 'reward-goals',
}, },
{ {
icon: 'fal fa-check', icon: 'fal fa-check',
header: 'Assign Regular Chores', header: 'Assign Regular Chores',
paragraph: 'Organize essential regular chores to be done', paragraph: 'Organize essential regular chores to be done',
name: 'chores', name: 'assign-chores',
}, },
{ {
icon: 'fal fa-check', icon: 'fal fa-check',
header: 'Financial Education', header: 'Financial Education',
paragraph: 'Get Kids start early on money management', paragraph: 'Get Kids start early on money management',
name: 'financial', name: 'financial-edu',
}, },
{ {
icon: 'fal fa-check', icon: 'fal fa-check',
header: 'Family Connect', header: 'Family Connect',
paragraph: 'Connect family, share accomplishments with friends', paragraph: 'Connect family, share accomplishments with friends',
name: 'family', name: 'family-connect',
}, },
] ]