-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #103 from jayanththalla/footer
changed footer
- Loading branch information
Showing
1 changed file
with
45 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
import React from "react"; | ||
import { | ||
FaInstagram, | ||
FaLinkedinIn, | ||
} from "react-icons/fa"; | ||
import { FaXTwitter } from "react-icons/fa6"; | ||
import { Link } from "react-router-dom"; | ||
import { FaInstagram, FaLinkedinIn, FaMapMarkerAlt, FaEnvelope, FaPhone } from 'react-icons/fa'; | ||
import { Link } from 'react-router-dom'; | ||
import logo from '../assets/tab-icon.png'; // Import your logo image | ||
|
||
const Footer = () => { | ||
return ( | ||
<footer className="bg-gray-900 text-white py-10"> | ||
<div className="container mx-auto flex flex-col md:flex-row justify-between items-start px-6 md:px-12 lg:px-20 space-y-8 md:space-y-0"> | ||
<div className="w-full md:w-1/3"> | ||
<h2 className="text-2xl font-semibold mb-4">Stay Connected</h2> | ||
<div className="flex space-x-4 text-lg"> | ||
<a href="https://x.com/BamacharanCh/" className="text-white hover:text-gray-400 transition-colors duration-300"><FaXTwitter /></a> | ||
<a href="https://www.instagram.com/loving_coding" className="text-white hover:text-gray-400 transition-colors duration-300"><FaInstagram /></a> | ||
<a href="https://www.linkedin.com/in/bama-charan-chhandogi-b63420240/" className="text-white hover:text-gray-400 transition-colors duration-300"><FaLinkedinIn /></a> | ||
|
||
<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"> | ||
<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" /> | ||
</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> | ||
</div> | ||
</div> | ||
<div className="w-full md:w-1/3"> | ||
|
||
<div className="w-full md:w-1/4 mb-8 md:mb-0"> | ||
<h2 className="text-2xl font-semibold mb-4">Quick Links</h2> | ||
<ul className="space-y-2 text-lg"> | ||
<li><Link to="/" className="text-white hover:text-gray-400 transition-colors duration-300">Home</Link></li> | ||
|
@@ -28,15 +27,39 @@ const Footer = () => { | |
<li><Link to="/contact" className="text-white hover:text-gray-400 transition-colors duration-300">Contact</Link></li> | ||
</ul> | ||
</div> | ||
<div className="w-full md:w-1/3"> | ||
|
||
<div className="w-full md:w-1/4 mb-8 md:mb-0 md:px-10 lg:px-50"> | ||
<h2 className="text-2xl font-semibold mb-4">Contact Us</h2> | ||
<p className="text-gray-400 text-lg"> | ||
123 Street Name, City Name, Country | ||
</p> | ||
<p className="text-gray-400 text-lg">[email protected]</p> | ||
<p className="text-gray-400 text-lg">+123 456 7890</p> | ||
<div className="flex items-center text-gray-400 text-lg mb-4"> | ||
<FaMapMarkerAlt className="mr-2 text-2xl" /> | ||
<a href="#" className="text-gray-400 hover:text-white transition-colors duration-300 cursor-pointer">123 Street Name, City Name, Country</a> | ||
</div> | ||
<div className="flex items-center text-gray-400 text-lg mb-4"> | ||
<FaEnvelope className="mr-2 text-2xl" /> | ||
<a href="mailto:[email protected]" className="text-gray-400 hover:text-white transition-colors duration-300 cursor-pointer">[email protected]</a> | ||
</div> | ||
<div className="flex items-center text-gray-400 text-lg"> | ||
<FaPhone className="mr-2" /> | ||
<a href="tel:+1234567890" className="text-gray-400 hover:text-white transition-colors duration-300 cursor-pointer">+123 456 7890</a> | ||
</div> | ||
</div> | ||
|
||
<div className="w-full md:w-1/4 mb-8 md:mb-0"> | ||
<h2 className="text-2xl font-semibold mb-4">Stay Connected</h2> | ||
<div className="flex space-x-4 text-2lg"> | ||
<a href="https://twitter.com/BamaCharanCh/" className="text-white hover:text-gray-400 transition-colors duration-300"> | ||
<img src='https://img.icons8.com/?size=100&id=fJp7hepMryiw&format=png&color=ffffff' alt="X Logo" className="w-8 h-8" /> | ||
</a> | ||
<a href="https://www.instagram.com/loving_coding" className="text-white hover:text-gray-400 transition-colors duration-300"> | ||
<FaInstagram className="text-2xl" /> | ||
</a> | ||
<a href="https://www.linkedin.com/in/bama-charan-chhandogi-b63420240/" className="text-white hover:text-gray-400 transition-colors duration-300"> | ||
<FaLinkedinIn className="text-2xl" /> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<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>© 2024 Diabetes Prediction. All rights reserved.</p> | ||
|