add new layout

This commit is contained in:
paoloGuagnano
2024-03-08 15:32:42 +01:00
parent 2d5fba8897
commit e8b04d0155
14 changed files with 13 additions and 69 deletions

View File

@@ -20,7 +20,7 @@ class HomePage extends StatelessWidget {
Padding(
padding: const EdgeInsets.all(20),
child: Text(
"Courses",
"TRADUTTORE ITALIANO DIALETTO MTTOLESE",
style: Theme.of(context).textTheme.headlineMedium!.copyWith(
color: Colors.black, fontWeight: FontWeight.bold),
),
@@ -42,25 +42,6 @@ class HomePage extends StatelessWidget {
.toList(),
),
),
Padding(
padding: const EdgeInsets.all(20),
child: Text(
"Recent",
style: Theme.of(context).textTheme.headlineSmall!.copyWith(
color: Colors.black, fontWeight: FontWeight.bold),
),
),
...recentCourses
.map((course) => Padding(
padding: const EdgeInsets.only(
left: 20, right: 20, bottom: 20),
child: SecondaryCourseCard(
title: course.title,
iconsSrc: course.iconSrc,
colorl: course.color,
),
))
.toList(),
],
),
),