🚚 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.
This commit is contained in:
2025-08-17 21:25:49 +07:00
parent 3dad8ef528
commit b12a3211b6
11 changed files with 38 additions and 123 deletions

View File

@ -0,0 +1,30 @@
"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;