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

@@ -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,
)
],

View File

@@ -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,
),
),
],
),
],

View File

@@ -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"),
),
),
],

View File

@@ -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(
"Dont 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"),
)
],
),