mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-23 05:19:37 +02:00
Added search bar
This commit is contained in:
parent
550e1e155b
commit
8026533a06
18 changed files with 166 additions and 9 deletions
|
@ -22,6 +22,7 @@ import classes from './Home.module.css';
|
|||
import AppGrid from '../Apps/AppGrid/AppGrid';
|
||||
import BookmarkGrid from '../Bookmarks/BookmarkGrid/BookmarkGrid';
|
||||
import WeatherWidget from '../Widgets/WeatherWidget/WeatherWidget';
|
||||
import SearchBox from '../SearchBox/SearchBox';
|
||||
|
||||
// Functions
|
||||
import { greeter } from './functions/greeter';
|
||||
|
@ -87,6 +88,11 @@ const Home = (props: ComponentProps): JSX.Element => {
|
|||
|
||||
return (
|
||||
<Container>
|
||||
{searchConfig('hideSearch', 0) !== 1
|
||||
? <SearchBox />
|
||||
: <div></div>
|
||||
}
|
||||
|
||||
{searchConfig('hideHeader', 0) !== 1
|
||||
? (
|
||||
<header className={classes.Header}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue