Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ed501b18e2 | |||
| 3bfa89e230 | |||
| a6e2396703 | |||
| e58848e456 | |||
| c1ac5e3f71 | |||
| c583ae1afa | |||
| 08e17762c7 | |||
| b706013bf9 | |||
| 072a216a5b |
@@ -1,71 +1,21 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Nunito_Sans } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant",
|
||||
subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const nunitoSans = Nunito_Sans({
|
||||
variable: "--font-nunito-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "EduLearn Academy - Learn New Skills Online",
|
||||
description: "Access 500+ expert-led courses in web development, data science, digital marketing, and more. Start learning today with flexible schedules and lifetime access.",
|
||||
keywords: "online learning, courses, education platform, web development, data science, professional development",
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
openGraph: {
|
||||
title: "EduLearn Academy - Transform Your Career",
|
||||
description: "Join 125K+ students learning new skills online. Expert instructors, flexible schedules, certified courses.",
|
||||
type: "website",
|
||||
siteName: "EduLearn Academy",
|
||||
images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/young-girl-listening-educational-documentary-laptop-takes-notes_482257-126301.jpg",
|
||||
alt: "EduLearn Academy - Online Learning Platform",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "Learn New Skills Online - EduLearn Academy",
|
||||
description: "Expert-led courses in tech, business, and creative skills. Start your learning journey today.",
|
||||
images: [
|
||||
"http://img.b2bpic.net/free-photo/young-girl-listening-educational-documentary-laptop-takes-notes_482257-126301.jpg",
|
||||
],
|
||||
},
|
||||
title: "EduLearn - Expert-Led Online Courses", description: "Join thousands of students transforming their careers through comprehensive, industry-aligned educational programs."
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${nunitoSans.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1433,7 +1383,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
@@ -83,7 +83,8 @@ export default function HomePage() {
|
||||
brandName="EduLearn"
|
||||
navItems={navItems}
|
||||
button={{
|
||||
text: "Get Started", href: "/courses"}}
|
||||
text: "Get Started", href: "/courses"
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -98,10 +99,12 @@ export default function HomePage() {
|
||||
mediaItems={[
|
||||
{
|
||||
imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/young-girl-listening-educational-documentary-laptop-takes-notes_482257-126301.jpg", imageAlt: "Students engaged in online learning"},
|
||||
"http://img.b2bpic.net/free-photo/young-girl-listening-educational-documentary-laptop-takes-notes_482257-126301.jpg", imageAlt: "Students engaged in online learning"
|
||||
},
|
||||
{
|
||||
imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/classroom-class-study-academic-schedule_53876-133781.jpg", imageAlt: "Interactive course interface"},
|
||||
"http://img.b2bpic.net/free-photo/classroom-class-study-academic-schedule_53876-133781.jpg", imageAlt: "Interactive course interface"
|
||||
},
|
||||
]}
|
||||
mediaAnimation="slide-up"
|
||||
rating={5}
|
||||
@@ -125,25 +128,32 @@ export default function HomePage() {
|
||||
{
|
||||
title: "Expert Instructors", description:
|
||||
"Learn from industry professionals with 10+ years of experience", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/close-up-colleagues-learning-work_23-2149300706.jpg", imageAlt: "Professional educators"},
|
||||
"http://img.b2bpic.net/free-photo/close-up-colleagues-learning-work_23-2149300706.jpg", imageAlt: "Professional educators"
|
||||
},
|
||||
{
|
||||
title: "Flexible Learning", description:
|
||||
"Study at your own pace with lifetime access to course materials", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/young-woman-studying-using-technology_1163-1891.jpg", imageAlt: "Flexible schedule options"},
|
||||
"http://img.b2bpic.net/free-photo/young-woman-studying-using-technology_1163-1891.jpg", imageAlt: "Flexible schedule options"
|
||||
},
|
||||
{
|
||||
title: "Certifications", description:
|
||||
"Earn recognized certificates that boost your professional profile", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/distance-learning-online-education-webpage_53876-125084.jpg", imageAlt: "Achievement certificates"},
|
||||
"http://img.b2bpic.net/free-photo/distance-learning-online-education-webpage_53876-125084.jpg", imageAlt: "Achievement certificates"
|
||||
},
|
||||
{
|
||||
title: "24/7 Support", description:
|
||||
"Get help when you need it with our dedicated support team", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/woman-living-with-disability-answering-client-call-customer-service-wheelchair-user-with-physical-health-condition-working-helpline-support-helpdesk-operator-with-chronic-pain_482257-47208.jpg", imageAlt: "Customer support team"},
|
||||
"http://img.b2bpic.net/free-photo/woman-living-with-disability-answering-client-call-customer-service-wheelchair-user-with-physical-health-condition-working-helpline-support-helpdesk-operator-with-chronic-pain_482257-47208.jpg", imageAlt: "Customer support team"
|
||||
},
|
||||
]}
|
||||
gridVariant="two-items-per-row"
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
buttons={[{ text: "Explore Courses", href: "/courses" }]}
|
||||
buttons={[
|
||||
{ text: "Explore Courses", href: "/courses" },
|
||||
{ text: "View Pricing", href: "#pricing" },
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
@@ -195,19 +205,23 @@ export default function HomePage() {
|
||||
{
|
||||
id: "1", brand: "EduLearn", name: "Web Development Bootcamp", price: "$199", rating: 5,
|
||||
reviewCount: "3.2k", imageSrc:
|
||||
"http://img.b2bpic.net/free-vector/programming-code-set-two_78370-10346.jpg", imageAlt: "Web Development Course"},
|
||||
"http://img.b2bpic.net/free-vector/programming-code-set-two_78370-10346.jpg", imageAlt: "Web Development Course"
|
||||
},
|
||||
{
|
||||
id: "2", brand: "EduLearn", name: "Data Science Mastery", price: "$249", rating: 5,
|
||||
reviewCount: "2.8k", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/woman-watching-business-conference-computer-screen-looking-statistics_482257-125563.jpg", imageAlt: "Data Science Course"},
|
||||
"http://img.b2bpic.net/free-photo/woman-watching-business-conference-computer-screen-looking-statistics_482257-125563.jpg", imageAlt: "Data Science Course"
|
||||
},
|
||||
{
|
||||
id: "3", brand: "EduLearn", name: "Digital Marketing Pro", price: "$179", rating: 5,
|
||||
reviewCount: "2.1k", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/businessman-holding-tablet-with-digital-marketing-concept_9975-22100.jpg", imageAlt: "Digital Marketing Course"},
|
||||
"http://img.b2bpic.net/free-photo/businessman-holding-tablet-with-digital-marketing-concept_9975-22100.jpg", imageAlt: "Digital Marketing Course"
|
||||
},
|
||||
{
|
||||
id: "4", brand: "EduLearn", name: "Mobile App Development", price: "$229", rating: 5,
|
||||
reviewCount: "1.9k", imageSrc:
|
||||
"http://img.b2bpic.net/free-photo/bucharest-romania-july-30th-2024-boss-uses-ai-virtual-assistant_482257-123249.jpg", imageAlt: "Mobile Development Course"},
|
||||
"http://img.b2bpic.net/free-photo/bucharest-romania-july-30th-2024-boss-uses-ai-virtual-assistant_482257-123249.jpg", imageAlt: "Mobile Development Course"
|
||||
},
|
||||
]}
|
||||
gridVariant="two-items-per-row"
|
||||
animationType="slide-up"
|
||||
@@ -225,17 +239,23 @@ export default function HomePage() {
|
||||
author="Sarah Johnson, Software Developer"
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/young-students-classroom_329181-13009.jpg", alt: "Sarah Johnson"},
|
||||
src: "http://img.b2bpic.net/free-photo/young-students-classroom_329181-13009.jpg", alt: "Sarah Johnson"
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/pensive-person-alone-corridor-serious_1262-1042.jpg", alt: "Michael Chen"},
|
||||
src: "http://img.b2bpic.net/free-photo/pensive-person-alone-corridor-serious_1262-1042.jpg", alt: "Michael Chen"
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/young-students-classroom_329181-13009.jpg", alt: "Emily Rodriguez"},
|
||||
src: "http://img.b2bpic.net/free-photo/young-students-classroom_329181-13009.jpg", alt: "Emily Rodriguez"
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/pensive-person-alone-corridor-serious_1262-1042.jpg", alt: "David Kim"},
|
||||
src: "http://img.b2bpic.net/free-photo/pensive-person-alone-corridor-serious_1262-1042.jpg", alt: "David Kim"
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/young-students-classroom_329181-13009.jpg", alt: "Jessica Lee"},
|
||||
src: "http://img.b2bpic.net/free-photo/young-students-classroom_329181-13009.jpg", alt: "Jessica Lee"
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/pensive-person-alone-corridor-serious_1262-1042.jpg", alt: "Alex Morgan"},
|
||||
src: "http://img.b2bpic.net/free-photo/pensive-person-alone-corridor-serious_1262-1042.jpg", alt: "Alex Morgan"
|
||||
},
|
||||
]}
|
||||
ratingAnimation="slide-up"
|
||||
avatarsAnimation="slide-up"
|
||||
|
||||
Reference in New Issue
Block a user