feat: add identity and feed management (#272)
* feat(wip): add basic feed operations * ci: bump checks * ci: bump checks * feat: rework stamps and add feed functionalities * refactor: polish and fixes * feat(wip): add formulas * feat: show bzz.link for websites * feat: add stamp empty states and formatBzz * feat: add feed download * chore: update manifest-js version * feat: dev mode support with bee-js 3.1.0 (#273) * feat: dev mode support with bee-js 3.1.0 * fix: added missing package-lock.json file * build: remove PR preview * style: work on design * feat: add TroubleshootConnectionCard * build: remove depcheck Co-authored-by: Attila Gazso <agazso@gmail.com>
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
import type { ReactElement } from 'react'
|
||||
import { Route, Switch } from 'react-router-dom'
|
||||
import Accounting from './pages/accounting'
|
||||
import Feeds from './pages/feeds'
|
||||
import CreateNewFeed from './pages/feeds/CreateNewFeed'
|
||||
import { FeedSubpage } from './pages/feeds/FeedSubpage'
|
||||
import UpdateFeed from './pages/feeds/UpdateFeed'
|
||||
import { Download } from './pages/files/Download'
|
||||
import { Share } from './pages/files/Share'
|
||||
import { Upload } from './pages/files/Upload'
|
||||
@@ -8,6 +12,7 @@ import { UploadLander } from './pages/files/UploadLander'
|
||||
import Info from './pages/info'
|
||||
import Settings from './pages/settings'
|
||||
import Stamps from './pages/stamps'
|
||||
import { CreatePostageStampPage } from './pages/stamps/CreatePostageStampPage'
|
||||
import Status from './pages/status'
|
||||
|
||||
export enum ROUTES {
|
||||
@@ -20,7 +25,12 @@ export enum ROUTES {
|
||||
ACCOUNTING = '/accounting',
|
||||
SETTINGS = '/settings',
|
||||
STAMPS = '/stamps',
|
||||
STAMPS_NEW = '/stamps/new',
|
||||
STATUS = '/status',
|
||||
FEEDS = '/feeds',
|
||||
FEEDS_NEW = '/feeds/new',
|
||||
FEEDS_UPDATE = '/feeds/update/:hash',
|
||||
FEEDS_PAGE = '/feeds/:uuid',
|
||||
}
|
||||
|
||||
const BaseRouter = (): ReactElement => (
|
||||
@@ -32,7 +42,12 @@ const BaseRouter = (): ReactElement => (
|
||||
<Route exact path={ROUTES.ACCOUNTING} component={Accounting} />
|
||||
<Route exact path={ROUTES.SETTINGS} component={Settings} />
|
||||
<Route exact path={ROUTES.STAMPS} component={Stamps} />
|
||||
<Route exact path={ROUTES.STAMPS_NEW} component={CreatePostageStampPage} />
|
||||
<Route exact path={ROUTES.STATUS} component={Status} />
|
||||
<Route exact path={ROUTES.FEEDS} component={Feeds} />
|
||||
<Route exact path={ROUTES.FEEDS_NEW} component={CreateNewFeed} />
|
||||
<Route exact path={ROUTES.FEEDS_UPDATE} component={UpdateFeed} />
|
||||
<Route exact path={ROUTES.FEEDS_PAGE} component={FeedSubpage} />
|
||||
<Route path={ROUTES.INFO} component={Info} />
|
||||
</Switch>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user