Skip to content

Commit

Permalink
Merge pull request #154 from sethidevang/btn1
Browse files Browse the repository at this point in the history
Update description inside Footer
  • Loading branch information
BamaCharanChhandogi committed Aug 8, 2024
2 parents 4c341de + 21ea12e commit 89ee30c
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions client/src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,18 @@ import { Link } from 'react-router-dom';
import logo from '../assets/tab-icon.png'; // Import your logo image

const Footer = () => {
const today = new Date();
const year = today.getFullYear();
return (
<footer className="bg-gray-900 text-white py-10">
<div className="container mx-auto flex flex-col md:flex-row justify-start items-start px-4 md:px-15 lg:px-100 space-y-8 md:space-y-0">
<div className="w-full md:w-2/4 flex flex-col md:flex-row items-start md:items-center mb-8 md:mb-0">
<div className="w-full md:w-2/4 space-x-4 flex flex-col md:flex-row items-start md:items-center mb-8 md:mb-0">
<Link to="/" className="cursor-pointer">
<img src={logo} alt="Diabetes Prediction Logo" className="w-16 h-16 md:w-20 md:h-20 mr-4" />
<img src={logo} alt="Diabetes Prediction Logo" className="w-16 h-16 md:w-48 md:h-24 mr-4" />
</Link>
<div>
<Link to="/" className="text-2xl font-semibold mb-2 hover:text-gray-400 transition-colors duration-300">
Diabetes Prediction
</Link>
<p className="text-gray-400 text-lg mb-4">Know your risk, take control of your health.</p>
<p className="text-gray-400 text-lg mb-4">This website provides a platform for users to predict their likelihood of developing diabetes based on various factors..</p>
</div>
</div>

Expand Down Expand Up @@ -70,7 +68,7 @@ const Footer = () => {

<div className="border-t border-gray-800 mt-8 pt-6 flex flex-col md:flex-row justify-between items-center px-6 md:px-12 lg:px-20">
<div className="text-gray-400 text-center md:text-left mb-4 md:mb-0">
<p> &copy; {year} Diabetes Prediction. All rights reserved. </p>
<p>&copy; 2024 Diabetes Prediction. All rights reserved.</p>
</div>
<div>
<a
Expand All @@ -85,4 +83,4 @@ const Footer = () => {
);
};

export default Footer;
export default Footer;

0 comments on commit 89ee30c

Please sign in to comment.