Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update description inside Footer #154

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
Loading