{* we only render 19 items if there are 20 RecentWorks to avoid a newline with only the "View more" button on large devices *}
{* col-7 is used for each RecentWorks item to create a visible affordance *}
{{- if len(.Illust.RecentWorks) == 20 }}
{{- range .Illust.RecentWorks[:19] }}
{{ include "fragments/thumbnail-dt" . }}
{{ include "fragments/thumbnail-tt" . }}
{{- end }}
{{- else }}
{{- range .Illust.RecentWorks }}
{{ include "fragments/thumbnail-dt" . }}
{{ include "fragments/thumbnail-tt" . }}
{{- end }}
{{- end }}
{* View more button *}
{* TODO: add hover effect for this element *}
{* NOTE: the lack of #checkpoint is intentional; we need to orient the user once they land on the user page for the first time *}