added mail service

This commit is contained in:
2024-04-10 21:24:25 +03:00
parent c76d4b9717
commit 78107d4ec7
80 changed files with 3478 additions and 329 deletions

View File

@@ -0,0 +1,9 @@
import ErrorCard from '@/components/auth/ErrorCard'
const AuthErrorPage = () => {
return (
<ErrorCard/>
)
}
export default AuthErrorPage

View 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

View File

@@ -0,0 +1,9 @@
import { LoginForm } from '@/components/auth/LoginForm'
const LoginPage = () => {
return (
<LoginForm/>
)
}
export default LoginPage

View File

@@ -0,0 +1,11 @@
import { RegisterForm } from '@/components/auth/RegisterForm'
const RegisterPage = () => {
return (
<div>
<RegisterForm/>
</div>
)
}
export default RegisterPage