Branchwell

Become a Pro / website · becomeapro.ai / src / components / source-link.tsx

Raw 432 B on b7854f3692d64213a2fce644d0b5101d3e345b03
1"use client";
2
3import { usePathname } from "next/navigation";
4
5// Footer "Source" link: points at this page's own code on Branchwell.
6export function SourceLink() {
7 const pathname = usePathname() || "/";
8 return (
9 <a
10 href={`https://branchwell.ai/airesourcepro/website/for${pathname}`}
11 rel="noopener"
12 className="inline-flex min-h-[44px] items-center hover:text-foreground"
13 >
14 Source
15 </a>
16 );
17}