added mail service
This commit is contained in:
9
app/[locale]/auth/error/page.tsx
Normal file
9
app/[locale]/auth/error/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import ErrorCard from '@/components/auth/ErrorCard'
|
||||
|
||||
const AuthErrorPage = () => {
|
||||
return (
|
||||
<ErrorCard/>
|
||||
)
|
||||
}
|
||||
|
||||
export default AuthErrorPage
|
||||
22
app/[locale]/auth/layout.tsx
Normal file
22
app/[locale]/auth/layout.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
'use client'
|
||||
|
||||
import { ReactElement } from 'react'
|
||||
import Navbar from '@/components/auth/Navbar'
|
||||
|
||||
type Props = {
|
||||
//params: { locale: string };
|
||||
children: ReactElement;
|
||||
}
|
||||
const AuthLayout = ({ children }: Props) => {
|
||||
return (
|
||||
<>
|
||||
<Navbar/>
|
||||
<div
|
||||
className="h-full flex items-center justify-center bg-[radial-gradient(ellipse_at_top,_var(--tw-gradient-stops))] from-sky-400 to-blue-800">
|
||||
{children}
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default AuthLayout
|
||||
9
app/[locale]/auth/login/page.tsx
Normal file
9
app/[locale]/auth/login/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { LoginForm } from '@/components/auth/LoginForm'
|
||||
|
||||
const LoginPage = () => {
|
||||
return (
|
||||
<LoginForm/>
|
||||
)
|
||||
}
|
||||
|
||||
export default LoginPage
|
||||
11
app/[locale]/auth/register/page.tsx
Normal file
11
app/[locale]/auth/register/page.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { RegisterForm } from '@/components/auth/RegisterForm'
|
||||
|
||||
const RegisterPage = () => {
|
||||
return (
|
||||
<div>
|
||||
<RegisterForm/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default RegisterPage
|
||||
Reference in New Issue
Block a user