import 'package:intl/intl.dart';

import '../../../state/app/modules/marianum_message/bloc/marianum_message_state.dart';

/// Demo fixtures for the info messages — a single friendly welcome entry so the
/// section is populated rather than empty.
class DemoMarianumMessage {
  const DemoMarianumMessage._();

  static MarianumMessageList list() {
    final date = DateFormat.yMMMM('de').format(DateTime.now());

    return MarianumMessageList(
      base: 'https://marianum-fulda.de',
      messages: [
        MarianumMessage(
          id: 'demo',
          name: 'Willkommen in der Marianum-App',
          date: date,
          description: 'Eine kurze Begrüßung zum Ausprobieren.',
          url: 'https://marianum-fulda.de',
        ),
      ],
    );
  }
}
