Open-source marketplace for AI Agent skills. Features: - Next.js 15 web app with i18n (en/fa) - CLI tool for skill installation (npx skillhub) - GitHub crawler/indexer with multi-strategy discovery - Security scanning for all indexed skills - Self-hostable with Docker Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
28 lines
707 B
TypeScript
28 lines
707 B
TypeScript
'use client';
|
|
|
|
import { signIn } from 'next-auth/react';
|
|
import { Github } from 'lucide-react';
|
|
|
|
interface FavoritesSignInProps {
|
|
translations: {
|
|
loginRequired: string;
|
|
signIn: string;
|
|
};
|
|
}
|
|
|
|
export function FavoritesSignIn({ translations }: FavoritesSignInProps) {
|
|
return (
|
|
<div className="card p-8 text-center">
|
|
<Github className="w-12 h-12 mx-auto mb-4 text-text-muted" />
|
|
<p className="text-text-secondary mb-6">{translations.loginRequired}</p>
|
|
<button
|
|
onClick={() => signIn('github')}
|
|
className="btn-primary inline-flex items-center gap-2"
|
|
>
|
|
<Github className="w-5 h-5" />
|
|
{translations.signIn}
|
|
</button>
|
|
</div>
|
|
);
|
|
}
|