diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2022-12-29 23:03:32 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2022-12-29 23:03:32 +0100 |
commit | fce327a72558b41ce6a7303b38c804bfada694a1 (patch) | |
tree | 29b641622a2de287c09efd0f43655ae8926162c3 /src/frontend/tau/views/channel.cljs | |
parent | 8c46de38348c421c0c9f102d604fcfc18807c0bb (diff) |
feat(frontend): Modularize related streams and add responsive styles
Diffstat (limited to 'src/frontend/tau/views/channel.cljs')
-rw-r--r-- | src/frontend/tau/views/channel.cljs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/frontend/tau/views/channel.cljs b/src/frontend/tau/views/channel.cljs index db8c221..78fc6d9 100644 --- a/src/frontend/tau/views/channel.cljs +++ b/src/frontend/tau/views/channel.cljs @@ -21,7 +21,7 @@ [:div.flex.flex-col.items-center.px-5.py-2.flex-auto (if page-loading? [loading/page-loading-icon service-color] - [:div {:class "w-4/5"} + [:div.flex.flex-col {:class "w-4/5"} [navigation/back-button service-color] (when banner [:div @@ -38,9 +38,4 @@ [:span.mx-2 (.toLocaleString subscriber-count)]])]] [:div.my-2 [:p description]] - [:div.flex.justify-center.items-center.align-center - [:div.flex.justify-start.flex-wrap - (for [[i result] (map-indexed vector related-streams)] - [items/stream-item (assoc result :key i)])]] - (when-not (empty? next-page-url) - [loading/items-pagination-loading-icon service-color pagination-loading?])])])) + [items/related-streams related-streams next-page-url]])])) |