Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3bfa89e230 | |||
| a6e2396703 | |||
| e58848e456 | |||
| c1ac5e3f71 | |||
| c583ae1afa | |||
| 08e17762c7 | |||
| b706013bf9 | |||
| 072a216a5b |
@@ -1,71 +1,21 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import { Nunito_Sans } from "next/font/google";
|
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const halant = Halant({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
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"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "EduLearn Academy - Learn New Skills Online",
|
title: "EduLearn - Expert-Led Online Courses", description: "Join thousands of students transforming their careers through comprehensive, industry-aligned educational programs."
|
||||||
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",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en">
|
||||||
<ServiceWrapper>
|
<body className={inter.className}>{children}
|
||||||
<body
|
|
||||||
className={`${halant.variable} ${inter.variable} ${nunitoSans.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1433,7 +1383,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -83,7 +83,8 @@ export default function HomePage() {
|
|||||||
brandName="EduLearn"
|
brandName="EduLearn"
|
||||||
navItems={navItems}
|
navItems={navItems}
|
||||||
button={{
|
button={{
|
||||||
text: "Get Started", href: "/courses"}}
|
text: "Get Started", href: "/courses"
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -98,10 +99,12 @@ export default function HomePage() {
|
|||||||
mediaItems={[
|
mediaItems={[
|
||||||
{
|
{
|
||||||
imageSrc:
|
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:
|
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"
|
mediaAnimation="slide-up"
|
||||||
rating={5}
|
rating={5}
|
||||||
@@ -125,25 +128,32 @@ export default function HomePage() {
|
|||||||
{
|
{
|
||||||
title: "Expert Instructors", description:
|
title: "Expert Instructors", description:
|
||||||
"Learn from industry professionals with 10+ years of experience", imageSrc:
|
"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:
|
title: "Flexible Learning", description:
|
||||||
"Study at your own pace with lifetime access to course materials", imageSrc:
|
"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:
|
title: "Certifications", description:
|
||||||
"Earn recognized certificates that boost your professional profile", imageSrc:
|
"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:
|
title: "24/7 Support", description:
|
||||||
"Get help when you need it with our dedicated support team", imageSrc:
|
"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"
|
gridVariant="two-items-per-row"
|
||||||
animationType="slide-up"
|
animationType="slide-up"
|
||||||
textboxLayout="default"
|
textboxLayout="default"
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
buttons={[{ text: "Explore Courses", href: "/courses" }]}
|
buttons={[
|
||||||
|
{ text: "Explore Courses", href: "/courses" },
|
||||||
|
{ text: "View Pricing", href: "#pricing" },
|
||||||
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -195,19 +205,23 @@ export default function HomePage() {
|
|||||||
{
|
{
|
||||||
id: "1", brand: "EduLearn", name: "Web Development Bootcamp", price: "$199", rating: 5,
|
id: "1", brand: "EduLearn", name: "Web Development Bootcamp", price: "$199", rating: 5,
|
||||||
reviewCount: "3.2k", imageSrc:
|
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,
|
id: "2", brand: "EduLearn", name: "Data Science Mastery", price: "$249", rating: 5,
|
||||||
reviewCount: "2.8k", imageSrc:
|
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,
|
id: "3", brand: "EduLearn", name: "Digital Marketing Pro", price: "$179", rating: 5,
|
||||||
reviewCount: "2.1k", imageSrc:
|
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,
|
id: "4", brand: "EduLearn", name: "Mobile App Development", price: "$229", rating: 5,
|
||||||
reviewCount: "1.9k", imageSrc:
|
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"
|
gridVariant="two-items-per-row"
|
||||||
animationType="slide-up"
|
animationType="slide-up"
|
||||||
@@ -225,17 +239,23 @@ export default function HomePage() {
|
|||||||
author="Sarah Johnson, Software Developer"
|
author="Sarah Johnson, Software Developer"
|
||||||
avatars={[
|
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"
|
ratingAnimation="slide-up"
|
||||||
avatarsAnimation="slide-up"
|
avatarsAnimation="slide-up"
|
||||||
|
|||||||
Reference in New Issue
Block a user