Adding search icon button to navbar.

This commit is contained in:
Roland 2024-01-01 11:31:17 -07:00
parent 81419b8353
commit 377c69e8a7
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
13 changed files with 222 additions and 86 deletions

View file

@ -6,6 +6,7 @@ import Icon from "semantic-ui-react/dist/commonjs/elements/Icon";
import {CPUTemperatureIcon, DarkModeToggle, HotspotStatusIcon, NAME, SystemLoadIcon} from "./Common";
import {ShareButton} from "./Share";
import {useWROLMode} from "../hooks/customHooks";
import {SearchIconButton} from "./Search";
const links = [
{text: 'Videos', to: '/videos', key: 'videos'},
@ -76,6 +77,7 @@ export function NavBar() {
<NavIconWrapper><ShareButton/></NavIconWrapper>
<NavIconWrapper><HotspotStatusIcon/></NavIconWrapper>
<NavIconWrapper><DarkModeToggle/></NavIconWrapper>
<span style={{marginTop: '0.5em'}}><SearchIconButton/></span>
</React.Fragment>;
return <>