diff --git a/justMUSIC/lib/components/post_component.dart b/justMUSIC/lib/components/post_component.dart index 1fcdc6a..7f7a7e3 100644 --- a/justMUSIC/lib/components/post_component.dart +++ b/justMUSIC/lib/components/post_component.dart @@ -116,24 +116,24 @@ class PostComponent extends StatelessWidget { mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Flexible( - flex: 6, + flex: 8, child: TextScroll( "BOOBA", style: GoogleFonts.plusJakartaSans( height: 1, color: Colors.white, fontWeight: FontWeight.w600, - fontSize: 26.sp), + fontSize: 26.h), mode: TextScrollMode.endless, pauseBetween: Duration(milliseconds: 500), velocity: Velocity(pixelsPerSecond: Offset(20, 0)), )), Padding( - padding: EdgeInsets.only(bottom: 10, right: 7, left: 7), + padding: EdgeInsets.only(bottom: 10.h, right: 5.w, left: 5.w), child: ClipOval( child: Container( - width: 5.sp, - height: 5.sp, + width: 5.h, + height: 5.h, color: Colors.white, ), ), @@ -148,7 +148,7 @@ class PostComponent extends StatelessWidget { height: 1, color: Colors.white, fontWeight: FontWeight.w300, - fontSize: 16.sp), + fontSize: 16.h), mode: TextScrollMode.endless, velocity: Velocity(pixelsPerSecond: Offset(50, 20)), pauseBetween: Duration(milliseconds: 500), @@ -160,7 +160,7 @@ class PostComponent extends StatelessWidget { style: GoogleFonts.plusJakartaSans( color: Colors.white.withOpacity(0.5), fontWeight: FontWeight.w300, - fontSize: 16.sp), + fontSize: 16.h), textAlign: TextAlign.end, maxFontSize: 20, ), diff --git a/justMUSIC/lib/components/top_nav_bar_component.dart b/justMUSIC/lib/components/top_nav_bar_component.dart index 8616a16..de181e2 100644 --- a/justMUSIC/lib/components/top_nav_bar_component.dart +++ b/justMUSIC/lib/components/top_nav_bar_component.dart @@ -118,12 +118,18 @@ class _TopNavBarComponentState extends State { ], ), ), - const Flexible( - flex: 1, - child: Image( - image: AssetImage("assets/images/add_friend.png"), - width: 25, - )) + Flexible( + flex: 1, + child: ClipOval( + child: SizedBox.fromSize( + // Image radius + child: Image( + image: AssetImage("assets/images/exemple_profile.png"), + width: 25, + ), + ), + ), + ) ], ), ), diff --git a/justMUSIC/lib/screens/feed_screen.dart b/justMUSIC/lib/screens/feed_screen.dart index e98d77a..8249732 100644 --- a/justMUSIC/lib/screens/feed_screen.dart +++ b/justMUSIC/lib/screens/feed_screen.dart @@ -78,10 +78,10 @@ class _FeedScreenState extends State { height: 240.h, decoration: BoxDecoration( gradient: LinearGradient(begin: Alignment.topRight, stops: [ - 0, + 0.3, 1 ], colors: [ - bgColor.withOpacity(1), + bgColor.withOpacity(0.9), bgColor.withOpacity(0) ])), ),