Improved search
This commit is contained in:
@ -48,7 +48,7 @@ component Layout(app *aero.Application, ctx *aero.Context, user *arn.User, openG
|
||||
body
|
||||
#container(class=utils.GetContainerClass(ctx))
|
||||
#columns
|
||||
Sidebar(user)
|
||||
Sidebar(ctx.Get("term"), user)
|
||||
Content(content)
|
||||
|
||||
LoadingAnimation
|
||||
|
@ -1,4 +1,4 @@
|
||||
component Sidebar(user *arn.User)
|
||||
component Sidebar(searchTerm string, user *arn.User)
|
||||
aside#sidebar
|
||||
//- User avatar
|
||||
.user-image-container
|
||||
@ -21,7 +21,7 @@ component Sidebar(user *arn.User)
|
||||
div(aria-label="Search")
|
||||
.sidebar-button
|
||||
Icon("search")
|
||||
FuzzySearch
|
||||
FuzzySearch(searchTerm)
|
||||
.speech-input.action(data-action="searchBySpeech", data-trigger="click", title="Speech input")
|
||||
RawIcon("microphone")
|
||||
|
||||
|
Reference in New Issue
Block a user