diff --git a/lib/screens/subheader_Datepicker.dart b/lib/screens/subheader_Datepicker.dart index 56da73c..399a8db 100644 --- a/lib/screens/subheader_Datepicker.dart +++ b/lib/screens/subheader_Datepicker.dart @@ -1559,98 +1559,107 @@ class Event_Card extends StatelessWidget { class LostEvents extends StatelessWidget { @override Widget build(BuildContext context) { - return Container( - width: 350, - //height: 148, - padding: EdgeInsets.all(15.0), - 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, - ) - ], - ), - child: Column( - children: [ - Align( - alignment: Alignment.centerLeft, - child: Text( - 'Ein Event fehlt euch hier?', - style: TextStyle( - color: Color(0xFF0A0A0A), - fontSize: 18, - fontFamily: 'Inter', - fontWeight: FontWeight.w800, - height: 0, - ), + return InkWell( + onTap: () { + /* Navigator.push( + context, + MaterialPageRoute( + builder: (context) => + ZielSeite()), // Die Seite, zu der du navigieren möchtest + ); */ + }, + child: Container( + width: 350, + //height: 148, + padding: EdgeInsets.all(15.0), + 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, + ) + ], ), - const SizedBox(height: 10), - 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, - ), + child: Column( + children: [ + Align( + alignment: Alignment.centerLeft, + child: Text( + 'Ein Event fehlt euch hier?', + style: TextStyle( + color: Color(0xFF0A0A0A), + fontSize: 18, + fontFamily: 'Inter', + fontWeight: FontWeight.w800, + 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, - ), - ), - ], + ), ), - ), - ), - const SizedBox(height: 15), - Align( - alignment: Alignment.centerRight, - child: Text( - 'Infos hier', - style: TextStyle( - color: Color(0xFF0A0A0A), - fontSize: 18, - fontFamily: 'Inter', - fontWeight: FontWeight.w800, - height: 0.07, + const SizedBox(height: 10), + 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, + ), + ), + ], + ), + ), ), - ), + const SizedBox(height: 15), + Align( + alignment: Alignment.centerRight, + child: Text( + 'Infos hier', + style: TextStyle( + color: Color(0xFF0A0A0A), + fontSize: 18, + fontFamily: 'Inter', + fontWeight: FontWeight.w800, + height: 0.07, + ), + ), + ), + ], ), - ], - ), - ); + )); } }