Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Sync from GitHub via hub-sync
Browse files
src/components/hf-auth-button.tsx
CHANGED
|
@@ -69,8 +69,9 @@ export default function HfAuthButton({ variant = "badge" }: HfAuthButtonProps) {
|
|
| 69 |
return (
|
| 70 |
<button
|
| 71 |
onClick={signIn}
|
| 72 |
-
title="Sign in to access your private datasets"
|
| 73 |
-
|
|
|
|
| 74 |
>
|
| 75 |
{/* eslint-disable-next-line @next/next/no-img-element */}
|
| 76 |
<img
|
|
@@ -79,9 +80,6 @@ export default function HfAuthButton({ variant = "badge" }: HfAuthButtonProps) {
|
|
| 79 |
height={24}
|
| 80 |
className="h-6 w-auto"
|
| 81 |
/>
|
| 82 |
-
<span className="text-[11px] text-slate-300/80">
|
| 83 |
-
to access private datasets
|
| 84 |
-
</span>
|
| 85 |
</button>
|
| 86 |
);
|
| 87 |
}
|
|
|
|
| 69 |
return (
|
| 70 |
<button
|
| 71 |
onClick={signIn}
|
| 72 |
+
title="Sign in with Hugging Face to access your private datasets"
|
| 73 |
+
aria-label="Sign in with Hugging Face to access your private datasets"
|
| 74 |
+
className="cursor-pointer inline-flex items-center rounded-md transition-opacity hover:opacity-90"
|
| 75 |
>
|
| 76 |
{/* eslint-disable-next-line @next/next/no-img-element */}
|
| 77 |
<img
|
|
|
|
| 80 |
height={24}
|
| 81 |
className="h-6 w-auto"
|
| 82 |
/>
|
|
|
|
|
|
|
|
|
|
| 83 |
</button>
|
| 84 |
);
|
| 85 |
}
|