philomena/lib/philomena_web/templates/layout/_header_navigation.html.slime

57 lines
1.4 KiB
Text
Raw Permalink Normal View History

2023-11-23 22:20:02 +01:00
.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
2024-05-20 22:30:41 +02:00
i.fa.icon--padded.small.fa-random>
2023-11-23 22:20:02 +01:00
.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
2024-05-20 22:30:41 +02:00
i.fa.icon--padded.small.fa-comments>
2023-11-23 22:20:02 +01:00
.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
2024-06-06 22:28:35 +02:00
a.dropdown__link href=~p"/forums/#{forum}"
2023-11-23 22:20:02 +01:00
= forum.name
2019-11-28 03:57:25 +01:00
2023-11-23 22:20:02 +01:00
hr.dropdown__separator
a href="/posts"
.dropdown__item
.dropdown__icon
2024-05-20 22:30:41 +02:00
i.fa.icon--padded.small.fa-search>
2023-11-23 22:20:02 +01:00
.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--simple
2023-11-23 22:20:02 +01:00
= @conn.assigns.live_channels
2019-11-30 07:30:45 +01:00
2023-11-23 22:20:02 +01:00
a.header__link href="/galleries"
i.fa.fa-images>
| Galleries
a.header__link href="/commissions"
i.fa.fa-briefcase>
| Commissions