aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/header/header.jsx
blob: 104911b359211c581e17a8f6398d15979f1c471a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import Link from "next/link";
import styles from "../../page.module.css";
import { ThemeSwitcher } from "../themeSwitcher";

export default async function Header() {
	return (
		<div className="fixed top-0 w-full flex items-center justify-between z-50  dark:bg-black bg-white">
			<h4 className="text-teal-400 text-2xl p-2">
				<Link href={"/"}>Dramalama</Link>
			</h4>
			{/* <div
				className={`mx-2 flex items-center overflow-auto ${styles.ScrollBarAdjuster}`}
			>
				<Link href={"/anime"} className="mx-2 hover:text-sky-400">
					<p>Anime</p>
				</Link>
				<Link href={"/kdrama"} className="mx-2 hover:text-sky-400">
					<p>Kdrama</p>
				</Link>
				<Link href={"/series"} className="mx-2 hover:text-sky-400">
					<p>Series</p>
				</Link>
				<Link href={"/movies"} className="mx-2 hover:text-sky-400">
					<p>Movies</p>
				</Link>
			</div> */}
			<ThemeSwitcher />
		</div>
	);
}