philomena/lib/philomena_web/templates/layout/_header_navigation.html.slime
liamwhite b1a23292fa
Whitespace tolerance (#237)
* Use flexbox for centering image blocks

* Fix tab display

* Make tag list wrappable and HTML whitespace tolerant

* Make header navigation HTML whitespace tolerant
2024-04-27 22:19:57 -04:00

41 lines
1.1 KiB
Text

.hide-mobile.header__navigation
.dropdown.header__dropdown
a.header__link href="/images"
| Images
span data-click-preventdefault="true"
i.fa.fa-caret-down<
.dropdown__content
a.header__link href="/images/random"
| Random
.dropdown.header__dropdown
a.header__link href="/activity"
| Activity
span data-click-preventdefault="true"
i.fa.fa-caret-down<
.dropdown__content
a.header__link href="/comments"
| Comments
.dropdown.header__dropdown
a.header__link href="/forums"
| Forums
span data-click-preventdefault="true"
i.fa.fa-caret-down<
.dropdown__content
= for forum <- @conn.assigns.forums do
a.header__link href=Routes.forum_path(@conn, :show, forum)
= forum.name
a.header__link href="/posts"
i.fa.fa-fw.fa-search>
| Post Search
a.header__link href="/tags"
| Tags
a.header__link href="/channels"
' Live
span.header__counter
= @conn.assigns.live_channels
a.header__link href="/galleries"
| Galleries
a.header__link href="/commissions"
| Commissions