Skip to content

Commit

Permalink
added breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadow4324 committed Nov 17, 2024
1 parent 48f4759 commit 8ff9455
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions src/app/admin/[program]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ import Project from "@/components/programs/project";
import { Project as ProjectType } from "@/types/projects";
import { AlertDialog, AlertDialogTrigger } from "@/components/ui/alert-dialog";
import { Label } from "@/components/ui/label";
import {
Breadcrumb,
BreadcrumbItem,
BreadcrumbLink,
BreadcrumbList,
BreadcrumbSeparator,
} from "@/components/ui/breadcrumb";
import IgniteF24 from "@/forms/applications/IgniteF24";

const projects: ProjectType[] = [
{
Expand All @@ -23,8 +31,25 @@ const projects: ProjectType[] = [
];

const Page = () => {
const programName = "Ignite";
return (
<div className="">
<div className="w-1/2">
<Breadcrumb>
<BreadcrumbList>
<BreadcrumbItem>
<BreadcrumbLink href="/">Home</BreadcrumbLink>
</BreadcrumbItem>
<BreadcrumbSeparator />
<BreadcrumbItem>
<BreadcrumbLink href={`/form/${IgniteF24}`}>
{programName}
</BreadcrumbLink>
</BreadcrumbItem>
<BreadcrumbSeparator />
</BreadcrumbList>
</Breadcrumb>
</div>
<div className="mx-8 mt-6 flex items-center justify-between">
<Label className="text-2xl">Ignite 2024 Projects</Label>
<AlertDialog>
Expand Down

0 comments on commit 8ff9455

Please sign in to comment.