"use client";
import * as React from "react";
import PnpLogo from "../public/logo-pnp-small.webp";
import Image from "next/image";
import SignOutButton from "./SignOutButton";
import Link from "next/link";

export function Navbar() {
  return (
    <div className="mb-5 flex w-full border-b bg-slate-50 py-5">
      <div className="mx-auto flex w-10/12 items-center justify-between">
        <Link href="/">
          <div className="flex items-center gap-2">
            <Image
              src={PnpLogo}
              width={30}
              height={30}
              alt="Logo Teknologi Informasi"
            />
            <h1 className="font-semibold">PNP-Bot</h1>
          </div>
        </Link>
        <SignOutButton />
      </div>
    </div>
  );
}
