import 'package:flutter/material.dart';

class CustomTitle extends StatelessWidget {
  const CustomTitle({super.key});

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        const SizedBox(height: 40),
        Image.network(
          'https://prosapp.co/img/logo_prosapp.png',
          height: 52,
          fit: BoxFit.contain,
          errorBuilder: (_, __, ___) => const Text(
            'ProsApp',
            style: TextStyle(fontSize: 28, fontWeight: FontWeight.bold, color: Color(0xFF42A4EF)),
          ),
        ),
        const SizedBox(height: 8),
        const Text(
          'Conecta con los mejores profesionales',
          style: TextStyle(color: Colors.grey, fontSize: 13),
        ),
        const SizedBox(height: 32),
      ],
    );
  }
}
