diff --git a/apps/website/src/components/index.tsx b/apps/website/src/components/index.tsx index 2e50d9c0..8c6fc30e 100644 --- a/apps/website/src/components/index.tsx +++ b/apps/website/src/components/index.tsx @@ -1,4 +1,4 @@ export { Breadcrumbs } from './breadcrumbs/breadcrumbs' export { EpicOverview } from './epic-overview' export { SideBar } from './side-bar/side-bar' -export { TableIssues } from './table-issues' +export { TableIssues } from './table-issues/table-issues' diff --git a/apps/website/src/components/table-issues.tsx b/apps/website/src/components/table-issues.tsx deleted file mode 100644 index 5fedd1cc..00000000 --- a/apps/website/src/components/table-issues.tsx +++ /dev/null @@ -1,85 +0,0 @@ -import { Avatar, Button, Tag, Text } from '@status-im/components' -import Link from 'next/link' - -const issues = [ - { - id: 5154, - title: 'Add support for encrypted communities', - status: 'Open', - }, - { - id: 5155, - title: 'Add support for encrypted communities', - status: 'Open', - }, - { - id: 4, - title: 'Add support for encrypted communities', - status: 'Open', - }, - { - id: 4324, - title: 'Add support for encrypted communities', - status: 'Open', - }, - { - id: 876, - title: 'Add support for encrypted communities', - status: 'Open', - }, -] - -export const TableIssues = () => { - return ( -
-
- - 784 Open - -
- -
- {issues.map(issue => ( - -
- - {issue.title} - - - #9667 • Opened 2 days ago by slaedjenic - -
- -
-
- - - - -
- - - - -
- - ))} -
- -
- -
-
- ) -} diff --git a/apps/website/src/components/table-issues/filters/dropdown-filter.tsx b/apps/website/src/components/table-issues/filters/dropdown-filter.tsx index 2a619d96..74243274 100644 --- a/apps/website/src/components/table-issues/filters/dropdown-filter.tsx +++ b/apps/website/src/components/table-issues/filters/dropdown-filter.tsx @@ -3,6 +3,7 @@ import { cloneElement, useState } from 'react' import { Avatar, Button, Input, Text } from '@status-im/components' import { DropdownMenu } from '@status-im/components/src/dropdown-menu' import { DropdownIcon, SearchIcon } from '@status-im/icons' +import Image from 'next/image' import { useCurrentBreakpoint } from '@/hooks/use-current-breakpoint' @@ -110,7 +111,7 @@ const DropdownFilter = (props: Props) => { })} {filteredData.length === 0 && (
- No results { })} {data.length === 0 && (
- No results { const currentBreakpoint = useCurrentBreakpoint() return ( -
-
+
+
@@ -275,12 +275,12 @@ const TableIssues = () => {
-
+
{issues.map(issue => (