diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 7c851a2f..d7d504ae 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -5,132 +5,85 @@ import FooterWrapper from "@/components/layout/FooterWrapper"; import { AuthProvider } from "@/context/AuthContext"; import { GamificationProvider } from "@/context/GamificationContext"; import { RealTimeProvider } from "@/context/RealTimeContext"; -import { AnimatedBackground } from "@/components/AnimatedBackground"; +import { AnimatedBackground } from '@/components/AnimatedBackground'; -import MaintenanceBanner from "@/components/layout/MaintenanceBanner"; -import BackgroundMesh from "@/components/layout/BackgroundMesh"; -import PageWrapper from "@/components/layout/PageWrapper"; +import MaintenanceBanner from '@/components/layout/MaintenanceBanner'; +import BackgroundMesh from '@/components/layout/BackgroundMesh'; +import PageWrapper from '@/components/layout/PageWrapper'; import { ThemeProvider } from "@/components/providers/theme-provider"; - import "./globals.css"; -const inter = Inter({ - subsets: ["latin"], - variable: "--font-inter", -}); - -const spaceGrotesk = Space_Grotesk({ - subsets: ["latin"], - variable: "--font-space", -}); - +const inter = Inter({ subsets: ["latin"], variable: '--font-inter' }); +const spaceGrotesk = Space_Grotesk({ subsets: ["latin"], variable: '--font-space' }); const barlowCondensed = Barlow_Condensed({ - weight: ["900"], - subsets: ["latin"], - variable: "--font-barlow", + weight: ['900'], + subsets: ['latin'], + variable: '--font-barlow' }); export const metadata: Metadata = { - metadataBase: new URL("https://devpath-website.web.app"), - + metadataBase: new URL('https://devpath-website.web.app'), title: { default: "DevPath Community", template: "%s | DevPath Community", }, - - description: - "Join 50,000+ developers accelerating their coding skills through structured paths, real projects, and an active community.", - - keywords: [ - "DevPath", - "Coding Community", - "Developer Community", - "Learn to Code", - "Programming", - "Software Engineering", - "Web Development", - "App Development", - ], - + description: "Join 50,000+ developers accelerating their coding skills through structured paths, real projects, and an active community.", + keywords: ["DevPath", "Coding Community", "Developer Community", "Learn to Code", "Programming", "Software Engineering", "Web Development", "App Development"], authors: [{ name: "DevPath Team" }], - creator: "DevPath Community", - publisher: "DevPath Community", - robots: { index: true, follow: true, - googleBot: { index: true, follow: true, - "max-video-preview": -1, - "max-image-preview": "large", - "max-snippet": -1, + 'max-video-preview': -1, + 'max-image-preview': 'large', + 'max-snippet': -1, }, }, - openGraph: { type: "website", locale: "en_US", url: "https://devpath-website.web.app", - title: "DevPath Community", - - description: - "Join 50,000+ developers accelerating their coding skills through structured paths, real projects, and an active community.", - + description: "Join 50,000+ developers accelerating their coding skills through structured paths, real projects, and an active community.", siteName: "DevPath Community", - images: [ { - url: "/logo-circle.png", + url: "/DevPath-logo.png", width: 800, height: 600, alt: "DevPath Community Logo", }, ], }, - twitter: { card: "summary_large_image", - title: "DevPath Community", - - description: - "Join 50,000+ developers accelerating their coding skills through structured paths, real projects, and an active community.", - - images: ["/logo-circle.png"], - - creator: "@DevPath_Community", + description: "Join 50,000+ developers accelerating their coding skills through structured paths, real projects, and an active community.", + images: ["/DevPath-logo.png"], + creator: "@DevPath_Community", // Assuming handle }, - icons: { - icon: "/logo-circle.png", - apple: "/logo-circle.png", + icon: '/DevPath-logo.png', + apple: '/DevPath-logo.png', }, }; const jsonLd = { "@context": "https://schema.org", - "@type": "Organization", - - name: "DevPath Community", - - url: "https://devpath-website.web.app", - - logo: "https://devpath-website.web.app/logo-circle.png", - - sameAs: [ + "name": "DevPath Community", + "url": "https://devpath-website.web.app", + "logo": "https://devpath-website.web.app/DevPath-logo.png", + "sameAs": [ "https://twitter.com/DevPath_Community", "https://www.linkedin.com/company/devpath-community", - "https://github.com/devpathindcommunity-india/DevPath-Web", + "https://github.com/devpathindcommunity-india/DevPath-Web" ], - - description: - "A community of 50,000+ developers accelerating their coding skills through structured paths and real projects.", + "description": "A community of 50,000+ developers accelerating their coding skills through structured paths and real projects." }; export default function RootLayout({ @@ -140,9 +93,7 @@ export default function RootLayout({ }>) { return ( - +