monorepo/apps/web/src/app/_components/header/index.tsx

32 lines
990 B
TypeScript
Raw Normal View History

2025-05-10 17:02:57 +08:00
import Image from "next/image";
import Link from "next/link";
2025-03-31 19:43:56 +08:00
import { HeaderNav } from "./headerNav";
2025-04-19 12:46:08 +08:00
import { HeaderTools } from "./headerTools";
2024-11-04 16:15:49 +08:00
2024-10-29 11:59:38 +08:00
export const Header = () => {
2025-03-31 19:43:56 +08:00
return (
2025-05-10 17:02:57 +08:00
<header className=" tw-bg-slate-50 dark:tw-bg-white-900 tw-shadow-md tw-py-5 lg:tw-px-40 ">
<div className="tw-flex tw-justify-between tw-items-center ">
<div className=" tw-flex-1 tw-flex tw-flex-row tw-ml-8 ">
<Link href={"/"}>
<Image
src={"/logo.png"}
alt="logo"
width={174}
height={40}
className="tw-max-w-none"
></Image>
</Link>
</div>
<div className=" tw-flex tw-flex-auto tw-flex-col tw-w-3/5 tw-justify-center tw-items-center ">
<HeaderNav></HeaderNav>
</div>
<div className=" tw-flex-1 tw-flex tw-flex-row-reverse tw-mr-8 ">
<HeaderTools></HeaderTools>
</div>
2025-03-31 19:43:56 +08:00
</div>
2025-04-19 12:46:08 +08:00
</header>
2025-03-31 19:43:56 +08:00
);
2024-10-29 11:59:38 +08:00
};