Update src/app/colleges/page.tsx

This commit is contained in:
2026-03-03 09:51:55 +00:00
parent 6667d09761
commit dcecd9ade7

View File

@@ -18,8 +18,7 @@ const navItems = [
const footerColumns = [
{
title: "Product",
items: [
title: "Product", items: [
{ label: "Dashboard", href: "/" },
{ label: "Features", href: "#features" },
{ label: "Pricing", href: "#pricing" },
@@ -27,8 +26,7 @@ const footerColumns = [
],
},
{
title: "Resources",
items: [
title: "Resources", items: [
{ label: "Documentation", href: "/docs" },
{ label: "API Reference", href: "/api-docs" },
{ label: "Tutorials", href: "/tutorials" },
@@ -36,8 +34,7 @@ const footerColumns = [
],
},
{
title: "Company",
items: [
title: "Company", items: [
{ label: "About Us", href: "/about" },
{ label: "Blog", href: "/blog" },
{ label: "Careers", href: "/careers" },
@@ -45,8 +42,7 @@ const footerColumns = [
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{ label: "Privacy Policy", href: "/privacy" },
{ label: "Terms of Service", href: "/terms" },
{ label: "Security", href: "/security" },
@@ -91,49 +87,25 @@ export default function CollegesPage() {
tagAnimation="slide-up"
features={[
{
id: "create-college",
title: "Create College",
author: "Admin Interface",
description:
"Add new colleges with institutional details, code assignments, and configuration. Full form validation and error handling included.",
tags: ["Create", "Form", "Modal"],
id: "create-college", title: "Create College", author: "Admin Interface", description:
"Add new colleges with institutional details, code assignments, and configuration. Full form validation and error handling included.", tags: ["Create", "Form", "Modal"],
imageSrc:
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AQiPJ3Jzw7G5Kcyt3D2bx9tuyP/a-clean-interface-showing-college-univer-1772531256245-2e9319aa.png?_wi=5",
imageAlt: "College creation interface",
},
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AQiPJ3Jzw7G5Kcyt3D2bx9tuyP/a-clean-interface-showing-college-univer-1772531256245-2e9319aa.png", imageAlt: "College creation interface"},
{
id: "edit-college",
title: "Edit College Details",
author: "Admin Interface",
description:
"Modify college information, update status, and manage institutional settings. Real-time validation ensures data integrity.",
tags: ["Edit", "Update", "Settings"],
id: "edit-college", title: "Edit College Details", author: "Admin Interface", description:
"Modify college information, update status, and manage institutional settings. Real-time validation ensures data integrity.", tags: ["Edit", "Update", "Settings"],
imageSrc:
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AQiPJ3Jzw7G5Kcyt3D2bx9tuyP/a-clean-interface-showing-college-univer-1772531256245-2e9319aa.png?_wi=6",
imageAlt: "College editing interface",
},
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AQiPJ3Jzw7G5Kcyt3D2bx9tuyP/a-clean-interface-showing-college-univer-1772531256245-2e9319aa.png", imageAlt: "College editing interface"},
{
id: "college-search",
title: "Search & Filter",
author: "Admin Interface",
description:
"Powerful search functionality with pagination and filtering by name, code, and status. Find colleges instantly.",
tags: ["Search", "Filter", "Pagination"],
id: "college-search", title: "Search & Filter", author: "Admin Interface", description:
"Powerful search functionality with pagination and filtering by name, code, and status. Find colleges instantly.", tags: ["Search", "Filter", "Pagination"],
imageSrc:
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AQiPJ3Jzw7G5Kcyt3D2bx9tuyP/a-clean-interface-showing-college-univer-1772531256245-2e9319aa.png?_wi=7",
imageAlt: "College search interface",
},
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AQiPJ3Jzw7G5Kcyt3D2bx9tuyP/a-clean-interface-showing-college-univer-1772531256245-2e9319aa.png", imageAlt: "College search interface"},
{
id: "deactivate-college",
title: "Deactivate College",
author: "Admin Interface",
description:
"Safely deactivate colleges with dependency checks. Prevent deletion of active institutions with ongoing batches.",
tags: ["Status", "Control", "Safety"],
id: "deactivate-college", title: "Deactivate College", author: "Admin Interface", description:
"Safely deactivate colleges with dependency checks. Prevent deletion of active institutions with ongoing batches.", tags: ["Status", "Control", "Safety"],
imageSrc:
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AQiPJ3Jzw7G5Kcyt3D2bx9tuyP/a-clean-interface-showing-college-univer-1772531256245-2e9319aa.png?_wi=8",
imageAlt: "College status management",
},
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AQiPJ3Jzw7G5Kcyt3D2bx9tuyP/a-clean-interface-showing-college-univer-1772531256245-2e9319aa.png", imageAlt: "College status management"},
]}
animationType="slide-up"
textboxLayout="default"
@@ -148,34 +120,18 @@ export default function CollegesPage() {
description="Overview of registered institutions and their current status"
metrics={[
{
id: "college-1",
title: "Tech Institute Mumbai",
subtitle: "Mumbai, India · Active",
category: "Premium",
value: "428 Students",
buttons: [{ text: "Manage", href: "/colleges" }],
id: "college-1", title: "Tech Institute Mumbai", subtitle: "Mumbai, India · Active", category: "Premium", value: "428 Students", buttons: [{ text: "Manage", href: "/colleges" }],
},
{
id: "college-2",
title: "Delhi University",
subtitle: "Delhi, India · Active",
category: "Standard",
value: "356 Students",
buttons: [{ text: "Manage", href: "/colleges" }],
id: "college-2", title: "Delhi University", subtitle: "Delhi, India · Active", category: "Standard", value: "356 Students", buttons: [{ text: "Manage", href: "/colleges" }],
},
{
id: "college-3",
title: "Bangalore Tech Institute",
subtitle: "Bangalore, India · Active",
category: "Premium",
value: "512 Students",
buttons: [{ text: "Manage", href: "/colleges" }],
id: "college-3", title: "Bangalore Tech Institute", subtitle: "Bangalore, India · Active", category: "Premium", value: "512 Students", buttons: [{ text: "Manage", href: "/colleges" }],
},
]}
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
gridVariant="uniform-all-items-equal"
uniformGridCustomHeightClasses="min-h-80 2xl:min-h-96"
/>
</div>