@@ -13,7 +13,9 @@ import { PanelSubhead } from "@macrostrat/map-interface";
1313import classNames from "classnames" ;
1414import { navigate } from "vike/client/router" ;
1515import { MacrostratIcon } from "~/components/macrostrat-icon" ;
16- import { useAdmoinshments } from "#/map/map-interface/components/filter-panel/admonishments" ;
16+ import { useAdmoinshments } from "../filter-panel/admonishments" ;
17+ import { MacrostatLogoLink } from "~/components/general" ;
18+ import { useInDarkMode } from "@macrostrat/ui-components" ;
1719
1820const h = hyper . styled ( styles ) ;
1921
@@ -146,22 +148,26 @@ function Searchbar({ className }) {
146148 filterPanelElement = h ( FilterPanel , { filters, admonishments } ) ;
147149 }
148150
149- return h ( FloatingNavbar , { statusElement : filterPanelElement } , [
150- h ( MacrostratIcon , {
151- size : 36 ,
152- onClick ( ) {
153- navigate ( "/" ) ;
154- } ,
155- } ) ,
156- h ( InputGroup , {
157- large : true ,
158- onChange : handleSearchInput ,
159- onClick : gainInputFocus ,
160- rightElement : h ( MenuButton ) ,
161- placeholder : "Search Macrostrat..." ,
162- value : term ,
163- } ) ,
164- ] ) ;
151+ return h (
152+ FloatingNavbar ,
153+ { statusElement : filterPanelElement , className : "map-navbar" } ,
154+ [
155+ h ( "div.navbar-link-container" , [
156+ h ( MacrostatLogoLink , {
157+ logoStyle : "frameless-simple" ,
158+ className : "navbar-logo" ,
159+ } ) ,
160+ ] ) ,
161+ h ( InputGroup , {
162+ large : true ,
163+ onChange : handleSearchInput ,
164+ onClick : gainInputFocus ,
165+ rightElement : h ( MenuButton ) ,
166+ placeholder : "Search Macrostrat..." ,
167+ value : term ,
168+ } ) ,
169+ ]
170+ ) ;
165171}
166172
167173function SearchGuidance ( ) {
0 commit comments