diff --git a/examples/catalog/components/search/Item.tsx b/examples/catalog/components/search/Item.tsx
deleted file mode 100644
index 2885c085..00000000
--- a/examples/catalog/components/search/Item.tsx
+++ /dev/null
@@ -1,7 +0,0 @@
-import { Item } from 'portal';
-
-const SearchItem: React.FC<{ datapackage: any }> = ({ datapackage }) => {
- return ;
-};
-
-export default SearchItem;
diff --git a/examples/catalog/components/search/List.tsx b/examples/catalog/components/search/List.tsx
index fc488e0d..c56bf36f 100644
--- a/examples/catalog/components/search/List.tsx
+++ b/examples/catalog/components/search/List.tsx
@@ -1,5 +1,6 @@
import { useQuery } from '@apollo/react-hooks';
-import Item from './Item';
+import Link from 'next/link';
+import * as timeago from 'timeago.js';
import { ErrorMessage } from '../_shared';
import { SEARCH_QUERY } from '../../graphql/queries';
@@ -16,9 +17,53 @@ const List: React.FC<{ variables: any }> = ({ variables }) => {
if (loading) return
Loading
;
const { result } = data.search;
return (
-
- {result.results.map((pkg, index) => (
-
+
+ {result.results.map((dataset, index) => (
+
+
+
+
+ {/*
+ Linting fails because href is required for anchor tags and it
+ ignores NextJS's Link API. Please, see this issue for details:
+ https://github.com/vercel/next.js/issues/5533
+ */}
+ {/* eslint-disable-next-line */}
+
+
+