proxitok/templates/views/user.latte

45 lines
1.4 KiB
Plaintext
Raw Normal View History

2022-01-25 08:08:31 -05:00
{layout '../layouts/default.latte'}
2022-06-12 06:50:41 -04:00
{var $has_rss = true}
2022-11-26 17:51:45 -05:00
{var $og = $info->meta->og}
{var $og_content = $info->detail->avatarLarger}
{var $og_url = url_user($info->detail->uniqueId)}
2022-01-25 08:08:31 -05:00
{block header}
2022-11-26 16:25:48 -05:00
<figure class="image is-inline-block is-128x128">
2022-11-26 17:51:45 -05:00
<img class="is-rounded" src="{url_stream($info->detail->avatarLarger)}" />
</figure>
2023-04-02 14:14:48 -04:00
<p class="title">
{if $info->detail->verified}
{include '../components/icon.latte', icon: 'check-o', text: $info->detail->uniqueId}
{else}
{$info->detail->uniqueId}
{/if}
</p>
2022-03-15 17:52:54 -04:00
<p class="subtitle">{include '../components/rss.latte'}</p>
2023-02-01 09:22:53 -05:00
{if $info->detail->privateAccount}
<p><strong>Private account</strong></p>
{/if}
2023-04-02 14:14:48 -04:00
<b>Description</b>
<p class="new-line">{$info->detail->signature}</p>
2023-04-02 13:55:04 -04:00
{if isset($info->detail->bioLink)}
<p>Link: <a href="{$info->detail->bioLink->link}">{$info->detail->bioLink->link}</a></p>
{/if}
2023-04-02 14:14:48 -04:00
<b>Stats</b>
2022-11-26 17:51:45 -05:00
<p>Following: {number($info->stats->followingCount)} / Followers: {number($info->stats->followerCount)}</p>
<p>Hearts: {number($info->stats->heartCount)} / Videos: {$info->stats->videoCount}</p>
2023-04-02 14:14:48 -04:00
{embed '../components/details.latte', title: "Details"}
{block content}
<p>Region: {$info->detail->region}</p>
2023-04-03 08:37:04 -04:00
{if $info->detail->commerceUserInfo->commerceUser}
2023-04-02 14:14:48 -04:00
<p>Category: {$info->detail->commerceUserInfo->category}</p>
2023-04-03 08:37:04 -04:00
{/if}
2023-04-02 14:14:48 -04:00
{/block}
{/embed}
2022-01-25 08:08:31 -05:00
{/block}
2022-01-25 08:08:31 -05:00
{block content}
{include '../components/feed.latte'}
{/block}