@@ -6,7 +6,7 @@ import { FunctionComponent } from "react";
6
6
import { Page } from "@patternfly/react-core" ;
7
7
import { BrowserRouter as Router , Route , Routes } from "react-router-dom" ;
8
8
import { AppHeader } from "@app/components" ;
9
- import { ExplorePage , GroupPage , NotFoundPage , RootRedirectPage , RulesPage , VersionPage } from "@app/pages" ;
9
+ import { BranchPage , ExplorePage , GroupPage , NotFoundPage , RootRedirectPage , RulesPage , VersionPage } from "@app/pages" ;
10
10
import { RolesPage , SettingsPage } from "./pages" ;
11
11
import { ConfigService , useConfigService } from "@services/useConfigService.ts" ;
12
12
import { LoggerService , useLoggerService } from "@services/useLoggerService.ts" ;
@@ -50,18 +50,56 @@ export const App: FunctionComponent<AppProps> = () => {
50
50
< Route path = "/roles" element = { < RolesPage /> } />
51
51
< Route path = "/settings" element = { < SettingsPage /> } />
52
52
< Route path = "/explore" element = { < ExplorePage /> } />
53
+
53
54
< Route
54
55
path = "/explore/:groupId"
55
56
element = { < GroupPage /> }
56
57
/>
58
+ < Route
59
+ path = "/explore/:groupId/artifacts"
60
+ element = { < GroupPage /> }
61
+ />
62
+
57
63
< Route
58
64
path = "/explore/:groupId/:artifactId"
59
65
element = { < ArtifactPage /> }
60
66
/>
61
67
< Route
62
- path = "/explore/:groupId/:artifactId/:version"
68
+ path = "/explore/:groupId/:artifactId/versions"
69
+ element = { < ArtifactPage /> }
70
+ />
71
+ < Route
72
+ path = "/explore/:groupId/:artifactId/branches"
73
+ element = { < ArtifactPage /> }
74
+ />
75
+
76
+ < Route
77
+ path = "/explore/:groupId/:artifactId/versions/:version"
78
+ element = { < VersionPage /> }
79
+ />
80
+ < Route
81
+ path = "/explore/:groupId/:artifactId/versions/:version/content"
82
+ element = { < VersionPage /> }
83
+ />
84
+ < Route
85
+ path = "/explore/:groupId/:artifactId/versions/:version/documentation"
86
+ element = { < VersionPage /> }
87
+ />
88
+ < Route
89
+ path = "/explore/:groupId/:artifactId/versions/:version/references"
63
90
element = { < VersionPage /> }
64
91
/>
92
+
93
+ < Route
94
+ path = "/explore/:groupId/:artifactId/branches/:branchId"
95
+ element = { < BranchPage /> }
96
+ />
97
+ < Route
98
+ path = "/explore/:groupId/:artifactId/branches/:branchId/versions"
99
+ element = { < BranchPage /> }
100
+ />
101
+
102
+
65
103
< Route element = { < NotFoundPage /> } />
66
104
</ Routes >
67
105
</ Page >
0 commit comments