init
This commit is contained in:
12
src/app/auth/layout.tsx
Normal file
12
src/app/auth/layout.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
robots: {
|
||||
index: false,
|
||||
follow: false
|
||||
}
|
||||
};
|
||||
|
||||
export default function AuthLayout({ children }: { children: React.ReactNode }) {
|
||||
return children;
|
||||
}
|
||||
13
src/app/auth/page.tsx
Normal file
13
src/app/auth/page.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Metadata } from 'next';
|
||||
import { redirect } from 'next/navigation';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
robots: {
|
||||
index: false,
|
||||
follow: false
|
||||
}
|
||||
};
|
||||
|
||||
export default function AuthPage() {
|
||||
redirect('/auth/sign-in');
|
||||
}
|
||||
11
src/app/auth/sign-in/[[...sign-in]]/page.tsx
Normal file
11
src/app/auth/sign-in/[[...sign-in]]/page.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Metadata } from 'next';
|
||||
import SignInViewPage from '@/features/auth/components/sign-in-view';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Authentication | Sign In',
|
||||
description: 'Sign In page for authentication.'
|
||||
};
|
||||
|
||||
export default async function Page() {
|
||||
return <SignInViewPage />;
|
||||
}
|
||||
5
src/app/auth/sign-up/[[...sign-up]]/page.tsx
Normal file
5
src/app/auth/sign-up/[[...sign-up]]/page.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { redirect } from 'next/navigation';
|
||||
|
||||
export default function Page() {
|
||||
redirect('/auth/sign-in');
|
||||
}
|
||||
Reference in New Issue
Block a user