Files
AnimeTV-Frontend/widgets/navbar/ui/LoginAndSignup.tsx
Rafi Arrafif b12a3211b6 🚚 reconstructing and fixing file structures
The reconstruction includes moving the Navbar component from shared to widget because Navbar is a group of elements, and
removing the login-signup form due to changes in logic that will use a popup flow to improve the user experience without
navigating to another page for authentication.
2025-08-17 21:25:49 +07:00

31 lines
630 B
TypeScript

"use client";
import { routes } from "@/shared/config/routes";
import { Button, Link, NavbarItem } from "@heroui/react";
import React from "react";
const LoginAndSignup = () => {
return (
<>
<NavbarItem className="hidden lg:flex">
<Link href={routes.login} className="font-medium">
Login
</Link>
</NavbarItem>
<NavbarItem>
<Button
color="primary"
variant="solid"
radius="sm"
as={Link}
href={routes.signup}
>
Sign Up
</Button>
</NavbarItem>
</>
);
};
export default LoginAndSignup;