Skip to content

Commit

Permalink
fix: refactor, update dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
amjed-ali-k committed Oct 28, 2023
1 parent b17b3b0 commit 762a307
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/app/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function page() {
and use.
</p>
</div>
<div className="container">
<div className="container grid grid-cols-3 gap-4">
{tools.map((e) => (
<ToolCard
key={e.slug}
Expand All @@ -27,7 +27,7 @@ async function page() {
diff={e.type}
likes={e.likes}
views={e.views}
link={`/dashboard/${e.slug}`}
link={`/dashboard/tools/${e.slug}`}
/>
))}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
import { sum, flat, group, sift } from "radash";
import { assignHallsCustom } from "@/lib/examTools/customHallAsiign";
import { AllocatedSeat, allocateSeats } from "@/lib/examTools/hallSort";
import { SeatObjectType } from "../../hall/new/_components/newClass";
import { SeatObjectType } from "../hall/new/_components/newClass";
import {
GenerateAttendanceSheet,
GenerateHallsAssignment,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
import { ArrangedResult } from "./NewExamForm";
import React, { useMemo } from "react";
import { group, max } from "radash";
import { SeatType } from "../../hall/new/_components/newClass";
import { SeatType } from "../hall/new/_components/newClass";
import { AllocatedSeat } from "@/lib/examTools/hallSort";
import { useForm } from "react-hook-form";
import { zodResolver } from "@hookform/resolvers/zod";
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export function NavBar() {
Student directory and their batches
</ListItem>
<ListItem
href="/dashboard/tools/exam-seating/exam"
href="/dashboard/tools/exam-seating"
title="Generate seating plan"
>
Generate printable seating arrangements and files for exam
Expand Down

0 comments on commit 762a307

Please sign in to comment.