80c44ed9c1
for avatars/headers, resize avatars down to 120x120 instead of 300x300. Set cache headers on S3 stuff, also make it private (aka only accessible via expiring links to prevent hotlinking)
8 lines
334 B
Text
8 lines
334 B
Text
.account-grid-card
|
|
.account-grid-card__header
|
|
.avatar= image_tag account.avatar.expiring_url(3600, :original)
|
|
.name
|
|
= link_to TagManager.instance.url_for(account) do
|
|
%span.display_name= display_name(account)
|
|
%span.username= "@#{account.acct}"
|
|
%p.note= truncate(strip_tags(account.note), length: 150)
|