diff --git a/app/(auth)/layout.tsx b/app/(auth)/layout.tsx new file mode 100644 index 0000000..aa8e27c --- /dev/null +++ b/app/(auth)/layout.tsx @@ -0,0 +1,9 @@ +const AuthLayout = ( { children }: {children: React.ReactNode}) => { + return ( +
+ {children} +
+ ); +} + +export default AuthLayout; \ No newline at end of file diff --git a/app/layout.tsx b/app/layout.tsx index ae84562..54a1454 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,11 +1,11 @@ import './globals.css' import type { Metadata } from 'next' -import { Inter } from 'next/font/google' +import { Open_Sans } from 'next/font/google' -const inter = Inter({ subsets: ['latin'] }) +const Font = Open_Sans({ subsets: ['latin'] }) export const metadata: Metadata = { - title: 'Create Next App', + title: 'Discord-Clone', description: 'Generated by create next app', } @@ -16,7 +16,7 @@ export default function RootLayout({ }) { return ( - {children} + {children} ) }