Skip to content

Commit

Permalink
Merge pull request #83 from Hemashree21/main
Browse files Browse the repository at this point in the history
Updated About Page
  • Loading branch information
Harshil-Jani authored May 21, 2024
2 parents 7e9bfd3 + 3810c9a commit d5f4bf1
Show file tree
Hide file tree
Showing 11 changed files with 172 additions and 17 deletions.
Binary file added public/assets/anytime.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/anytimehover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/anywhere.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/anywherehover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/booknurse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/booknursehover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/nursecareer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/nursecareerhover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/ourstory.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 54 additions & 17 deletions src/Pages/AboutPage.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
import React from "react";
import React, { useState } from "react";
import nurse from '../../public/assets/booknurse.png'
import nursehover from '../../public/assets/booknursehover.png'
import anywhere from '../../public/assets/anywhere.png'
import anywherehover from '../../public/assets/anywherehover.png'
import anytime from '../../public/assets/anytime.png'
import anytimehover from '../../public/assets/anytimehover.png'
import career from '../../public/assets/nursecareer.png'
import careerhover from '../../public/assets/nursecareerhover.png'
import BackBtn from "../components/BackBtn/BackBtn";
import ourstory from '../../public/assets/ourstory.jpg'
import "../styles/AboutPage.css"

const AboutPage = () => {
const [nurseHovered, setNurseHovered] = useState(false);
const [placeHovered, setPlaceHovered] = useState(false);
const [support, setSupport] = useState(false);
const [careerHovered, setCareerHovered] = useState(false);

return (
<>
<div className="py-8 mb-5 w-[50vw] justify-start ml-auto mr-auto mt-10">
Expand All @@ -20,12 +35,7 @@ const AboutPage = () => {
Our Mission
</h5>
<p className="text-left w-full max-w-96 text-base">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat
nulla pariatur.
At Nacto Care, our mission is to bridge the gap in healthcare employment by empowering Indian nurses. With the aim of increasing the nurse-to-population ratio from 2.06 to 3 nurses per 1000 people, in alignment with WHO's convention, we are dedicated to transforming healthcare accessibility and quality across India. Join us in making a difference in the lives of millions through sustainable healthcare solutions.
</p>
</div>
<div className="">
Expand All @@ -39,23 +49,50 @@ const AboutPage = () => {
</h5>
<div className="flex justify-center flex-wrap-reverse gap-4 text-center sm:px-28">
<div className="">
{/* <img src="/assets/mission.svg" width={250} height={250} /> */}
<video width="400" height="400" controls>
<source src="./Videos/video1.mp4" type="video/mp4" />
</video>
<img src={ourstory} width={400} height={400} />
</div>
<div className="flex flex-col justify-center items-center">
<p className="text-left w-full max-w-96 text-base">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor
in reprehenderit in voluptate velit esse cillum dolore eu fugiat
nulla pariatur.
Nacto Care began with a vision to address the critical shortage of nursing professionals in India. Our journey is marked by a commitment to empowering nurses to lead and innovate in the healthcare sector. Through strategic partnerships, education initiatives, and advocacy efforts, we are shaping a future where every individual has access to quality healthcare services.
</p>
</div>
</div>
</div>
<div id='about-us' style={{display: 'flex', flexDirection: 'column', gap: '1rem'}}>
<h5 className="font-semibold text-center text-xl pb-2 text-green-500 mt-32">Our Features</h5>
<div className='about-us-block'>
<div className='about-us-community' onMouseOver={()=>setNurseHovered(true)} onMouseLeave={()=>setNurseHovered(false)}>
<div style={{display: 'flex', alignItems: 'center', gap: '1rem'}}>
<img src={nurseHovered ? nurse : nursehover} alt="" style={{marginLeft: '1rem', marginTop: '1rem', width: '3rem'}}/>
<div className='about-us-blk-text'>Instant Care</div>
</div>
<p className='about-us-blk-para'>Experience seamless booking with Instant Care. Quickly schedule qualified nurses for in-home assistance, ensuring convenience and peace of mind for you and your loved ones.</p>
</div>
<div className='about-us-product' onMouseOver={()=>setCareerHovered(true)} onMouseLeave={()=>setCareerHovered(false)}>
<div style={{display: 'flex', alignItems: 'center', gap: '1rem'}}>
<img src={careerHovered ? careerhover : career} alt="" style={{marginLeft: '1rem', marginTop: '1rem', width: '3rem'}}/>
<div className='about-us-blk-text'>Nurse Careers</div>
</div>
<p className='about-us-blk-para'>Explore rewarding opportunities in nursing with Nursing Careers Hub. We offer comprehensive training, competitive benefits, and a supportive environment to nurture your professional growth as a nurse.</p>
</div>
</div>
<div className='about-us-block'>
<div className='about-us-location' onMouseOver={()=>setPlaceHovered(true)} onMouseLeave={()=>setPlaceHovered(false)}>
<div style={{display: 'flex', alignItems: 'center', gap: '1rem'}}>
<img src={placeHovered ? anywherehover : anywhere} alt="" style={{marginLeft: '1rem', marginTop: '1rem', width: '3rem'}}/>
<div className='about-us-blk-text'>Nationwide Reach</div>
</div>
<p className='about-us-blk-para'>Our commitment to healthcare accessibility means we're expanding Nationwide Reach. Now serving more cities across India, providing quality care wherever you are.</p>
</div>
<div className='about-us-event' onMouseOver={()=>setSupport(true)} onMouseLeave={()=>setSupport(false)}>
<div style={{display: 'flex', alignItems: 'center', gap: '1rem'}}>
<img src={support ? anytimehover : anytime} alt="" style={{marginLeft: '1rem', marginTop: '1rem', width: '3rem'}}/>
<div className='about-us-blk-text'>Support Hub</div>
</div>
<p className='about-us-blk-para'>Access Support Hub for round-the-clock assistance. Our dedicated team is here to address your inquiries and provide reliable support, ensuring your satisfaction with our services.</p>
</div>
</div>
</div>
</div>
</>
);
Expand Down
118 changes: 118 additions & 0 deletions src/styles/AboutPage.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
.about-us {
display: block;
margin: auto;
width: 52.5rem;
height: 100%;
background-color: white;
}

.about-us-heading {
text-align: center;
margin-bottom: 5rem;
margin-top: 5rem;
}

.about-us-block {
display: flex;
justify-content: space-evenly;
}

.about-us-community, .about-us-product, .about-us-event, .about-us-location {
display: flex;
flex-direction: column;
gap: 1rem;
width: 35%;
height: 12rem;
border: 1px solid rgba(206, 212, 218, 1);
border-radius: 8px;
margin-bottom: 21px;
}

.about-us-community {
border: 2px solid rgb(63, 188, 98);
}

.about-us-community:hover {
background: rgb(63, 188, 98);
color: white;
}

.about-us-location {
border: 2px solid rgb(63, 188, 98);
}

.about-us-location:hover {
background: rgb(63, 188, 98);
color: white;
}

.about-us-product {
border: 2px solid rgb(63, 188, 98);
}

.about-us-product:hover {
background: rgb(63, 188, 98);
color: white;
}

.about-us-event {
border: 2px solid rgb(63, 188, 98);
}

.about-us-event:hover {
background: rgb(63, 188, 98);
color: white;
}

.about-us-blk-text {
font-size: 20px;
font-weight: 600;
line-height: 30px;
letter-spacing: 0em;
text-align: left;
margin-top: 1rem;
}

.about-us-blk-para {
font-size: 14px;
font-weight: 400;
line-height: 25px;
letter-spacing: 0em;
text-align: left;
margin-left: 1rem;
margin-right: 1rem;
}

@media only screen and (max-width: 768px) {
.about-us-block {
flex-direction: column;
justify-content: center;
align-items: center;
}

.about-us-community, .about-us-event, .about-us-location, .about-us-product {
width: 90%;
height: 100%;
padding: 0.5rem;
}
}

@media only screen and (max-width: 1020px) {
.about-us-block {
flex-direction: column;
justify-content: center;
align-items: center;
}

.about-us-community, .about-us-event, .about-us-location, .about-us-product {
width: 90% !important;
height: 100%;
padding: 0.5rem;
}
}

@media only screen and (max-width: 1250px) {
.about-us-community, .about-us-event, .about-us-location, .about-us-product {
width: 45%;
}
}

0 comments on commit d5f4bf1

Please sign in to comment.