-
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 #2 from isd-sgcu/feature/joh-12-footer
Feature/joh 12 footer
- Loading branch information
Showing
5 changed files
with
73 additions
and
3 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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,7 +1,53 @@ | ||
import facebookLogo from "../assets/footer/FacebookLogo.svg"; | ||
import twitterLogo from "../assets/footer/InstagramLogo.svg"; | ||
import johnjudLogo from "../assets/footer/JohnJudLogo.svg"; | ||
import instagramLogo from "../assets/footer/TwitterLogo.svg"; | ||
const Footer = () => { | ||
/* mt-auto or margin-top will make footer always on the bottom | ||
please delete this comment after you read it */ | ||
return <div className="mt-auto">Footer</div>; | ||
return ( | ||
<div className="mt-auto w-full shrink-0 "> | ||
<div> | ||
<div className="mx-auto flex h-full w-full justify-between bg-teal-600 px-7 py-5 lg:py-9"> | ||
{/* Text & Logo*/} | ||
<div className="flex-start m-0 inline-flex w-[66%] flex-col justify-start gap-4 lg:w-[55%] lg:flex-row lg:items-center lg:gap-0"> | ||
<div className="mr-12 inline-flex items-center justify-start gap-3"> | ||
<img | ||
className="h-11 w-11 rounded-full" | ||
src={johnjudLogo} | ||
alt="Johnjud Logo" | ||
/> | ||
<div className="text-sm font-bold text-white">JOHNJUD</div> | ||
</div> | ||
{/*Text*/} | ||
<div className="m-0 inline-flex flex-col gap-4 p-0 lg:w-96 lg:flex-wrap lg:gap-3"> | ||
<div className="w-full text-wrap text-xs font-normal text-white lg:w-[95%] lg:text-base"> | ||
สโมสรนิสิตคณะสัตวแพทยศาสตร์ <br className="gap-3"></br> | ||
จุฬาลงกรณ์มหาวิทยาลัย ถนน อังรีดูนังต์ แขวงปทุมวัน เขตปทุมวัน | ||
กรุงเทพ ฯ 10330 | ||
</div> | ||
<div className="lg:w-90rem w-full text-xs font-normal text-white lg:w-[88%] lg:text-base"> | ||
พัฒนาโดย ฝ่ายพัฒนาระบบสารสนเทศ <br className="gap-3"></br> | ||
องค์การบริหารสโมสรนิสิตจุฬาลงกรณ์มหาวิทยาลัย | ||
</div> | ||
</div> | ||
</div> | ||
{/*Social*/} | ||
<div className="flex flex-col items-center justify-center gap-6"> | ||
<div className="flex items-center justify-center"> | ||
<img className="h-8 w-8" src={facebookLogo} alt="Facebook Logo" /> | ||
</div> | ||
<div className="flex items-center justify-center"> | ||
<img className="h-8 w-8" src={twitterLogo} alt="Instagram Logo" /> | ||
</div> | ||
<div className="flex items-center justify-center"> | ||
<img className="h-6 w-6" src={instagramLogo} alt="Twitter Logo" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{/*Only available in less than md */} | ||
{/*Johnjud*/} | ||
</div> | ||
); | ||
}; | ||
|
||
export default Footer; |