From bdafa2e201365a8aac6259c9091b4a051c07a9b1 Mon Sep 17 00:00:00 2001 From: Arhan Ansari Date: Thu, 10 Oct 2024 19:39:33 +0530 Subject: [PATCH] Update layout.tsx --- app/layout.tsx | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index f50a95b..9e57f98 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,25 +1,26 @@ // app/layout.tsx import "./styles/globals.css"; import React from "react"; -import Header from "../components/Header"; +import Header from "@/components/Header"; import { ToastContainer } from "react-toastify"; import "react-toastify/dist/ReactToastify.css"; -import Layout from "@/components/Layout"; -import SEO from "@/components/SEO"; // Import the SEO component +import SEO from "@/components/SEO"; -const RootLayout: React.FC<{ children: React.ReactNode }> = ({ children }) => { +export const metadata = { + title: "InspireGem - AI-Powered Content Generation Platform", + description: "InspireGem is an AI-powered platform to create high-quality content using Google Gemini. Sign in to explore our features and get started.", +}; + +export default function RootLayout({ children }: { children: React.ReactNode }) { return ( - - + {/* SEO metadata */} + +
+ {/* Header */}
-
- {children} -
+
{children}
{/* Toast notifications container */} = ({ children }) => { draggable pauseOnHover /> - +
); -}; - -export default RootLayout; +}