diff options
| author | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2025-08-21 10:33:27 +0200 |
|---|---|---|
| committer | Wolfboy248 <georgejvindkarlsen@gmail.com> | 2025-08-21 10:33:27 +0200 |
| commit | da1fd74f9387149b2b94d62853587a8afdb74ddd (patch) | |
| tree | 57f13021890b6d27848a3379d0869790fd1d7c97 /frontend/src/components/Sidebar/Header.tsx | |
| parent | organised pages, started work on theme (diff) | |
| download | lphub-da1fd74f9387149b2b94d62853587a8afdb74ddd.tar.gz lphub-da1fd74f9387149b2b94d62853587a8afdb74ddd.tar.bz2 lphub-da1fd74f9387149b2b94d62853587a8afdb74ddd.zip | |
Reorganised Maplist and Sidebar
Diffstat (limited to 'frontend/src/components/Sidebar/Header.tsx')
| -rw-r--r-- | frontend/src/components/Sidebar/Header.tsx | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/frontend/src/components/Sidebar/Header.tsx b/frontend/src/components/Sidebar/Header.tsx new file mode 100644 index 0000000..e990060 --- /dev/null +++ b/frontend/src/components/Sidebar/Header.tsx | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | import React from "react"; | ||
| 2 | import { Link } from "react-router-dom"; | ||
| 3 | |||
| 4 | import { | ||
| 5 | LogoIcon, | ||
| 6 | } from "../../images/Images"; | ||
| 7 | |||
| 8 | const Header: React.FC = () => { | ||
| 9 | return ( | ||
| 10 | <div className="flex justify-center px-4 py-3 bg-gradient-to-t from-block to-bright"> | ||
| 11 | <Link to="/" tabIndex={-1} className="flex gap-4"> | ||
| 12 | <img src={LogoIcon} alt="Logo" className="h-18 translate-y-0.5" /> | ||
| 13 | <div className="text-[#fff] flex flex-col justify-center not-md:hidden"> | ||
| 14 | <div className="font-barlow-condensed-bold text-5xl truncate leading-10"> | ||
| 15 | PORTAL 2 | ||
| 16 | </div> | ||
| 17 | <div className="font-barlow-condensed-regular text-3xl leading-7"> | ||
| 18 | Least Portals Hub | ||
| 19 | </div> | ||
| 20 | </div> | ||
| 21 | </Link> | ||
| 22 | </div> | ||
| 23 | ) | ||
| 24 | } | ||
| 25 | |||
| 26 | export default Header; | ||