nhà mẫu
This commit is contained in:
@@ -30,6 +30,7 @@ import 'package:worker/features/products/presentation/pages/product_detail_page.
|
||||
import 'package:worker/features/products/presentation/pages/products_page.dart';
|
||||
import 'package:worker/features/promotions/presentation/pages/promotion_detail_page.dart';
|
||||
import 'package:worker/features/quotes/presentation/pages/quotes_page.dart';
|
||||
import 'package:worker/features/showrooms/presentation/pages/model_houses_page.dart';
|
||||
|
||||
/// App Router
|
||||
///
|
||||
@@ -263,6 +264,14 @@ class AppRouter {
|
||||
MaterialPage(key: state.pageKey, child: const ChatListPage()),
|
||||
),
|
||||
|
||||
// Model Houses Route
|
||||
GoRoute(
|
||||
path: RouteNames.modelHouses,
|
||||
name: RouteNames.modelHouses,
|
||||
pageBuilder: (context, state) =>
|
||||
MaterialPage(key: state.pageKey, child: const ModelHousesPage()),
|
||||
),
|
||||
|
||||
// TODO: Add more routes as features are implemented
|
||||
],
|
||||
|
||||
@@ -387,6 +396,9 @@ class RouteNames {
|
||||
// Chat Route
|
||||
static const String chat = '/chat';
|
||||
|
||||
// Model Houses Route
|
||||
static const String modelHouses = '/model-houses';
|
||||
|
||||
// Authentication Routes (TODO: implement when auth feature is ready)
|
||||
static const String login = '/login';
|
||||
static const String otpVerification = '/otp-verification';
|
||||
|
||||
Reference in New Issue
Block a user