movie-web/src/components/layout/Navigation.tsx

19 lines
729 B
TypeScript
Raw Normal View History

2022-02-25 21:50:36 +01:00
import { IconPatch } from "components/buttons/IconPatch";
import { Icons } from "components/Icon";
import { DISCORD_LINK, GITHUB_LINK } from "mw_constants";
import { BrandPill } from "./BrandPill";
2022-02-25 22:00:51 +01:00
export function Navigation() {
2022-02-25 21:50:36 +01:00
return (
2022-02-25 22:00:51 +01:00
<div className="flex justify-between items-center absolute left-0 right-0 top-0 py-5 px-7">
2022-02-25 21:50:36 +01:00
<div>
<BrandPill />
</div>
<div className="flex">
2022-02-25 22:03:12 +01:00
<a href={DISCORD_LINK} target="_blank" rel="noreferrer" className="text-2xl text-white"><IconPatch icon={Icons.DISCORD} clickable/></a>
<a href={GITHUB_LINK} target="_blank" rel="noreferrer" className="text-2xl text-white"><IconPatch icon={Icons.GITHUB} clickable/></a>
2022-02-25 21:50:36 +01:00
</div>
</div>
)
}