Update examples section

This commit is contained in:
Eric Ciarla
2024-06-21 15:40:46 -04:00
parent 5cf2beff92
commit 8e39083d8c
87 changed files with 8939 additions and 0 deletions
@@ -0,0 +1,16 @@
"use client";
import { usePathname } from 'next/navigation';
export function Navbar() {
const pathname = usePathname();
return (
<nav className="mb-4">
<a className={`mr-4 ${pathname === "/" ? "text-white border-b" : ""}`} href="/">🏴 Chat</a>
<a className={`mr-4 ${pathname === "/structured_output" ? "text-white border-b" : ""}`} href="/structured_output">🧱 Structured Output</a>
<a className={`mr-4 ${pathname === "/agents" ? "text-white border-b" : ""}`} href="/agents">🦜 Agents</a>
<a className={`mr-4 ${pathname === "/retrieval" ? "text-white border-b" : ""}`} href="/retrieval">🐶 Retrieval</a>
<a className={`mr-4 ${pathname === "/retrieval_agents" ? "text-white border-b" : ""}`} href="/retrieval_agents">🤖 Retrieval Agents</a>
</nav>
);
}