feat: update navbar

This commit is contained in:
hanif salafi 2025-01-07 21:46:16 +07:00
parent cd9a850130
commit 1a7aa27262
1 changed files with 2 additions and 2 deletions

View File

@ -438,12 +438,12 @@ const Navbar = () => {
) : ( ) : (
// Masuk and Daftar buttons for roleId === null // Masuk and Daftar buttons for roleId === null
<div className="flex justify-center items-center mx-3 gap-5"> <div className="flex justify-center items-center mx-3 gap-5">
<Link href="/auth" className="w-full lg:w-max px-4 py-[10px] bg-[#bb3523] text-white font-semibold rounded-md hover:bg-red-700 text-center"> <Link href="/auth" className="w-full lg:w-max px-4 py-1 bg-[#bb3523] text-white font-semibold rounded-md hover:bg-red-700 text-center">
{t("logIn")} {t("logIn")}
</Link> </Link>
<Dialog> <Dialog>
<DialogTrigger asChild> <DialogTrigger asChild>
<Button className="w-full lg:w-max px-4 py-1 bg-[#bb3523] text-white font-semibold rounded-md hover:bg-red-700 text-center">{t("register")}</Button> <Button className="w-full lg:w-fit px-4 h-8 border bg-white border-[#bb3523] text-[#bb3523] font-semibold rounded-md hover:bg-[#bb3523] hover:text-white">{t("register")}</Button>
</DialogTrigger> </DialogTrigger>
<DialogContent size="sm" className="sm:max-w-[425px]"> <DialogContent size="sm" className="sm:max-w-[425px]">
<div className="flex flex-col w-full gap-1"> <div className="flex flex-col w-full gap-1">