Paginas creadas wip

This commit is contained in:
Abraham
2025-07-17 14:42:01 -07:00
parent 14a680547c
commit ca7735e2b0
13 changed files with 2971 additions and 6 deletions

View File

@@ -1,14 +1,10 @@
import 'package:nethive_neo/functions/no_transition_route.dart';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:nethive_neo/helpers/globals.dart';
import 'package:nethive_neo/models/models.dart';
import 'package:nethive_neo/pages/empresa_negocios/empresa_negocios_page.dart';
import 'package:nethive_neo/pages/infrastructure/infrastructure_layout.dart';
import 'package:nethive_neo/pages/pages.dart';
import 'package:nethive_neo/services/navigation_service.dart';
/// The route configuration.
@@ -45,12 +41,20 @@ final GoRouter router = GoRouter(
color: Colors.amber,
width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height,
child: const Center(child: Text('Book Page Main')));
child: const Center(child: Text('Empresa Negocios')));
} else {
return const EmpresaNegociosPage();
}
},
),
GoRoute(
path: '/infrastructure/:negocioId',
name: 'infrastructure',
builder: (BuildContext context, GoRouterState state) {
final negocioId = state.pathParameters['negocioId']!;
return InfrastructureLayout(negocioId: negocioId);
},
),
GoRoute(
path: '/login',
name: 'login',