Spaces:
Sleeping
Sleeping
File size: 1,882 Bytes
7d51e81 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | // components/HelpContent.jsx
"use client";
import ImageSlider from './ImageSlider';
import ExpandableSection from './ExpandableSection';
import StepsSection from './StepsSection';
import ProfileSection from './ProfileSection';
import ListSection from './ListSection';
import HelpQuickLinks from './HelpQuickLinks';
import {
STEPS_DATA,
PROFILE_FEATURES,
LIST_SECTIONS
} from './helpData';
import './styles/HelpContent.css';
const HelpContent = () => {
return (
<div className="help-content">
<h1>Help Center</h1>
<p className="help-intro">
Welcome to Learnix! This guide will help you understand how to use all features
of our platform effectively.
</p>
<div className="help-section">
<h2>Quick Links</h2>
<p>
Short explanations with <strong>View more</strong> links.
</p>
<HelpQuickLinks />
</div>
<ImageSlider />
<ExpandableSection title="Getting Started">
<StepsSection steps={STEPS_DATA.gettingStarted} title="Getting Started" />
</ExpandableSection>
<ExpandableSection title="Uploading Study Materials">
<StepsSection steps={STEPS_DATA.uploading} title="Uploading Study Materials" />
</ExpandableSection>
<ExpandableSection title="Managing Your Profile">
<ProfileSection features={PROFILE_FEATURES} />
</ExpandableSection>
{LIST_SECTIONS.map((section, index) => (
<ExpandableSection key={index} title={section.title}>
<ListSection
subtitle={section.subtitle}
intro={section.intro}
items={section.items}
imageAlt={section.imageAlt}
imageSrc={section.imageSrc}
/>
</ExpandableSection>
))}
</div>
);
};
export default HelpContent; |