This commit is contained in:
2026-04-07 20:12:56 +08:00
parent feed24f378
commit cf8be0bff5
35 changed files with 722 additions and 114 deletions
@@ -1,6 +1,7 @@
import 'package:app/features/auth/pages/login_page.dart';
import 'package:app/features/auth/pages/register_page.dart';
import 'package:app/features/home/pages/index_page.dart';
import 'package:go_router/go_router.dart';
@@ -10,6 +11,7 @@ final appRouter = GoRouter(
initialLocation: '/auth/login',
routes: [
GoRoute(path: '/auth/login', builder: (context, state) => const LoginPage()),
GoRoute(path: '/auth/register', builder: (context, state) => const RegisterPage()),
ShellRoute(
builder: (context, state, child) {
return MainPage(child: child);