Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
images: {
domains: ["images.unsplash.com"],
},
};

export default nextConfig;
8 changes: 1 addition & 7 deletions src/app/(app)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { Metadata } from "next";
import Navbar from "@/components/navbar/Navbar";

export const metadata: Metadata = {
title: "Create Next App",
Expand All @@ -11,10 +10,5 @@ export default function RootLayout({
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<>
<Navbar />
{children}
</>
);
return <>{children}</>;
}
8 changes: 6 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -28,9 +29,12 @@ export default function RootLayout({
<body
className={`${geistSans.variable} ${geistMono.variable} bg-gray-50 antialiased`}
>
<Navbar />

{children}

<Footer />
</body>
</html>
);
}
}
4 changes: 2 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function Home() {
}, [searchQuery, apiUrl]);
return (
<main className="min-h-screen bg-gray-100 text-gray-900">
<header className="bg-white shadow">
{/*<header className="bg-white shadow">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="flex justify-between items-center py-4">
<div className="flex items-center gap-3">
Expand Down Expand Up @@ -150,7 +150,7 @@ export default function Home() {
</div>
)}
</div>
</header>
</header> */}

<section className="relative bg-[url('/flag.jpg')] bg-cover bg-center">
<div className="absolute inset-0 bg-black/45" />
Expand Down
Loading