import 'package:flutter/material.dart';

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


class InvitationsHeader extends StatelessWidget {
  final AppLocalizations loc;

  const InvitationsHeader({super.key, required this.loc});

  @override
  Widget build(BuildContext context) => Column(
    crossAxisAlignment: CrossAxisAlignment.start,
    children: [
      Text(
        loc.invitationsTitle,
        style: Theme.of(context).textTheme.headlineMedium?.copyWith(fontWeight: FontWeight.w700),
      ),
      const SizedBox(height: 4),
      Text(
        loc.invitationsSubtitle,
        style: Theme.of(context).textTheme.bodyMedium?.copyWith(color: Theme.of(context).hintColor),
      ),
    ],
  );
}
