diff --git a/src/pages/instant-observability.js b/src/pages/instant-observability.js index 567bfb36f..c56dcf782 100644 --- a/src/pages/instant-observability.js +++ b/src/pages/instant-observability.js @@ -40,6 +40,13 @@ const FILTERS = [ { name: 'Data sources', type: 'documentation', icon: 'nr-document' }, ]; +const SORT = [ + 'Relevance', + 'Alphabetical', + 'Popularity', + 'Reverse alphabetical', +]; + const VIEWS = { GRID: 'Grid view', LIST: 'List view', @@ -109,6 +116,7 @@ const QuickstartsPage = ({ data, location }) => { const [search, setSearch] = useState(''); const [filters, setFilters] = useState([]); const [category, setCategory] = useState(''); + const [sort, setSort] = useState('Alphabetical'); const [isFilterOverlayOpen, setIsFilterOverlayOpen] = useState(false); const [isCategoriesOverlayOpen, setIsCategoriesOverlayOpen] = useState(false); @@ -698,7 +706,6 @@ const QuickstartsPage = ({ data, location }) => { color: var(--color-neutrals-800); display: flex; justify-content: space-between; - align-items: center; align-text: center; strong { @@ -710,18 +717,33 @@ const QuickstartsPage = ({ data, location }) => { Showing {filteredQuickstarts.length} results for:{' '} {search || getDisplayName()} -