-
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.
feat(frontend): ✨ Add footer styling and content (#57)
- Loading branch information
Lukas Thrane
authored and
GitHub
committed
Jan 29, 2024
1 parent
6b7e1ae
commit 6ac01c5
Showing
2 changed files
with
66 additions
and
3 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,7 +1,70 @@ | ||
| import Image from "next/image"; | ||
|
|
||
| export default function Footer() { | ||
| return ( | ||
| <footer className="bg-gray-200 p-4 dark:bg-gray-600"> | ||
| <h1>Footer</h1> | ||
| <footer className="p-4 bg-slate-700 dark:bg-slate-500 text-white flex flex-col items-center"> | ||
| <div className="flex flex-row items-center justify-between w-full"> | ||
| <div className="flex-1 flex justify-start"> | ||
| <Image | ||
| src={ | ||
| "https://www.ntnu.edu/o/ntnu-theme/images/logo_ntnu_tag_english.svg" | ||
| } | ||
| alt={"NTNU"} | ||
| width={200} | ||
| height={50} | ||
| /> | ||
| </div> | ||
|
|
||
| <div className="flex-1 flex justify-center"> | ||
| <div className="flex flex-col text-center"> | ||
| <div className="flex flex-row gap-4"> | ||
| <a href="#" className="hover:underline"> | ||
| </a> | ||
| <a href="#" className="hover:underline"> | ||
| </a> | ||
| <a href="#" className="hover:underline"> | ||
| </a> | ||
| <a href="#" className="hover:underline"> | ||
| Youtube | ||
| </a> | ||
| </div> | ||
| <p>© 2021 NTNU Small Satellite Lab</p> | ||
| </div> | ||
| </div> | ||
|
|
||
| <div className="flex-1 flex justify-end"> | ||
| <div className="flex flex-col text-right"> | ||
| <span className="text-white"> | ||
| NTNU Small Satellite Lab | ||
| </span> | ||
| <span className="text-white">Trondheim, Norway</span> | ||
| </div> | ||
| </div> | ||
| </div> | ||
|
|
||
| <hr className="my-4 w-full" /> | ||
|
|
||
| <div className="text-center"> | ||
| <p>Norwegian University of Science and Technology</p> | ||
| </div> | ||
|
|
||
| <div className="mt-4 flex flex-col text-center"> | ||
| <a href="#" className="hover:underline"> | ||
| Use of cookies | ||
| </a> | ||
| <a href="#" className="hover:underline"> | ||
| Accessibility statement (in Norwegian) | ||
| </a> | ||
| <a href="#" className="hover:underline"> | ||
| Privacy policy | ||
| </a> | ||
| <a href="#" className="hover:underline"> | ||
| Editorial responsibility | ||
| </a> | ||
| </div> | ||
| </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