More comprehensive system for displaying icons vertically centred within text
[ndcode_site.git] / _lib / navbar.jst
index c3e7c18..1c30cb5 100644 (file)
@@ -3,9 +3,9 @@ let XDate = require('xdate')
 
 return async (env, head, body, scripts) => {
   //let cart = await _require('/online_store/cart.jst')
+  let fa_search = await env.site.get_min_svg('/_svg/fa_search.svg')
   let get_session = await _require('/_lib/get_session.jst')
   //let icon_cart_small = await env.site.get_min_svg('/_svg/icon_cart_small.svg')
-  let icon_search_mono = await env.site.get_min_svg('/_svg/icon_search_mono.svg')
   let logo_large = await env.site.get_min_svg('/_svg/logo_large.svg')
   let menu = await env.site.get_menu('/_menu.json')
   let page = await _require('/_lib/page.jst')
@@ -92,7 +92,9 @@ return async (env, head, body, scripts) => {
                   input.form-control(name="query" type="text" placeholder="Search" aria-describedby="search-button") {}
                   div.input-group-append {
                     button.btn.btn-outline-secondary#search-button(type="submit") {
-                      _out.push(icon_search_mono)
+                      div.icon24-outer {
+                        div.icon24-inner {_out.push(fa_search)}
+                      }
                     }
                   }
                 }