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

17 lines
489 B
Smarty

{{define "author-info"}}
<div class="author-info" hx-boost="true">
{{template "circle-profile-img" .}}
<span class="author-info__name-and-handle">
<div class="author-info__display-name row">
{{.DisplayName}}
{{if .IsPrivate}}
<div class="circle-outline">
<img class="svg-icon" src="/static/icons/lock.svg" width="24" height="24">
</div>
{{end}}
</div>
<div class="author-info__handle">@{{.Handle}}</div>
</span>
</div>
{{end}}