Skip to content

Commit 1a164cd

Browse files
committed
feat(router): add routes for archived headlines, topics, and sources
- Replace 'archivedContent' with more specific routes for content management - Add 'archivedHeadlines', 'archivedTopics', and 'archivedSources' routes - Update corresponding route names for each new path
1 parent 0c43dc8 commit 1a164cd

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

lib/router/routes.dart

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,23 @@ abstract final class Routes {
4444
/// The name for the content management section route.
4545
static const String contentManagementName = 'contentManagement';
4646

47-
/// The path for the archived content page.
48-
static const String archivedContent = 'archived-content';
47+
/// The path for the archived headlines page.
48+
static const String archivedHeadlines = 'archived-headlines';
4949

50-
/// The name for the archived content page route.
51-
static const String archivedContentName = 'archivedContent';
50+
/// The name for the archived headlines page route.
51+
static const String archivedHeadlinesName = 'archivedHeadlines';
52+
53+
/// The path for the archived topics page.
54+
static const String archivedTopics = 'archived-topics';
55+
56+
/// The name for the archived topics page route.
57+
static const String archivedTopicsName = 'archivedTopics';
58+
59+
/// The path for the archived sources page.
60+
static const String archivedSources = 'archived-sources';
61+
62+
/// The name for the archived sources page route.
63+
static const String archivedSourcesName = 'archivedSources';
5264

5365
/// The path for creating a new headline.
5466
static const String createHeadline = 'create-headline';

0 commit comments

Comments
 (0)