/** * GitHub OAuth Admin Components * * LoginButton for the login page, rendered via the auth provider virtual module. */ import { LinkButton } from "@cloudflare/kumo"; import * as React from "react"; function GitHubIcon({ className }: { className?: string }) { return ( ); } export function LoginButton({ inviteToken }: { inviteToken?: string } = {}) { const href = inviteToken ? `/_emdash/api/auth/oauth/github?invite=${encodeURIComponent(inviteToken)}` : "/_emdash/api/auth/oauth/github"; return ( GitHub ); }