mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 12:27:44 +00:00
30 lines
858 B
TypeScript
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>
|
|
);
|
|
};
|