Update src/app/submissions/page.tsx

This commit is contained in:
2026-03-03 09:52:00 +00:00
parent e2bece3d9b
commit 2637f844c5

View File

@@ -17,8 +17,7 @@ const navItems = [
const footerColumns = [
{
title: "Product",
items: [
title: "Product", items: [
{ label: "Dashboard", href: "/" },
{ label: "Features", href: "#features" },
{ label: "Pricing", href: "#pricing" },
@@ -26,8 +25,7 @@ const footerColumns = [
],
},
{
title: "Resources",
items: [
title: "Resources", items: [
{ label: "Documentation", href: "/docs" },
{ label: "API Reference", href: "/api-docs" },
{ label: "Tutorials", href: "/tutorials" },
@@ -35,8 +33,7 @@ const footerColumns = [
],
},
{
title: "Company",
items: [
title: "Company", items: [
{ label: "About Us", href: "/about" },
{ label: "Blog", href: "/blog" },
{ label: "Careers", href: "/careers" },
@@ -44,8 +41,7 @@ const footerColumns = [
],
},
{
title: "Legal",
items: [
title: "Legal", items: [
{ label: "Privacy Policy", href: "/privacy" },
{ label: "Terms of Service", href: "/terms" },
{ label: "Security", href: "/security" },
@@ -99,29 +95,17 @@ export default function SubmissionsPage() {
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-12">
{[
{
title: "Filter by College",
desc: "Instantly filter submissions by specific colleges to focus on institutional performance",
},
title: "Filter by College", desc: "Instantly filter submissions by specific colleges to focus on institutional performance"},
{
title: "Filter by Batch",
desc: "Narrow down submissions to specific batches, enabling focused analysis on evaluation cycles",
},
title: "Filter by Batch", desc: "Narrow down submissions to specific batches, enabling focused analysis on evaluation cycles"},
{
title: "Filter by Student",
desc: "View individual student submissions to monitor progress and provide targeted feedback",
},
title: "Filter by Student", desc: "View individual student submissions to monitor progress and provide targeted feedback"},
{
title: "Filter by Track",
desc: "Analyze submissions across different coding tracks (Core, DSA, SQL)",
},
title: "Filter by Track", desc: "Analyze submissions across different coding tracks (Core, DSA, SQL)"},
{
title: "Code Submission View",
desc: "Full syntax-highlighted code review interface with execution results",
},
title: "Code Submission View", desc: "Full syntax-highlighted code review interface with execution results"},
{
title: "Score Metrics",
desc: "Comprehensive scoring breakdown including accuracy and efficiency metrics",
},
title: "Score Metrics", desc: "Comprehensive scoring breakdown including accuracy and efficiency metrics"},
].map((item, idx) => (
<div
key={idx}
@@ -150,34 +134,18 @@ export default function SubmissionsPage() {
description="Latest code submissions with status and performance indicators"
metrics={[
{
id: "sub-1",
title: "Core Java Task 5",
subtitle: "Rajesh Kumar · Tech Institute Mumbai",
category: "Accepted",
value: "94% Score",
buttons: [{ text: "Review", href: "/submissions" }],
id: "sub-1", title: "Core Java Task 5", subtitle: "Rajesh Kumar · Tech Institute Mumbai", category: "Accepted", value: "94% Score", buttons: [{ text: "Review", href: "/submissions" }],
},
{
id: "sub-2",
title: "DSA Problem 12",
subtitle: "Priya Sharma · Delhi University",
category: "Runtime Error",
value: "Pending",
buttons: [{ text: "Review", href: "/submissions" }],
id: "sub-2", title: "DSA Problem 12", subtitle: "Priya Sharma · Delhi University", category: "Runtime Error", value: "Pending", buttons: [{ text: "Review", href: "/submissions" }],
},
{
id: "sub-3",
title: "SQL Database Query",
subtitle: "Akshay Verma · Bangalore Tech",
category: "Accepted",
value: "89% Score",
buttons: [{ text: "Review", href: "/submissions" }],
id: "sub-3", title: "SQL Database Query", subtitle: "Akshay Verma · Bangalore Tech", category: "Accepted", value: "89% Score", buttons: [{ text: "Review", href: "/submissions" }],
},
]}
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
gridVariant="uniform-all-items-equal"
uniformGridCustomHeightClasses="min-h-80 2xl:min-h-96"
/>
</div>