Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilrgeorge007 committed Mar 19, 2023
1 parent a05537d commit 625d3e1
Show file tree
Hide file tree
Showing 6 changed files with 201 additions and 13 deletions.
3 changes: 2 additions & 1 deletion frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Navbar from './Components/Navbar/Navbar';
import Login from './pages/Login/Login';
import Details from './pages/Details/Details';
import Details2 from './pages/Details2/Details2';

import Footer from './Components/Footer/Footer';
function App() {
return (
<div className="App">
Expand All @@ -20,6 +20,7 @@ function App() {
<Route path='/Login' element={<Login />} />
<Route path='/Signup' element={<Signup />} />
</Routes>
<Footer/>
</BrowserRouter>
</div>
);
Expand Down
128 changes: 128 additions & 0 deletions frontend/src/Components/Footer/Footer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100&display=swap');

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}

body {
display: flex;
display: flex-end;
align-items: flex-end;
min-height: 100vh;
background: #333;
}

footer {
position: relative;
width: 100%;
background: red;
min-height: 100px;
padding: 20px 50px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

footer .social_icon, footer .menu {
position: relative;
display: flex;
justify-content:center;
align-items:center;
margin: 10px 0;
}

footer .social_icon li, footer .menu li {
list-style: none;
}
footer .social_icon li a {
font-size: 2em;
color: #ccc;
margin: 0 10px;
display: inline-block;
transition: 0.5s;
}
footer .social_icon li a:hover {
transform: translateY(-15px);
color: red;
}

footer .menu li a {
font-size: 1.2em;
color: #ccc;
margin: 0 10px;
display: inline-block;
transition: 0.5s;
text-decoration: none;
opacity: 0.75;
}
footer .menu li a:hover {
opacity: 1;
color: #fff;
}
p {
color : #eee;
text-align: center;
margin-top: 15px;
margin-bottom: 10px;
font-size: 1.1em;
}

/*wave and animation*/
footer .wave {
position: absolute;
top: -100px;
left: 0;
width: 100%;
height: 100px;
background: url(https://i.ibb.co/rZt4Nhg/wave.png);
background-size: 1000px 100px;
}

footer .wave#wave1 {
z-index: 1000;
opacity: 1;
bottom: 0;
animation: animateWave 4s linear infinite;
}

footer .wave#wave2 {
z-index: 999;
opacity: 0.5;
bottom: 10px;
animation: animateWave_02 4s linear infinite;
}
footer .wave#wave3 {
z-index: 1000;
opacity: 0.2;
bottom: 0;
animation: animateWave 3s linear infinite;
}

footer .wave#wave4 {
z-index: 999;
opacity: 0.7;
bottom: 20px;
animation: animateWave_02 3s linear infinite;
}

@keyframes animateWave {
0%{
background-position-x: 1000px;
}
100%{
background-position-x: 0px;
}
}

@keyframes animateWave_02 {
0%{
background-position-x: 0px;
}
100%{
background-position-x: 1000px;
}
}
35 changes: 35 additions & 0 deletions frontend/src/Components/Footer/Footer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import React from 'react'
import './Footer.css'
const Footer = () => {
return (
<div>
<footer>
<div class="waves">
<div class="wave" id="wave1"></div>
<div class="wave" id="wave2"></div>
<div class="wave" id="wave3"></div>
<div class="wave" id="wave4"></div>
</div>
<ul class="social_icon">
<li><a href="#"><ion-icon name="logo-facebook"></ion-icon></a></li>
<li><a href="#"><ion-icon name="logo-twitter"></ion-icon></a></li>
<li><a href="#"><ion-icon name="logo-linkedin"></ion-icon></a></li>
<li><a href="#"><ion-icon name="logo-instagram"></ion-icon></a></li>
</ul>

<ul class="menu">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Team</a></li>
<li><a href="#">Contact</a></li>
</ul>
<p>&copy2021 Prakash Sahu | All Rights Reserved</p>
</footer>
<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
</div>
)
}

export default Footer
6 changes: 3 additions & 3 deletions frontend/src/Components/Navbar/Navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ body {

.nav > .nav-header > .nav-title> a {
display: inline-block;
font-size: 22px;
font-size: 30px;
color: #fff;
text-decoration: none;

Expand Down Expand Up @@ -106,8 +106,8 @@ body {
}
}
.logo{
height: 40px;
width: 40px;
height: 70px;
width: 70px;
margin-top: 1px;
}
.nav> .nav-links> a> .replies{
Expand Down
18 changes: 18 additions & 0 deletions frontend/src/pages/Home/Home.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,22 @@ min-height: 100vh;
.dtl{
color: white;
text-decoration: none;
}
.col-6{
font-size: 20px;
}
/* .col-3 {
font-size: 30px;
}
.col-4{
font-size: 30px;
max-height: 182px;
} */
.hodiv{
display: flex;
flex-direction: column;
font-size: 30px;
align-items: end;
width: 250px;
margin-top: 0%;
}
24 changes: 15 additions & 9 deletions frontend/src/pages/Home/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,22 @@ const Home = () => {
<div className='content'>
<div className='container'>
<div className='row details'>
<p className=' col-6'>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.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt
mollit anim id est laborum.
<div> <p className=' col-6'>Welcome to our web app for chronic disease detection!

We understand that managing your health can be challenging, which is why we've developed this tool to help you detect and monitor chronic diseases from the comfort of your own home. Our goal is to empower you to take control of your health and well-being.

Our web app uses cutting-edge technology to analyze your symptoms and health history to provide you with accurate and personalized results. Our algorithm is designed to detect a range of chronic diseases, including diabetes, hypertension, cardiovascular disease, and more.

Using our web app is easy! Simply answer a few questions about your health history and current symptoms, and we'll provide you with a comprehensive report that includes information about potential chronic diseases and next steps for managing your health.

We believe that early detection is key to managing chronic diseases and preventing long-term health complications. Our web app is designed to help you take proactive steps towards a healthier future.

Thank you for choosing our web app for chronic disease detection. We're here to support you on your health journey!
</p>
<p className='col-3 offset-1'> To check if you have a Heart Disease, enter details here<button type="button" class="btn btn-danger "><a href='/Details' className='dtl'>Click Here</a></button></p>
<p className='col-3 offset-1'> To check if you have a Diabetes, enter details here<button type="button" class="btn btn-danger "><a href='/Details2' className='dtl'>Click here</a></button></p>
</div>
<div className='hodiv'> <p className='col-4 offset-1'> To check if you have a Heart Disease, enter details here <button type="button" class="btn btn-danger "><a href='/Details' className='dtl'>Click Here</a></button></p>
<p className='col-3 offset-1'> To check if you have a Diabetes, enter details here <button type="button" class="btn btn-danger "><a href='/Details2' className='dtl'>Click here</a></button></p>
</div>
</div>

</div>
Expand Down

0 comments on commit 625d3e1

Please sign in to comment.