181 lines
6.6 KiB
TypeScript
181 lines
6.6 KiB
TypeScript
import React, { useEffect, useState } from 'react';
|
|
import type { ReactElement } from 'react';
|
|
import Head from 'next/head';
|
|
import Link from 'next/link';
|
|
import { useAppSelector } from '../../stores/hooks';
|
|
import LayoutGuest from '../../layouts/Guest';
|
|
import WebSiteHeader from '../../components/WebPageComponents/Header';
|
|
import WebSiteFooter from '../../components/WebPageComponents/Footer';
|
|
import {
|
|
HeroDesigns,
|
|
FeaturesDesigns,
|
|
AboutUsDesigns,
|
|
TestimonialsDesigns,
|
|
ContactFormDesigns,
|
|
} from '../../components/WebPageComponents/designs';
|
|
|
|
import HeroSection from '../../components/WebPageComponents/HeroComponent';
|
|
|
|
import FeaturesSection from '../../components/WebPageComponents/FeaturesComponent';
|
|
|
|
import AboutUsSection from '../../components/WebPageComponents/AboutUsComponent';
|
|
|
|
import TestimonialsSection from '../../components/WebPageComponents/TestimonialsComponent';
|
|
|
|
import ContactFormSection from '../../components/WebPageComponents/ContactFormComponent';
|
|
|
|
export default function WebSite() {
|
|
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
|
|
const bgColor = useAppSelector((state) => state.style.bgLayoutColor);
|
|
const projectName = 'saveschematest';
|
|
|
|
useEffect(() => {
|
|
const darkElement = document.querySelector('body .dark');
|
|
if (darkElement) {
|
|
darkElement.classList.remove('dark');
|
|
}
|
|
}, []);
|
|
const pages = [
|
|
{
|
|
href: '/home',
|
|
label: 'home',
|
|
},
|
|
|
|
{
|
|
href: '/about',
|
|
label: 'about',
|
|
},
|
|
|
|
{
|
|
href: '/services',
|
|
label: 'services',
|
|
},
|
|
|
|
{
|
|
href: '/contact',
|
|
label: 'contact',
|
|
},
|
|
|
|
{
|
|
href: '/faq',
|
|
label: 'FAQ',
|
|
},
|
|
];
|
|
|
|
const features_points = [
|
|
{
|
|
name: 'Course Creation',
|
|
description:
|
|
'Easily create and customize courses with syllabi, resources, and assessments. Empower educators to deliver engaging content effortlessly.',
|
|
icon: 'mdiBookOpenPageVariant',
|
|
},
|
|
{
|
|
name: 'Student Management',
|
|
description:
|
|
'Maintain a comprehensive database of students, track their progress, and manage grades efficiently. Enhance student engagement and success.',
|
|
icon: 'mdiAccountGroup',
|
|
},
|
|
{
|
|
name: 'Instructor Profiles',
|
|
description:
|
|
'Showcase instructor qualifications, courses, and availability. Facilitate better communication and collaboration between educators and students.',
|
|
icon: 'mdiAccountTie',
|
|
},
|
|
];
|
|
|
|
const testimonials = [
|
|
{
|
|
text: '${projectName} has revolutionized our online courses. The intuitive interface and robust features make teaching a breeze!',
|
|
company: 'EduTech Innovations',
|
|
user_name: 'Alice Johnson, Lead Instructor',
|
|
},
|
|
{
|
|
text: 'Our students love the interactive elements and seamless navigation. ${projectName} truly enhances the learning experience.',
|
|
company: 'FutureLearn Academy',
|
|
user_name: 'Michael Smith, Program Director',
|
|
},
|
|
{
|
|
text: 'Managing student data and course materials has never been easier. ${projectName} is a game-changer for our institution.',
|
|
company: 'Global Education Hub',
|
|
user_name: 'Sophia Lee, Academic Coordinator',
|
|
},
|
|
{
|
|
text: 'The analytics feature provides invaluable insights into student engagement and performance. Highly recommend ${projectName}!',
|
|
company: 'Bright Minds Institute',
|
|
user_name: 'James Brown, Data Analyst',
|
|
},
|
|
{
|
|
text: "As an instructor, I appreciate the flexibility and support ${projectName} offers. It's a must-have for any educator.",
|
|
company: 'Innovative Learning Solutions',
|
|
user_name: 'Emily Davis, Senior Lecturer',
|
|
},
|
|
{
|
|
text: "Our enrollment process is now streamlined and efficient, thanks to ${projectName}. It's a fantastic tool for any educational platform.",
|
|
company: 'Smart Education Systems',
|
|
user_name: 'David Wilson, Enrollment Manager',
|
|
},
|
|
];
|
|
|
|
return (
|
|
<div className='flex flex-col min-h-screen'>
|
|
<Head>
|
|
<title>{`Comprehensive Online Education Hub`}</title>
|
|
<meta
|
|
name='description'
|
|
content={`Explore our all-in-one platform for online education, offering course creation, student management, instructor profiles, and more. Enhance your learning experience today!`}
|
|
/>
|
|
</Head>
|
|
<WebSiteHeader projectName={'saveschematest'} pages={pages} />
|
|
<main className={`flex-grow bg-white rounded-none `}>
|
|
<HeroSection
|
|
projectName={'saveschematest'}
|
|
image={['Diverse students engaging online']}
|
|
mainText={`Transform Learning with ${projectName} Today`}
|
|
subTitle={`${projectName} is your all-in-one platform for creating courses, managing students, and enhancing educational experiences. Join us to revolutionize online learning.`}
|
|
design={HeroDesigns.IMAGE_BG || ''}
|
|
buttonText={`Get Started Now`}
|
|
/>
|
|
|
|
<FeaturesSection
|
|
projectName={'saveschematest'}
|
|
image={['Interactive dashboard with analytics']}
|
|
withBg={1}
|
|
features={features_points}
|
|
mainText={`Discover Key Features of ${projectName}`}
|
|
subTitle={`Explore how ${projectName} enhances your online education experience with powerful tools and seamless management.`}
|
|
design={FeaturesDesigns.CARDS_GRID_WITH_ICONS || ''}
|
|
/>
|
|
|
|
<AboutUsSection
|
|
projectName={'saveschematest'}
|
|
image={['Team collaborating on project']}
|
|
mainText={`Empowering Education with ${projectName}`}
|
|
subTitle={`At ${projectName}, we are dedicated to transforming the online learning landscape. Our platform offers comprehensive tools for educators and students to thrive in a digital environment.`}
|
|
design={AboutUsDesigns.IMAGE_RIGHT || ''}
|
|
buttonText={`Learn More About Us`}
|
|
/>
|
|
|
|
<TestimonialsSection
|
|
projectName={'saveschematest'}
|
|
design={TestimonialsDesigns.MULTI_CARD_DISPLAY || ''}
|
|
testimonials={testimonials}
|
|
mainText={`What Users Say About ${projectName} `}
|
|
/>
|
|
|
|
<ContactFormSection
|
|
projectName={'saveschematest'}
|
|
design={ContactFormDesigns.WITH_IMAGE || ''}
|
|
image={['Person typing on laptop']}
|
|
mainText={`Get in Touch with ${projectName} `}
|
|
subTitle={`Reach out to us anytime. Our team is here to assist you with any inquiries or support you need. Expect a response within 24 hours.`}
|
|
/>
|
|
</main>
|
|
<WebSiteFooter projectName={'saveschematest'} pages={pages} />
|
|
</div>
|
|
);
|
|
}
|
|
|
|
WebSite.getLayout = function getLayout(page: ReactElement) {
|
|
return <LayoutGuest>{page}</LayoutGuest>;
|
|
};
|