add new layout
This commit is contained in:
@@ -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(),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -35,7 +35,7 @@ class AnimatedBtn extends StatelessWidget {
|
||||
const Icon(CupertinoIcons.arrow_right),
|
||||
const SizedBox(width: 8),
|
||||
Text(
|
||||
"Start the course",
|
||||
"Vai al Traduttore",
|
||||
style: Theme.of(context).textTheme.labelLarge,
|
||||
)
|
||||
],
|
||||
|
||||
@@ -41,7 +41,7 @@ void showCustomDialog(BuildContext context, {required ValueChanged onValue}) {
|
||||
child: Column(
|
||||
children: [
|
||||
const Text(
|
||||
"Sign in",
|
||||
"Accedi",
|
||||
style: TextStyle(
|
||||
fontSize: 34,
|
||||
fontFamily: "Poppins",
|
||||
@@ -51,7 +51,7 @@ void showCustomDialog(BuildContext context, {required ValueChanged onValue}) {
|
||||
const Padding(
|
||||
padding: EdgeInsets.symmetric(vertical: 16),
|
||||
child: Text(
|
||||
"Access to 240+ hours of content. Learn design and code, by building real apps with Flutter and Swift.",
|
||||
"Immergetevi nella conoscenza dello splendido dialetto Mottolese. Accedi con Email e Password.",
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
),
|
||||
@@ -64,7 +64,7 @@ void showCustomDialog(BuildContext context, {required ValueChanged onValue}) {
|
||||
Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16),
|
||||
child: Text(
|
||||
"OR",
|
||||
"OPPURE",
|
||||
style: TextStyle(
|
||||
color: Colors.black26,
|
||||
fontWeight: FontWeight.w500,
|
||||
@@ -77,7 +77,7 @@ void showCustomDialog(BuildContext context, {required ValueChanged onValue}) {
|
||||
const Padding(
|
||||
padding: EdgeInsets.symmetric(vertical: 24),
|
||||
child: Text(
|
||||
"Sign up with Email, Apple or Google",
|
||||
"Registrati con un indirizzo email valido, è gratuito.",
|
||||
style: TextStyle(color: Colors.black54),
|
||||
),
|
||||
),
|
||||
@@ -93,24 +93,6 @@ void showCustomDialog(BuildContext context, {required ValueChanged onValue}) {
|
||||
width: 64,
|
||||
),
|
||||
),
|
||||
IconButton(
|
||||
onPressed: () {},
|
||||
padding: EdgeInsets.zero,
|
||||
icon: SvgPicture.asset(
|
||||
"assets/icons/apple_box.svg",
|
||||
height: 64,
|
||||
width: 64,
|
||||
),
|
||||
),
|
||||
IconButton(
|
||||
onPressed: () {},
|
||||
padding: EdgeInsets.zero,
|
||||
icon: SvgPicture.asset(
|
||||
"assets/icons/google_box.svg",
|
||||
height: 64,
|
||||
width: 64,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
|
||||
@@ -152,7 +152,7 @@ class _SignInFormState extends State<SignInForm> {
|
||||
singIn(context);
|
||||
},
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: const Color(0xFFF77D8E),
|
||||
backgroundColor: const Color(0xFF03490E),
|
||||
minimumSize: const Size(double.infinity, 56),
|
||||
shape: const RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.only(
|
||||
@@ -165,9 +165,9 @@ class _SignInFormState extends State<SignInForm> {
|
||||
),
|
||||
icon: const Icon(
|
||||
CupertinoIcons.arrow_right,
|
||||
color: Color(0xFFFE0037),
|
||||
color: Color(0xFFFFFFFF),
|
||||
),
|
||||
label: const Text("Sign In"),
|
||||
label: const Text("Accedi"),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
@@ -72,9 +72,9 @@ class _OnbodingScreenState extends State<OnbodingScreen> {
|
||||
child: Column(
|
||||
children: [
|
||||
Text(
|
||||
"Learn design & code",
|
||||
"Benvenuti nel traduttore Mottolese",
|
||||
style: TextStyle(
|
||||
fontSize: 60,
|
||||
fontSize: 45,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontFamily: "Poppins",
|
||||
height: 1.2,
|
||||
@@ -82,7 +82,7 @@ class _OnbodingScreenState extends State<OnbodingScreen> {
|
||||
),
|
||||
SizedBox(height: 16),
|
||||
Text(
|
||||
"Don’t skip design. Learn design and code, by building real apps with Flutter and Swift. Complete courses about the best tools.",
|
||||
"Ideato e creato da: Kagir, Ken ",
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -118,7 +118,7 @@ class _OnbodingScreenState extends State<OnbodingScreen> {
|
||||
const Padding(
|
||||
padding: EdgeInsets.symmetric(vertical: 24),
|
||||
child: Text(
|
||||
"Purchase includes access to 30+ courses, 240+ premium tutorials, 120+ hours of videos, source files and certificates."),
|
||||
"Per maggiori informazioni contattare Marco all'indirizzo email: marco@esempio.com. Tell: +39 111 2233 444"),
|
||||
)
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user