Monorepo for Tangled tangled.org
766
fork

Configure Feed

Select the types of activity you want to include in your feed.

appview/pages: add search icon to topbar

Signed-off-by: oppiliappan <me@oppi.li>

authored by

oppiliappan and committed by tangled.org dc564ca6 f080aea0

+6 -1
+5
appview/pages/templates/layouts/fragments/topbar.html
··· 11 11 {{ with .LoggedInUser }} 12 12 {{ block "newButton" . }} {{ end }} 13 13 {{ template "notifications/fragments/bell" }} 14 + {{ block "searchButton" . }} {{ end }} 14 15 {{ block "profileDropdown" . }} {{ end }} 15 16 {{ else }} 16 17 <a href="/login">login</a> ··· 40 41 </a> 41 42 </div> 42 43 </details> 44 + {{ end }} 45 + 46 + {{ define "searchButton" }} 47 + <a href="/search">{{ i "search" "size-5 text-gray-500 dark:text-gray-400" }}</a> 43 48 {{ end }} 44 49 45 50 {{ define "profileDropdown" }}
+1 -1
appview/pages/templates/notifications/fragments/bell.html
··· 4 4 hx-target="#notification-count" 5 5 hx-trigger="load, every 30s"> 6 6 <a href="/notifications" class="text-gray-500 dark:text-gray-400 flex gap-1 items-end group"> 7 - {{ i "bell" "w-5 h-5" }} 7 + {{ i "bell" "size-5" }} 8 8 <span id="notification-count"></span> 9 9 </a> 10 10 </div>