🚚 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:
@ -1,12 +0,0 @@
|
||||
import React from "react";
|
||||
|
||||
const clearLayout = ({ children }: Readonly<{ children: React.ReactNode }>) => {
|
||||
return (
|
||||
<div className="relative w-screen h-screen bg-red-500 bg-[url('/assets/pages/login/a78h12j89a01n.jpg')] bg-cover bg-center">
|
||||
<div className="fixed z-0 w-screen h-screen backdrop-blur-xl bg-black/60" />
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default clearLayout;
|
||||
@ -1,19 +0,0 @@
|
||||
import { buildMeta } from "@/shared/config/meta";
|
||||
import LoginCard from "@/widgets/authentication/login/LoginCard";
|
||||
import React from "react";
|
||||
|
||||
export const generateMetadata = () => {
|
||||
return buildMeta({
|
||||
title: "Log in",
|
||||
});
|
||||
};
|
||||
|
||||
const page = () => {
|
||||
return (
|
||||
<div className="fixed z-10 w-screen h-screen flex justify-center items-center -mt-12">
|
||||
<LoginCard />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default page;
|
||||
@ -1,19 +0,0 @@
|
||||
import { buildMeta } from "@/shared/config/meta";
|
||||
import SignupCard from "@/widgets/authentication/signup/SignupCard";
|
||||
import React from "react";
|
||||
|
||||
export const generateMetadata = () => {
|
||||
return buildMeta({
|
||||
title: "Sign in",
|
||||
});
|
||||
};
|
||||
|
||||
const page = () => {
|
||||
return (
|
||||
<div className="fixed z-10 w-screen h-screen flex justify-center items-center -mt-12">
|
||||
<SignupCard />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default page;
|
||||
@ -1,4 +1,4 @@
|
||||
import NavbarUI from "@/shared/ui/navbar";
|
||||
import NavbarUI from "@/widgets/navbar/ui/Navbar";
|
||||
import React from "react";
|
||||
|
||||
const mainLayout = ({ children }: Readonly<{ children: React.ReactNode }>) => {
|
||||
|
||||
Reference in New Issue
Block a user