Files
better-auth/docs/components/mdx/add-to-cursor.tsx
2025-09-23 22:21:16 +00:00

30 lines
858 B
TypeScript

import Link from "next/link";
export const AddToCursor = () => {
return (
<div className="w-max">
<Link
href="cursor://anysphere.cursor-deeplink/mcp/install?name=Better%20Auth&config=eyJ1cmwiOiJodHRwczovL21jcC5jaG9ua2llLmFpL2JldHRlci1hdXRoL2JldHRlci1hdXRoLWJ1aWxkZXIvbWNwIn0%3D"
className="dark:hidden"
>
<img
src="https://cursor.com/deeplink/mcp-install-dark.svg"
alt="Add Better Auth MCP to Cursor"
height="32"
/>
</Link>
<Link
href="cursor://anysphere.cursor-deeplink/mcp/install?name=Better%20Auth&config=eyJ1cmwiOiJodHRwczovL21jcC5jaG9ua2llLmFpL2JldHRlci1hdXRoL2JldHRlci1hdXRoLWJ1aWxkZXIvbWNwIn0%3D"
className="dark:block hidden"
>
<img
src="https://cursor.com/deeplink/mcp-install-light.svg"
alt="Add Better Auth MCP to Cursor"
height="32"
/>
</Link>
</div>
);
};