[+] Add search icon

This commit is contained in:
Azalea Gui
2023-02-09 21:33:40 -05:00
parent 495e812071
commit 050444c8e2
+2
View File
@@ -52,6 +52,7 @@ export default function App() {
const [bcLeft, setBcLeft] = createSignal(0) const [bcLeft, setBcLeft] = createSignal(0)
const paths = [window.location.host, ...path.split("/").filter(it => it)] const paths = [window.location.host, ...path.split("/").filter(it => it)]
// Handle wheel for breadcrumb
function wheel(e: WheelEvent) function wheel(e: WheelEvent)
{ {
let direction = (e.detail < 0 || e.deltaY > 0) ? 1 : -1 let direction = (e.detail < 0 || e.deltaY > 0) ? 1 : -1
@@ -87,6 +88,7 @@ export default function App() {
}</For> }</For>
</div> </div>
</div> </div>
<Icon icon="ion:search-outline" class="text-xl ml-2"/>
</div> </div>
{api.loading && "Loading..."} {api.loading && "Loading..."}