🏗️ creating layouts for login and signup
This commit is contained in:
12
app/(auth)/layout.tsx
Normal file
12
app/(auth)/layout.tsx
Normal file
@ -0,0 +1,12 @@
|
||||
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;
|
||||
12
app/(auth)/log-in/page.tsx
Normal file
12
app/(auth)/log-in/page.tsx
Normal file
@ -0,0 +1,12 @@
|
||||
import LoginCard from "@/widgets/login/loginCard/Index";
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return (
|
||||
<div className="fixed z-10 w-screen h-screen flex justify-center items-center -mt-12">
|
||||
<LoginCard />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default page;
|
||||
12
app/(auth)/sign-up/page.tsx
Normal file
12
app/(auth)/sign-up/page.tsx
Normal file
@ -0,0 +1,12 @@
|
||||
import { Link } from "@heroui/react";
|
||||
import React from "react";
|
||||
|
||||
const page = () => {
|
||||
return (
|
||||
<div>
|
||||
<h1>Hello world</h1>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default page;
|
||||
Reference in New Issue
Block a user