'use client';

import Link from 'next/link';
import { Shield } from 'lucide-react';
import { useSystemConfig } from '@/hooks/useSystemConfig';

export default function AuthBrand() {
  const sysConfig = useSystemConfig();
  return (
    <Link href="/" className="flex items-center gap-2">
      <div className="flex h-9 w-9 items-center justify-center rounded-xl bg-gradient-to-br from-primary-500 to-indigo-600 text-white">
        <Shield className="h-5 w-5" />
      </div>
      <span className="text-lg font-bold text-ink">{sysConfig.projectName}</span>
    </Link>
  );
}
