From 605e732f2b456365d1395715647473856522bef3 Mon Sep 17 00:00:00 2001 From: Luis Felipe Risch <lfr20@inf.ufpr.br> Date: Tue, 9 Feb 2021 10:22:02 -0300 Subject: [PATCH] Added the search tab --- src/Components/MobileDrawerMenu.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Components/MobileDrawerMenu.js b/src/Components/MobileDrawerMenu.js index 2b159882..9670234e 100644 --- a/src/Components/MobileDrawerMenu.js +++ b/src/Components/MobileDrawerMenu.js @@ -36,7 +36,8 @@ import HistoryIcon from '@material-ui/icons/History'; import FavoriteBorderIcon from '@material-ui/icons/FavoriteBorder'; import FolderOpenIcon from '@material-ui/icons/FolderOpen'; import SettingsIcon from '@material-ui/icons/Settings'; -import {apiDomain, apiUrl} from '../env.js' +import {apiDomain, apiUrl} from '../env.js'; +import SearchIcon from '@material-ui/icons/Search'; import {getAxiosConfig} from './HelperFunctions/getAxiosConfig' import axios from 'axios' @@ -48,6 +49,7 @@ export default function MobileDrawerMenu (props) { { name : "Sobre a Plataforma", href : "sobre", icon : <InfoIcon/>}, { name : "Contato", href : "contato", icon : <MailOutlineIcon/>}, { name : "Central de Ajuda", href : "ajuda", icon : <HelpOutlineIcon/>}, + { name: "Busca", href: `/busca?query=${state.search.query}&search_class=${state.search.class}`, icon : <SearchIcon/>}, { name : "Termos de Uso", href : "termos", icon : <AssignmentIcon/>}, ] -- GitLab