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
96 changes: 94 additions & 2 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down
20 changes: 20 additions & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -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"
}
Comment on lines +1 to +20

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Define a stable launch URL for the installed app.

With "display": "standalone" but no start_url/scope, the installed shortcut can reopen on whatever route the user installed from instead of a consistent app entry point. Add both so the manifest behaves predictably.

Suggested diff
 {
   "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`",
+  "start_url": "/",
+  "scope": "/",
   "display": "standalone"
 }
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
{
"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"
}
{
"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`",
"start_url": "/",
"scope": "/",
"display": "standalone"
}
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@public/site.webmanifest` around lines 1 - 20, The web manifest is missing a
stable launch target for the installed app; update the site.webmanifest object
used by the PWA metadata to include both a start_url and scope so standalone
launches always open at the same entry point. Keep the existing manifest
structure and add these fields alongside display in the manifest JSON, using the
app’s root entry route as the canonical value.

Loading