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

56 lines
1.4 KiB
Text

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