feat: add experimental fdp (#681)

* feat: add experimental fdp

* ci: update swarm-actions to v1

* fix: fix eslint violations

* refactor: decaf
This commit is contained in:
Cafe137
2024-11-21 12:43:30 +01:00
committed by GitHub
parent 63f338075b
commit d0c94b7316
24 changed files with 1297 additions and 7 deletions
+7
View File
@@ -7,6 +7,7 @@ import FilesIcon from 'remixicon-react/ArrowUpDownLineIcon'
import DocsIcon from 'remixicon-react/BookOpenLineIcon'
import ExternalLinkIcon from 'remixicon-react/ExternalLinkLineIcon'
import GithubIcon from 'remixicon-react/GithubFillIcon'
import FdpIcon from 'remixicon-react/HardDrive2LineIcon'
import HomeIcon from 'remixicon-react/Home3LineIcon'
import SettingsIcon from 'remixicon-react/Settings2LineIcon'
import AccountIcon from 'remixicon-react/Wallet3LineIcon'
@@ -76,6 +77,12 @@ export default function SideBar(): ReactElement {
path: ROUTES.INFO,
icon: HomeIcon,
},
{
label: 'FDP',
path: ROUTES.FDP,
icon: FdpIcon,
pathMatcherSubstring: '/fdp',
},
{
label: 'Files',
path: nodeInfo?.beeMode === BeeModes.ULTRA_LIGHT ? ROUTES.DOWNLOAD : ROUTES.UPLOAD,