created auth layout

This commit is contained in:
Kyla 2023-10-07 12:44:05 -07:00
parent 6e504f2e0e
commit fa4a4a565c
2 changed files with 13 additions and 4 deletions

9
app/(auth)/layout.tsx Normal file
View File

@ -0,0 +1,9 @@
const AuthLayout = ( { children }: {children: React.ReactNode}) => {
return (
<div className="bg-red-500 h-full">
{children}
</div>
);
}
export default AuthLayout;

View File

@ -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 (
<html lang="en">
<body className={inter.className}>{children}</body>
<body className={Font.className}>{children}</body>
</html>
)
}