readme file is now rendering in repo. can now view files and edit them. can switch between branches with dropdown menu
This commit is contained in:
@@ -22,6 +22,7 @@ const RegisterPage = lazy(() => import('./pages/RegisterPage'))
|
||||
const DashboardPage = lazy(() => import('./pages/DashboardPage'))
|
||||
const ReposPage = lazy(() => import('./pages/ReposPage'))
|
||||
const RepoPage = lazy(() => import('./pages/RepoPage'))
|
||||
const BlobPage = lazy(() => import('./pages/BlobPage'))
|
||||
const RepoSettingsPage = lazy(() => import('./pages/RepoSettingsPage'))
|
||||
const RepoIssuesPage = lazy(() => import('./pages/RepoIssuesPage'))
|
||||
const RepoPRsPage = lazy(() => import('./pages/RepoPRsPage'))
|
||||
@@ -68,6 +69,7 @@ export default function App() {
|
||||
|
||||
<Route path="repos" element={<S><ReposPage /></S>} />
|
||||
<Route path="repos/:owner/:repo" element={<S><RepoPage /></S>} />
|
||||
<Route path="repos/:owner/:repo/blob" element={<S><BlobPage /></S>} />
|
||||
<Route path="repos/:owner/:repo/commits" element={<S><CommitsPage /></S>} />
|
||||
<Route path="repos/:owner/:repo/branches" element={<S><BranchesPage /></S>} />
|
||||
<Route path="repos/:owner/:repo/settings" element={<S><RepoSettingsPage /></S>} />
|
||||
|
||||
Reference in New Issue
Block a user