Add Traefik Hub demo in dashboard
This commit is contained in:
parent
10be359327
commit
db4f262916
64 changed files with 2481 additions and 622 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { AriaTable, AriaTbody, AriaTd, AriaTfoot, AriaThead, AriaTr, Box, Flex } from '@traefiklabs/faency'
|
||||
import { useMemo } from 'react'
|
||||
import { Helmet } from 'react-helmet-async'
|
||||
import { FiShield } from 'react-icons/fi'
|
||||
import useInfiniteScroll from 'react-infinite-scroll-hook'
|
||||
import { useSearchParams } from 'react-router-dom'
|
||||
|
|
@ -16,7 +17,6 @@ import Tooltip from 'components/Tooltip'
|
|||
import TooltipText from 'components/TooltipText'
|
||||
import useFetchWithPagination, { pagesResponseInterface, RenderRowType } from 'hooks/use-fetch-with-pagination'
|
||||
import { EmptyPlaceholder } from 'layout/EmptyPlaceholder'
|
||||
import Page from 'layout/Page'
|
||||
|
||||
export const makeRowRender = (protocol = 'http'): RenderRowType => {
|
||||
const HttpRoutersRenderRow = (row) => (
|
||||
|
|
@ -130,7 +130,10 @@ export const HttpRouters = () => {
|
|||
)
|
||||
|
||||
return (
|
||||
<Page title="HTTP Routers">
|
||||
<>
|
||||
<Helmet>
|
||||
<title>HTTP Routers - Traefik Proxy</title>
|
||||
</Helmet>
|
||||
<TableFilter />
|
||||
<HttpRoutersRender
|
||||
error={error}
|
||||
|
|
@ -141,6 +144,6 @@ export const HttpRouters = () => {
|
|||
pageCount={pageCount}
|
||||
pages={pages}
|
||||
/>
|
||||
</Page>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue