feat: update

This commit is contained in:
efrilm 2025-08-29 20:50:03 +07:00
parent c13e3c598e
commit 88c3cebd31
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ class _HomePageState extends State<HomePage> {
_buildHeaderSection(),
const SizedBox(height: 70),
HomeFeatureSection(),
HomeLotteryBanner(),
HomeLotteryBanner(onTap: () => context.router.push(DrawRoute())),
HomePopularMerchantSection(),
],
),

View File

@ -8,7 +8,7 @@ class HomeLotteryBanner extends StatefulWidget {
this.title = "🎰 UNDIAN BERHADIAH",
this.subtitle = "Kumpulkan voucher untuk menang hadiah menarik!",
this.showAnimation = true,
this.actionText = "MAIN SEKARANG",
this.actionText = "IKUTI SEKARANG",
});
final VoidCallback? onTap;