"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import siteConfig from "@/lib/config/site"; import { cn } from "@/lib/utils"; /** Site name/avatar link; needs the current pathname to pick a view transition type. */ const HomeLink = ({ children }: { children: React.ReactNode }) => { const pathname = usePathname(); return ( {children} ); }; export { HomeLink };