✨ Basic publisher page
This commit is contained in:
@ -20,6 +20,7 @@ import 'package:surface/screens/home.dart';
|
||||
import 'package:surface/screens/notification.dart';
|
||||
import 'package:surface/screens/post/post_detail.dart';
|
||||
import 'package:surface/screens/post/post_editor.dart';
|
||||
import 'package:surface/screens/post/post_publisher.dart';
|
||||
import 'package:surface/screens/post/post_search.dart';
|
||||
import 'package:surface/screens/realm.dart';
|
||||
import 'package:surface/screens/realm/manage.dart';
|
||||
@ -77,6 +78,13 @@ final _appRoutes = [
|
||||
child: PostSearchScreen(),
|
||||
),
|
||||
),
|
||||
GoRoute(
|
||||
path: '/pub/:name',
|
||||
name: 'postPublisher',
|
||||
builder: (context, state) => AppBackground(
|
||||
child: PostPublisherScreen(name: state.pathParameters['name']!),
|
||||
),
|
||||
),
|
||||
GoRoute(
|
||||
path: '/:slug',
|
||||
name: 'postDetail',
|
||||
|
Reference in New Issue
Block a user