import 'package:auto_route/auto_route.dart';
import 'package:flutter/material.dart';

import '../../../../../common/theme/theme.dart';
import 'widgets/home_left_panel.dart';
import 'widgets/home_right_panel.dart';

@RoutePage()
class HomePage extends StatelessWidget {
  const HomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Hero(
      tag: 'confirmation_screen',
      child: Scaffold(
        backgroundColor: AppColor.white,
        body: Column(
          children: [
            Expanded(
              child: Row(
                children: [
                  Expanded(flex: 3, child: HomeLeftPanel()),
                  Expanded(flex: 2, child: HomeRightPanel()),
                ],
              ),
            ),
          ],
        ),
      ),
    );
  }
}
