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

Fixed : Static copyright year_Bug #149

Merged
merged 1 commit into from
Jul 20, 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
4 changes: 3 additions & 1 deletion client/src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ 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">
Expand Down Expand Up @@ -68,7 +70,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; 2024 Diabetes Prediction. All rights reserved.</p>
<p> &copy; {year} Diabetes Prediction. All rights reserved. </p>
</div>
<div>
<a
Expand Down
Loading