generated from 202306-NEA-DZ-FEW/capstone-template
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #62 from 6-footer
6 footer
- Loading branch information
Showing
3 changed files
with
82 additions
and
7 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,5 +1,78 @@ | ||
function Footer() { | ||
return <div className='h-48 w-full'>Footer</div>; | ||
} | ||
import Image from "next/image"; | ||
import { | ||
BiLogoFacebookSquare, | ||
BiLogoInstagram, | ||
BiLogoLinkedinSquare, | ||
BiSolidShareAlt, | ||
} from "react-icons/bi"; | ||
|
||
const Footer = () => { | ||
return ( | ||
<footer className='bg-green text-white p-8'> | ||
<div className='mx-auto flex flex-col items-center sm:flex-col lg:flex-row'> | ||
{/* Logo */} | ||
<div className='mx-2 mb-4 '> | ||
<Image | ||
src='/Logo/logo.png' | ||
alt='Logo' | ||
width={80} | ||
height={80} | ||
/> | ||
</div> | ||
{/* Columns */} | ||
<div className='flex flex-col sm:flex-row lg:flex-row justify-between px-10 mx-auto w-full'> | ||
{/* First Column */} | ||
<div className='flex flex-col items-center sm:mx-2 sm:mb-4'> | ||
<a | ||
href='#' | ||
className='text-white hover:text-black mb-1' | ||
> | ||
About us | ||
</a> | ||
<a | ||
href='#' | ||
className='text-white hover:text-black mb-1' | ||
> | ||
Blogs | ||
</a> | ||
<a | ||
href='#' | ||
className='text-white hover:text-black mb-1' | ||
> | ||
Listed items | ||
</a> | ||
</div> | ||
|
||
{/* Second Column */} | ||
<div className='flex flex-col items-center sm:mx-4 sm:mb-4'> | ||
<h2>Contact us</h2> | ||
<div className='flex items-center space-x-2 p-2'> | ||
<a href='#' className='text-white hover:text-black'> | ||
<BiLogoFacebookSquare className='w-6 h-6' /> | ||
</a> | ||
<a href='#' className='text-white hover:text-black'> | ||
<BiLogoInstagram className='w-6 h-6' /> | ||
</a> | ||
<a href='#' className='text-white hover:text-black'> | ||
<BiLogoLinkedinSquare className='w-6 h-6' /> | ||
</a> | ||
<a href='#' className='text-white hover:text-black'> | ||
<BiSolidShareAlt className='w-6 h-6' /> | ||
</a> | ||
</div> | ||
</div> | ||
|
||
{/* Third Column */} | ||
<div className='mx-4 items-center flex-col flex mb-4'> | ||
<h2>Address</h2> | ||
<p className='text-gray-300'> | ||
123 Street, City, Country | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
); | ||
}; | ||
|
||
export default Footer; |
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