From 7fb71b1129d7c4c67740b227a09cf73127453c0e Mon Sep 17 00:00:00 2001 From: nitin mohan Date: Sat, 27 Jun 2026 11:18:02 +0530 Subject: [PATCH] Enhance navigation and search experience --- app/rgpv/layout.tsx | 14 +++++++ components/breadcrumbs.tsx | 63 +++++++++++++++++++++++++++++++ components/footer.tsx | 14 +++---- features/landing/universities.tsx | 1 + 4 files changed, 85 insertions(+), 7 deletions(-) create mode 100644 app/rgpv/layout.tsx create mode 100644 components/breadcrumbs.tsx diff --git a/app/rgpv/layout.tsx b/app/rgpv/layout.tsx new file mode 100644 index 0000000..bd696f8 --- /dev/null +++ b/app/rgpv/layout.tsx @@ -0,0 +1,14 @@ +import { Breadcrumbs } from "@/components/breadcrumbs"; + +export default function RGPVLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( + <> + + {children} + + ); +} diff --git a/components/breadcrumbs.tsx b/components/breadcrumbs.tsx new file mode 100644 index 0000000..a18656e --- /dev/null +++ b/components/breadcrumbs.tsx @@ -0,0 +1,63 @@ +"use client"; + +import Link from "next/link"; +import { usePathname } from "next/navigation"; +import { ChevronRight, Home } from "lucide-react"; + +export function Breadcrumbs() { + const pathname = usePathname(); + const pathNames = pathname.split("/").filter((path) => path); + + if (pathNames.length <= 1) { + return null; + } + + return ( +
+ +
+ ); +} diff --git a/components/footer.tsx b/components/footer.tsx index ffe8750..7fd6802 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -56,7 +56,7 @@ export default function Footer() {