Update src/app/categories/page.tsx
This commit is contained in:
@@ -42,9 +42,7 @@ export default function CategoriesPage() {
|
||||
navItems={navItems}
|
||||
brandName="EduShare"
|
||||
button={{
|
||||
text: "Upload Material",
|
||||
href: "/upload",
|
||||
}}
|
||||
text: "Upload Material", href: "/upload"}}
|
||||
animateOnLoad={true}
|
||||
/>
|
||||
</div>
|
||||
@@ -54,32 +52,16 @@ export default function CategoriesPage() {
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
title: "Slides & Presentations",
|
||||
description: "Professional presentation slides and lecture materials from expert educators. Covers diverse subjects and education levels.",
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/back-school-objects_23-2147501391.jpg?_wi=4",
|
||||
imageAlt: "presentation slides icon educational category",
|
||||
},
|
||||
title: "Slides & Presentations", description: "Professional presentation slides and lecture materials from expert educators. Covers diverse subjects and education levels.", imageSrc: "http://img.b2bpic.net/free-vector/back-school-objects_23-2147501391.jpg", imageAlt: "presentation slides icon educational category"},
|
||||
{
|
||||
id: 2,
|
||||
title: "Course Works",
|
||||
description: "Comprehensive coursework assignments, projects, and study guides. Perfect reference materials for academic success.",
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/set-back-school-cards-flat-style_23-2147847363.jpg?_wi=3",
|
||||
imageAlt: "coursework materials icon academic symbol",
|
||||
},
|
||||
title: "Course Works", description: "Comprehensive coursework assignments, projects, and study guides. Perfect reference materials for academic success.", imageSrc: "http://img.b2bpic.net/free-vector/set-back-school-cards-flat-style_23-2147847363.jpg", imageAlt: "coursework materials icon academic symbol"},
|
||||
{
|
||||
id: 3,
|
||||
title: "Presentations",
|
||||
description: "Business and academic presentations with professional designs. Ready-to-use templates and completed materials.",
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/online-education-infographics_1284-6999.jpg?_wi=4",
|
||||
imageAlt: "presentation icon educational materials category",
|
||||
},
|
||||
title: "Presentations", description: "Business and academic presentations with professional designs. Ready-to-use templates and completed materials.", imageSrc: "http://img.b2bpic.net/free-vector/online-education-infographics_1284-6999.jpg", imageAlt: "presentation icon educational materials category"},
|
||||
{
|
||||
id: 4,
|
||||
title: "Diploma Works",
|
||||
description: "Thesis and diploma project examples, research papers, and academic writing samples for higher education.",
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/modern-education-concept-with-flat-design_23-2147915761.jpg?_wi=2",
|
||||
imageAlt: "diploma thesis icon academic graduation",
|
||||
},
|
||||
title: "Diploma Works", description: "Thesis and diploma project examples, research papers, and academic writing samples for higher education.", imageSrc: "http://img.b2bpic.net/free-vector/modern-education-concept-with-flat-design_23-2147915761.jpg", imageAlt: "diploma thesis icon academic graduation"},
|
||||
]}
|
||||
animationType="blur-reveal"
|
||||
title="Popular Categories"
|
||||
@@ -95,32 +77,16 @@ export default function CategoriesPage() {
|
||||
<MetricCardOne
|
||||
metrics={[
|
||||
{
|
||||
id: "1",
|
||||
value: "50000",
|
||||
title: "Materials",
|
||||
description: "Comprehensive collection of quality educational resources",
|
||||
icon: BookOpen,
|
||||
id: "1", value: "50000", title: "Materials", description: "Comprehensive collection of quality educational resources", icon: BookOpen,
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
value: "25000",
|
||||
title: "Active Users",
|
||||
description: "Students and teachers using our platform daily",
|
||||
icon: Users,
|
||||
id: "2", value: "25000", title: "Active Users", description: "Students and teachers using our platform daily", icon: Users,
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
value: "4.8",
|
||||
title: "Rating",
|
||||
description: "Average platform satisfaction from user reviews",
|
||||
icon: Star,
|
||||
id: "3", value: "4.8", title: "Rating", description: "Average platform satisfaction from user reviews", icon: Star,
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
value: "99",
|
||||
title: "% Secure",
|
||||
description: "Encrypted payments and protected user data",
|
||||
icon: Shield,
|
||||
id: "4", value: "99", title: "% Secure", description: "Encrypted payments and protected user data", icon: Shield,
|
||||
},
|
||||
]}
|
||||
gridVariant="uniform-all-items-equal"
|
||||
@@ -140,17 +106,12 @@ export default function CategoriesPage() {
|
||||
animationType="entrance-slide"
|
||||
buttons={[
|
||||
{
|
||||
text: "Start Exploring",
|
||||
href: "/materials",
|
||||
},
|
||||
text: "Start Exploring", href: "/materials"},
|
||||
{
|
||||
text: "Become Creator",
|
||||
href: "/upload",
|
||||
},
|
||||
text: "Become Creator", href: "/upload"},
|
||||
]}
|
||||
background={{
|
||||
variant: "circleGradient",
|
||||
}}
|
||||
variant: "plain"}}
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
@@ -159,87 +120,51 @@ export default function CategoriesPage() {
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{
|
||||
title: "Platform",
|
||||
items: [
|
||||
title: "Platform", items: [
|
||||
{
|
||||
label: "Home",
|
||||
href: "/",
|
||||
},
|
||||
label: "Home", href: "/"},
|
||||
{
|
||||
label: "Materials Library",
|
||||
href: "/materials",
|
||||
},
|
||||
label: "Materials Library", href: "/materials"},
|
||||
{
|
||||
label: "Categories",
|
||||
href: "/categories",
|
||||
},
|
||||
label: "Categories", href: "/categories"},
|
||||
{
|
||||
label: "Upload Material",
|
||||
href: "/upload",
|
||||
},
|
||||
label: "Upload Material", href: "/upload"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Account",
|
||||
items: [
|
||||
title: "Account", items: [
|
||||
{
|
||||
label: "My Account",
|
||||
href: "/account",
|
||||
},
|
||||
label: "My Account", href: "/account"},
|
||||
{
|
||||
label: "My Downloads",
|
||||
href: "/account/downloads",
|
||||
},
|
||||
label: "My Downloads", href: "/account/downloads"},
|
||||
{
|
||||
label: "Purchases",
|
||||
href: "/account/purchases",
|
||||
},
|
||||
label: "Purchases", href: "/account/purchases"},
|
||||
{
|
||||
label: "My Materials",
|
||||
href: "/account/materials",
|
||||
},
|
||||
label: "My Materials", href: "/account/materials"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
title: "Company", items: [
|
||||
{
|
||||
label: "About Us",
|
||||
href: "/about",
|
||||
},
|
||||
label: "About Us", href: "/about"},
|
||||
{
|
||||
label: "Contact",
|
||||
href: "/contact",
|
||||
},
|
||||
label: "Contact", href: "/contact"},
|
||||
{
|
||||
label: "Blog",
|
||||
href: "/blog",
|
||||
},
|
||||
label: "Blog", href: "/blog"},
|
||||
{
|
||||
label: "FAQ",
|
||||
href: "/faq",
|
||||
},
|
||||
label: "FAQ", href: "/faq"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Privacy Policy", href: "#"},
|
||||
{
|
||||
label: "Terms of Service",
|
||||
href: "#",
|
||||
},
|
||||
label: "Terms of Service", href: "#"},
|
||||
{
|
||||
label: "Cookie Policy",
|
||||
href: "#",
|
||||
},
|
||||
label: "Cookie Policy", href: "#"},
|
||||
{
|
||||
label: "Support",
|
||||
href: "/support",
|
||||
},
|
||||
label: "Support", href: "/support"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user