From b8764e5e012c3a057088a6e12adb53a6fcb93f5c Mon Sep 17 00:00:00 2001 From: Niklas Date: Sun, 27 Oct 2024 21:33:59 +0100 Subject: [PATCH] events missing added but not in frontend --- lib/screens/subheader_Datepicker.dart | 113 ++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) diff --git a/lib/screens/subheader_Datepicker.dart b/lib/screens/subheader_Datepicker.dart index 28af6db..90ae2fb 100644 --- a/lib/screens/subheader_Datepicker.dart +++ b/lib/screens/subheader_Datepicker.dart @@ -1540,4 +1540,117 @@ class Event_Card extends StatelessWidget { ], ); } +} + + +class LostEvents extends StatelessWidget { + @override + Widget build(BuildContext context) { + return Column( + children: [ + Container( + width: 350, + height: 148, + child: Stack( + children: [ + Positioned( + left: 0, + top: 0, + child: Container( + width: 350, + height: 148, + decoration: ShapeDecoration( + color: Colors.white, + shape: RoundedRectangleBorder( + side: BorderSide(width: 2), + borderRadius: BorderRadius.circular(8), + ), + shadows: [ + BoxShadow( + color: Color(0xFF000000), + blurRadius: 0, + offset: Offset(0, 10), + spreadRadius: 0, + ) + ], + ), + ), + ), + Positioned( + left: 18, + top: 15, + child: Text( + 'Ein Event fehlt euch hier?', + style: TextStyle( + color: Color(0xFF0A0A0A), + fontSize: 18, + fontFamily: 'Inter', + fontWeight: FontWeight.w800, + height: 0, + ), + ), + ), + Positioned( + left: 19, + top: 44, + child: SizedBox( + width: 317, + child: Text.rich( + TextSpan( + children: [ + TextSpan( + text: 'Sendet uns ein Foto vom Event ', + style: TextStyle( + color: Color(0xFF0A0A0A), + fontSize: 16, + fontFamily: 'Inter', + fontWeight: FontWeight.w400, + height: 0, + ), + ), + TextSpan( + text: 'oder', + style: TextStyle( + color: Color(0xFF0A0A0A), + fontSize: 16, + fontFamily: 'Inter', + fontWeight: FontWeight.w700, + height: 0, + ), + ), + TextSpan( + text: ' werdet Host und stellt eure Events bei uns rein. ', + style: TextStyle( + color: Color(0xFF0A0A0A), + fontSize: 16, + fontFamily: 'Inter', + fontWeight: FontWeight.w400, + height: 0, + ), + ), + ], + ), + ), + ), + ), + Positioned( + left: 247, + top: 116, + child: Text( + 'Infos hier', + style: TextStyle( + color: Color(0xFF0A0A0A), + fontSize: 18, + fontFamily: 'Inter', + fontWeight: FontWeight.w800, + height: 0.07, + ), + ), + ), + ], + ), + ), + ], + ); + } } \ No newline at end of file