Merge version_1 into main #2
@@ -2,7 +2,7 @@
|
||||
|
||||
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import { Sparkles, Award, TrendingUp, IndianRupee, CheckCircle, Brain, Lightbulb, FormInput, Search, HelpCircle, Bell, Building2, Heart, Upload, Plus, Settings, Lock } from "lucide-react";
|
||||
import { Sparkles, Award, TrendingUp, IndianRupee, CheckCircle, Brain, Lightbulb, FormInput, Search, HelpCircle, Bell, Building2, Heart, Upload, Plus, Settings, Lock, Users } from "lucide-react";
|
||||
import HeroSplitDualMedia from "@/components/sections/hero/HeroSplitDualMedia";
|
||||
import FeatureHoverPattern from "@/components/sections/feature/featureHoverPattern/FeatureHoverPattern";
|
||||
import MetricCardThree from "@/components/sections/metrics/MetricCardThree";
|
||||
@@ -22,24 +22,21 @@ export default function AdminDashboardPage() {
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: "Product",
|
||||
items: [
|
||||
title: "Product", items: [
|
||||
{ label: "Scheme Finder", href: "#finder" },
|
||||
{ label: "Categories", href: "#categories" },
|
||||
{ label: "Admin", href: "/admin" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Resources",
|
||||
items: [
|
||||
title: "Resources", items: [
|
||||
{ label: "Blog", href: "#" },
|
||||
{ label: "Documentation", href: "#" },
|
||||
{ label: "API", href: "#" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "#about" },
|
||||
{ label: "Contact", href: "#contact" },
|
||||
{ label: "Careers", href: "#" }
|
||||
@@ -77,23 +74,19 @@ export default function AdminDashboardPage() {
|
||||
background={{ variant: "downward-rays-animated-grid" }}
|
||||
buttons={[
|
||||
{
|
||||
text: "Go to Dashboard",
|
||||
href: "#"
|
||||
text: "Go to Dashboard", href: "#"
|
||||
},
|
||||
{
|
||||
text: "View Documentation",
|
||||
href: "#"
|
||||
text: "View Documentation", href: "#"
|
||||
}
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
mediaItems={[
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AkMs1B5HfKnzqO7ss6lzb8A1e2/admin-dashboard-preview-1773132512282-cbac2a08.png?_wi=1",
|
||||
imageAlt: "Admin dashboard interface"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AkMs1B5HfKnzqO7ss6lzb8A1e2/admin-dashboard-preview-1773132512282-cbac2a08.png", imageAlt: "Admin dashboard interface"
|
||||
},
|
||||
{
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AkMs1B5HfKnzqO7ss6lzb8A1e2/performance-metrics-1773132511955-8508b55f.jpg?_wi=1",
|
||||
imageAlt: "Performance metrics dashboard"
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AkMs1B5HfKnzqO7ss6lzb8A1e2/performance-metrics-1773132511955-8508b55f.jpg", imageAlt: "Performance metrics dashboard"
|
||||
}
|
||||
]}
|
||||
mediaAnimation="blur-reveal"
|
||||
@@ -112,33 +105,27 @@ export default function AdminDashboardPage() {
|
||||
features={[
|
||||
{
|
||||
icon: Plus,
|
||||
title: "Add New Schemes",
|
||||
description: "Create and configure new government schemes with detailed eligibility criteria, benefits, and application procedures."
|
||||
title: "Add New Schemes", description: "Create and configure new government schemes with detailed eligibility criteria, benefits, and application procedures."
|
||||
},
|
||||
{
|
||||
icon: Upload,
|
||||
title: "Bulk Import",
|
||||
description: "Import schemes via JSON or CSV files for efficient batch updates. Automatic validation and error reporting."
|
||||
title: "Bulk Import", description: "Import schemes via JSON or CSV files for efficient batch updates. Automatic validation and error reporting."
|
||||
},
|
||||
{
|
||||
icon: Settings,
|
||||
title: "Edit Schemes",
|
||||
description: "Modify existing scheme information, update benefit amounts, change eligibility criteria, and manage state-specific rules."
|
||||
title: "Edit Schemes", description: "Modify existing scheme information, update benefit amounts, change eligibility criteria, and manage state-specific rules."
|
||||
},
|
||||
{
|
||||
icon: Lock,
|
||||
title: "Access Control",
|
||||
description: "Role-based access control with granular permissions for administrators, data managers, and auditors."
|
||||
title: "Access Control", description: "Role-based access control with granular permissions for administrators, data managers, and auditors."
|
||||
},
|
||||
{
|
||||
icon: Search,
|
||||
title: "Advanced Search",
|
||||
description: "Powerful search and filtering capabilities for finding schemes by category, state, benefit type, or eligibility."
|
||||
title: "Advanced Search", description: "Powerful search and filtering capabilities for finding schemes by category, state, benefit type, or eligibility."
|
||||
},
|
||||
{
|
||||
icon: TrendingUp,
|
||||
title: "Analytics",
|
||||
description: "Real-time dashboards showing user engagement, most popular schemes, eligibility match rates, and system performance."
|
||||
title: "Analytics", description: "Real-time dashboards showing user engagement, most popular schemes, eligibility match rates, and system performance."
|
||||
}
|
||||
]}
|
||||
animationType="slide-up"
|
||||
@@ -156,28 +143,20 @@ export default function AdminDashboardPage() {
|
||||
tagAnimation="slide-up"
|
||||
metrics={[
|
||||
{
|
||||
id: "1",
|
||||
icon: CheckCircle,
|
||||
title: "Active Schemes",
|
||||
value: "2,500+"
|
||||
id: "1", icon: CheckCircle,
|
||||
title: "Active Schemes", value: "2,500+"
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
icon: Users: Users,
|
||||
title: "Admin Users",
|
||||
value: "150+"
|
||||
id: "2", icon: Users,
|
||||
title: "Admin Users", value: "150+"
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
icon: Lock,
|
||||
title: "Data Encrypted",
|
||||
value: "100%"
|
||||
id: "3", icon: Lock,
|
||||
title: "Data Encrypted", value: "100%"
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
icon: TrendingUp,
|
||||
title: "Uptime",
|
||||
value: "99.9%"
|
||||
id: "4", icon: TrendingUp,
|
||||
title: "Uptime", value: "99.9%"
|
||||
}
|
||||
]}
|
||||
animationType="slide-up"
|
||||
@@ -195,28 +174,13 @@ export default function AdminDashboardPage() {
|
||||
tagAnimation="slide-up"
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Scheme Verification",
|
||||
price: "Mandatory",
|
||||
variant: "Government Source Verification",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AkMs1B5HfKnzqO7ss6lzb8A1e2/security-encryption-visual-1773132512193-3b7270c9.jpg",
|
||||
imageAlt: "Verification process"
|
||||
id: "1", name: "Scheme Verification", price: "Mandatory", variant: "Government Source Verification", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AkMs1B5HfKnzqO7ss6lzb8A1e2/security-encryption-visual-1773132512193-3b7270c9.jpg", imageAlt: "Verification process"
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Data Quality",
|
||||
price: "Continuous",
|
||||
variant: "Automated & Manual Checks",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AkMs1B5HfKnzqO7ss6lzb8A1e2/performance-metrics-1773132511955-8508b55f.jpg?_wi=2",
|
||||
imageAlt: "Quality metrics"
|
||||
id: "2", name: "Data Quality", price: "Continuous", variant: "Automated & Manual Checks", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AkMs1B5HfKnzqO7ss6lzb8A1e2/performance-metrics-1773132511955-8508b55f.jpg", imageAlt: "Quality metrics"
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Audit Trail",
|
||||
price: "Real-Time",
|
||||
variant: "Complete Change Tracking",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AkMs1B5HfKnzqO7ss6lzb8A1e2/admin-dashboard-preview-1773132512282-cbac2a08.png?_wi=2",
|
||||
imageAlt: "Audit dashboard"
|
||||
id: "3", name: "Audit Trail", price: "Real-Time", variant: "Complete Change Tracking", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AkMs1B5HfKnzqO7ss6lzb8A1e2/admin-dashboard-preview-1773132512282-cbac2a08.png", imageAlt: "Audit dashboard"
|
||||
}
|
||||
]}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
@@ -235,34 +199,22 @@ export default function AdminDashboardPage() {
|
||||
tagAnimation="slide-up"
|
||||
faqs={[
|
||||
{
|
||||
id: "1",
|
||||
title: "How do I add a new government scheme?",
|
||||
content: "Navigate to 'Add Scheme' section, fill in scheme details including name, benefits, eligibility criteria, and state applicability. Upload supporting documents from official government sources. Review and publish once verified."
|
||||
id: "1", title: "How do I add a new government scheme?", content: "Navigate to 'Add Scheme' section, fill in scheme details including name, benefits, eligibility criteria, and state applicability. Upload supporting documents from official government sources. Review and publish once verified."
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
title: "What is the verification process?",
|
||||
content: "All schemes must be verified against official government sources (ministry websites, official notifications). Admin review ensures accuracy and compliance. Changes trigger automatic verification workflow."
|
||||
id: "2", title: "What is the verification process?", content: "All schemes must be verified against official government sources (ministry websites, official notifications). Admin review ensures accuracy and compliance. Changes trigger automatic verification workflow."
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
title: "Can I bulk import schemes?",
|
||||
content: "Yes, use the 'Bulk Import' feature with JSON or CSV format. Template available for download. System validates all entries and reports errors before importing to ensure data integrity."
|
||||
id: "3", title: "Can I bulk import schemes?", content: "Yes, use the 'Bulk Import' feature with JSON or CSV format. Template available for download. System validates all entries and reports errors before importing to ensure data integrity."
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
title: "How is data security handled?",
|
||||
content: "All admin actions are encrypted, logged, and audited. Role-based access control restricts permissions. Two-factor authentication required for sensitive operations. Automatic backups every 6 hours."
|
||||
id: "4", title: "How is data security handled?", content: "All admin actions are encrypted, logged, and audited. Role-based access control restricts permissions. Two-factor authentication required for sensitive operations. Automatic backups every 6 hours."
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
title: "What analytics are available?",
|
||||
content: "Real-time dashboards show user engagement, popular schemes, state-wise distribution, eligibility match rates, API usage, and performance metrics. Custom reports can be generated for any time period."
|
||||
id: "5", title: "What analytics are available?", content: "Real-time dashboards show user engagement, popular schemes, state-wise distribution, eligibility match rates, API usage, and performance metrics. Custom reports can be generated for any time period."
|
||||
},
|
||||
{
|
||||
id: "6",
|
||||
title: "How do I handle scheme updates?",
|
||||
content: "Edit scheme details directly in dashboard. Changes are tracked with timestamps and change history. Automatic notifications sent to users affected by significant changes (benefit amount, eligibility updates)."
|
||||
id: "6", title: "How do I handle scheme updates?", content: "Edit scheme details directly in dashboard. Changes are tracked with timestamps and change history. Automatic notifications sent to users affected by significant changes (benefit amount, eligibility updates)."
|
||||
}
|
||||
]}
|
||||
faqsAnimation="slide-up"
|
||||
|
||||
Reference in New Issue
Block a user