import 'package:flutter/material.dart';
import 'package:pweb/config/constants.dart';

import 'package:pweb/generated/i18n/app_localizations.dart';
import 'package:pweb/widgets/hspacer.dart';
import 'package:pweb/widgets/logo.dart';


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

  @override
  Widget build(BuildContext context) => Row(
    children: [
      const ServiceLogo(size: 36),
      const HSpacer(multiplier: 0.75),
      Text(
        '${AppConfig.appName} ${AppLocalizations.of(context)!.signup}',
        style: Theme.of(context).textTheme.titleLarge,
        textAlign: TextAlign.center,
      ),
    ],
  );
}
