Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added breadcrumbs #77

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 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 @@ -22,9 +30,27 @@ const projects: ProjectType[] = [
},
];

const programName = "Ignite";

const Page = () => {
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
Loading