From f8b30f410508e83fc464697a2d19330ad2b84e8e Mon Sep 17 00:00:00 2001 From: YumNumm Date: Mon, 25 Sep 2023 02:42:34 +0900 Subject: [PATCH] =?UTF-8?q?add:=20hero=20section=E3=81=AB=E4=BC=9A?= =?UTF-8?q?=E5=A0=B4=E6=83=85=E5=A0=B1=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hero/ui/hero_section_desktop.dart | 31 +++++++++++-------- lib/features/hero/ui/hero_section_mobile.dart | 8 +++++ 2 files changed, 26 insertions(+), 13 deletions(-) diff --git a/lib/features/hero/ui/hero_section_desktop.dart b/lib/features/hero/ui/hero_section_desktop.dart index d9a543a2..468e4af8 100644 --- a/lib/features/hero/ui/hero_section_desktop.dart +++ b/lib/features/hero/ui/hero_section_desktop.dart @@ -59,24 +59,29 @@ class HeroSectionDesktop extends StatelessWidget { ], ), ), + Spaces.vertical_24, FittedBox( fit: BoxFit.scaleDown, - child: Padding( - padding: const EdgeInsets.symmetric( - vertical: 24, - ), - child: Text( - 'November 10, 2023', - style: GoogleFonts.poppins( - color: baselineColorScheme.white, - fontSize: 24, - fontWeight: FontWeight.w500, - height: 1.5, - letterSpacing: 0.16, - ), + child: Text( + 'November 10, 2023', + style: GoogleFonts.poppins( + color: baselineColorScheme.white, + fontSize: 24, + fontWeight: FontWeight.w500, + height: 1.5, + letterSpacing: 0.16, ), ), ), + Spaces.vertical_24, + FittedBox( + fit: BoxFit.scaleDown, + child: Text( + 'in 株式会社ナビタイムジャパン', + style: textTheme.titleLarge, + ), + ), + Spaces.vertical_24, Padding( padding: const EdgeInsets.symmetric(horizontal: 16), child: Text( diff --git a/lib/features/hero/ui/hero_section_mobile.dart b/lib/features/hero/ui/hero_section_mobile.dart index 3eafb69f..42e8a2de 100644 --- a/lib/features/hero/ui/hero_section_mobile.dart +++ b/lib/features/hero/ui/hero_section_mobile.dart @@ -74,6 +74,14 @@ class HeroSectionMobile extends StatelessWidget { ), ), Spaces.vertical_24, + FittedBox( + fit: BoxFit.scaleDown, + child: Text( + 'in 株式会社ナビタイムジャパン', + style: textTheme.titleLarge, + ), + ), + Spaces.vertical_24, Padding( padding: const EdgeInsets.symmetric(horizontal: 16), child: Text(