- {/* */}
+
-
diff --git a/app/ui/dashboard/nav-links.tsx b/app/ui/dashboard/nav-links.tsx
index 72fa462..3b091cd 100644
--- a/app/ui/dashboard/nav-links.tsx
+++ b/app/ui/dashboard/nav-links.tsx
@@ -1,8 +1,13 @@
+'use client';
+
import {
UserGroupIcon,
HomeIcon,
DocumentDuplicateIcon,
} from '@heroicons/react/24/outline';
+import Link from 'next/link';
+import { usePathname } from 'next/navigation';
+import clsx from 'clsx';
// Map of links to display in the side navigation.
// Depending on the size of the application, this would be stored in a database.
@@ -17,19 +22,25 @@ const links = [
];
export default function NavLinks() {
+ const pathname = usePathname();
return (
<>
{links.map((link) => {
const LinkIcon = link.icon;
return (
-
+
Welcome to Acme. This is the example for the{' '} Next.js Learn Course , brought to you by Vercel.
+
{/* Add Hero Images Here */}
+
+
{link.name}
- + ); })} > diff --git a/app/ui/fonts.ts b/app/ui/fonts.ts new file mode 100644 index 0000000..f9a41fd --- /dev/null +++ b/app/ui/fonts.ts @@ -0,0 +1,4 @@ +import { Inter, Lusitana } from 'next/font/google' + +export const inter = Inter({subsets: ['latin']}) +export const lusitana = Lusitana({subsets: ['latin'], weight: ['400', '700']}) \ No newline at end of file