Alessio 8410182129 Big front-end refactor to make CSS management more tractable
- Convert most CSS class names to BEM style
- Improve a significant amount of layouts / UI bugs
- Probably add a bunch of UI bugs
2024-04-05 15:49:19 -07:00

18 lines
460 B
Smarty

{{define "timeline"}}
{{range .Items}}
{{template "tweet" .}}
{{end}}
<div class="timeline__bottom">
{{if .CursorBottom.CursorPosition.IsEnd}}
<label class="timeline__eof-label">End of feed</label>
{{else}}
<a class="timeline__show-more-button button"
hx-get="?{{(cursor_to_query_params .CursorBottom)}}"
hx-target=".timeline__bottom"
hx-swap="outerHTML"
>Show more</a>
{{end}}
</div>
{{end}}