import 'package:siro_driver/constant/box_name.dart';
import 'package:siro_driver/constant/style.dart';
import 'package:siro_driver/main.dart';
import 'package:siro_driver/views/widgets/my_scafold.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';

class AboutPage extends StatelessWidget {
  const AboutPage({super.key});

  @override
  Widget build(BuildContext context) {
    return MyScafolld(
        title: 'About Us'.tr,
        body: [
          // Company Logo (consider adding an image asset)
          ListView(
            children: [
              Center(
                child: Image.asset(
                  'assets/images/logo.png', // Replace with your logo image asset path
                  height: 100.0,
                  width: 100.0,
                ),
              ), // Company Name and Location
              Padding(
                padding: const EdgeInsets.all(16.0),
                child: Text(
                  'Siro LLC\n${'Syria'.tr}',
                  style: AppStyle.headTitle2,
                  textAlign: TextAlign.center,
                ),
              ),
              Padding(
                padding: const EdgeInsets.symmetric(horizontal: 16.0),
                child: Text(
                  'Siro is a ride-sharing app designed with your safety and affordability in mind. We connect you with reliable drivers in your area, ensuring a convenient and stress-free travel experience.\n\nHere are some of the key features that set us apart:'
                      .tr,
                  style: AppStyle.title,
                  textAlign: TextAlign.center,
                ),
              ), // Security Features List
              const SizedBox(
                height: 20,
              ),
              Padding(
                padding: const EdgeInsets.symmetric(horizontal: 24.0),
                child: Column(
                  children: [
                    Row(
                      children: [
                        const Icon(Icons.lock, color: Colors.blue),
                        const SizedBox(width: 8.0),
                        Text(
                          'Most Secure Methods'.tr,
                          style: AppStyle.title,
                        ),
                      ],
                    ),
                    const SizedBox(height: 8.0),
                    Row(
                      children: [
                        const Icon(Icons.phone, color: Colors.blue),
                        const SizedBox(width: 8.0),
                        Text(
                          'In-App VOIP Calls'.tr,
                          style: AppStyle.title,
                        ),
                      ],
                    ),
                    const SizedBox(height: 8.0),
                    Row(
                      children: [
                        const Icon(Icons.videocam, color: Colors.blue),
                        const SizedBox(width: 8.0),
                        Text(
                          'Recorded Trips for Safety'.tr,
                          style: AppStyle.title,
                        ),
                      ],
                    ),
                  ],
                ),
              ), // Affordability Highlight
              Padding(
                padding: const EdgeInsets.symmetric(horizontal: 16.0),
                child: Text(
                  '\nWe also prioritize affordability, offering competitive pricing to make your rides accessible.'
                      .tr,
                  style: AppStyle.title,
                  textAlign: TextAlign.center,
                ),
              ),
            ],
          ),

          // About Us Text
        ],
        isleading: true);
  }
}
