• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

clippingkk / web / #1182

23 Aug 2025 05:02PM UTC coverage: 0.52%. Remained the same
#1182

push

web-flow
Merge pull request #159 from clippingkk/feat/standalone-auth-buttons

feat(auth): implement standalone authentication button components

30 of 449 branches covered (6.68%)

Branch coverage included in aggregate %.

0 of 597 new or added lines in 14 files covered. (0.0%)

2 existing lines in 2 files now uncovered.

147 of 33621 relevant lines covered (0.44%)

8.64 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/components/auth/github-standalone.tsx
NEW
1
'use client'
×
NEW
2
import { GithubClientID } from '@/constants/config'
×
NEW
3
import { useActionTrack } from '@/hooks/tracke'
×
NEW
4
import GithubLogo from '../icons/github.logo.svg'
×
NEW
5

×
NEW
6
interface GithubStandaloneLoginButtonProps {
×
NEW
7
  className?: string
×
NEW
8
}
×
NEW
9

×
NEW
10
export default function GithubStandaloneLoginButton({
×
NEW
11
  className,
×
NEW
12
}: GithubStandaloneLoginButtonProps) {
×
NEW
13
  const onGithubClick = useActionTrack('login:github')
×
NEW
14

×
NEW
15
  return (
×
NEW
16
    <a
×
NEW
17
      href={`https://github.com/login/oauth/authorize?client_id=${GithubClientID}&scope=user:email`}
×
NEW
18
      onClick={onGithubClick}
×
NEW
19
      className={`relative w-full h-16 px-6 bg-white dark:bg-zinc-800 border border-gray-200 dark:border-zinc-700 rounded-xl shadow-sm hover:shadow-md transition-all duration-200 hover:scale-[1.02] flex items-center justify-center no-underline group ${className || ''}`}
×
NEW
20
    >
×
NEW
21
      <div className='flex items-center justify-center gap-3'>
×
NEW
22
        <GithubLogo className='w-5 h-5 group-hover:scale-110 transition-transform duration-200' />
×
NEW
23
        <span className='text-base font-medium text-gray-900 dark:text-zinc-50'>
×
NEW
24
          Continue with GitHub
×
NEW
25
        </span>
×
NEW
26
      </div>
×
NEW
27
    </a>
×
NEW
28
  )
×
NEW
29
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc