From 0c2c33fd2dc08a3f19ba7eba9c195fbfb1c4a981 Mon Sep 17 00:00:00 2001 From: Shiv Date: Sat, 27 Jun 2026 12:10:28 +0530 Subject: [PATCH] feat(seo): improve metadata and favicon configuration --- app/layout.tsx | 96 ++++++++++++++++++++++++++++++++++++++++- public/site.webmanifest | 20 +++++++++ 2 files changed, 114 insertions(+), 2 deletions(-) create mode 100644 public/site.webmanifest diff --git a/app/layout.tsx b/app/layout.tsx index 7abb542..fb52ddd 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -5,8 +5,100 @@ import Footer from "@/components/footer"; import { ThemeProvider } from "@/components/theme-provider"; export const metadata: Metadata = { - title: "Hyper Learning", - description: "AI-Powered Learning Platform", + metadataBase: new URL("https://www.hyperlearningtech.in"), + + title: { + default: "Hyper Learning", + template: "%s | Hyper Learning", + }, + + description: + "Hyper Learning is an AI-powered engineering learning platform that helps students learn smarter through syllabus mapping, AI-generated explanations, previous year question analysis, and exam-focused preparation.", + + applicationName: "Hyper Learning", + + keywords: [ + "Hyper Learning", + "Engineering Notes", + "RGPV", + "AI Learning Platform", + "Previous Year Questions", + "Engineering Education", + "Semester Notes", + "Exam Preparation", + "AI Tutor", + "HyperLearningTech", + ], + + authors: [ + { + name: "Shiv Raj Singh", + url: "https://www.hyperlearningtech.in", + }, + ], + + creator: "Shiv Raj Singh", + + publisher: "Hyper Learning", + + robots: { + index: true, + follow: true, + googleBot: { + index: true, + follow: true, + "max-image-preview": "large", + "max-video-preview": -1, + "max-snippet": -1, + }, + }, + + icons: { + icon: [ + { url: "/favicon.ico" }, + { + url: "/favicon-32x32.png", + sizes: "32x32", + type: "image/png", + }, + { + url: "/favicon-16x16.png", + sizes: "16x16", + type: "image/png", + }, + ], + + apple: "/apple-touch-icon.png", + + shortcut: "/favicon.ico", + }, + + manifest: "/site.webmanifest", + + openGraph: { + title: "Hyper Learning", + description: + "AI-powered engineering learning platform for syllabus-driven learning and exam preparation.", + url: "https://www.hyperlearningtech.in", + siteName: "Hyper Learning", + locale: "en_US", + type: "website", + images: [ + { + url: "/HL-social-share-image.png", + width: 1200, + height: 630, + alt: "Hyper Learning", + }, + ], + }, + + twitter: { + card: "summary_large_image", + title: "Hyper Learning", + description: "AI-powered engineering learning platform for students.", + images: ["/HL-social-share-image.png"], + }, }; export default function RootLayout({ diff --git a/public/site.webmanifest b/public/site.webmanifest new file mode 100644 index 0000000..e9ebc7f --- /dev/null +++ b/public/site.webmanifest @@ -0,0 +1,20 @@ +{ + "name": "Hyper Learning", + "short_name": "Hyper Learning", + "description": "AI-powered engineering learning platform", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#4F46E5", + "background_color": "#ffffff", + "display": "standalone" +}