PaletteSwitcher/client/src/Header.tsx

49 lines
1.3 KiB
TypeScript
Raw Normal View History

2024-01-13 10:17:20 +00:00
import { faIgloo, faCodeBranch } from "@fortawesome/free-solid-svg-icons";
2021-12-12 16:50:58 +00:00
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
2022-05-08 13:16:39 +00:00
import ThemeToggler from "./ThemeToggler";
2021-12-12 16:50:58 +00:00
function Header() {
return (
2022-05-08 13:28:37 +00:00
<header className="bg-nord-1 text-nord-5 py-3 px-2">
<div className="flex container items-center mx-auto">
2021-12-12 17:27:19 +00:00
<a
target="_blank"
2022-05-08 13:28:37 +00:00
rel="noopener noreferrer"
2024-01-05 22:44:27 +00:00
href="https://gitea.bruyant.xyz/alexandre/PaletteSwitcher"
2021-12-12 17:27:19 +00:00
>
2022-05-08 13:28:37 +00:00
<FontAwesomeIcon
2024-01-13 10:17:20 +00:00
icon={faCodeBranch}
2022-05-08 13:28:37 +00:00
className="fa-2x hover:text-nord-7 mx-2"
/>
2021-12-12 17:27:19 +00:00
</a>
2022-05-08 13:28:37 +00:00
<a
target="_blank"
rel="noopener noreferrer"
href="https://blog.bruyant.xyz"
>
<FontAwesomeIcon
icon={faIgloo}
className="fa-2x hover:text-nord-7 mx-2"
/>
</a>
<span className="text-sm">
Powered by{" "}
<a
href="https://ipfs.io"
target="_blank"
rel="noreferrer"
className="bg-nord-5 text-nord-1 hover:bg-nord-7 px-1 "
>
IPFS
</a>
. Visit using your own node !
</span>
<span className="ml-auto">
<ThemeToggler />
</span>
</div>
2021-12-12 16:50:58 +00:00
</header>
);
}
export default Header;