diff --git a/next.config.ts b/next.config.ts index e9ffa30..6f45119 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,7 +1,9 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { - /* config options here */ + images: { + domains: ["images.unsplash.com"], + }, }; export default nextConfig; diff --git a/src/app/(app)/layout.tsx b/src/app/(app)/layout.tsx index 9e009a2..7a4f370 100644 --- a/src/app/(app)/layout.tsx +++ b/src/app/(app)/layout.tsx @@ -1,5 +1,4 @@ import type { Metadata } from "next"; -import Navbar from "@/components/navbar/Navbar"; export const metadata: Metadata = { title: "Create Next App", @@ -11,10 +10,5 @@ export default function RootLayout({ }: Readonly<{ children: React.ReactNode; }>) { - return ( - <> - - {children} - - ); + return <>{children}; } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 1fb6e70..f268c0d 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,7 +1,8 @@ import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; +import Navbar from "@/components/navbar/Navbar"; import Footer from "@/components/footer/Footer"; -import "./globals.css" +import "./globals.css"; const geistSans = Geist({ variable: "--font-geist-sans", @@ -28,9 +29,12 @@ export default function RootLayout({ + + {children} +