proxitok/templates/views/user.latte

45 lines
1.4 KiB
Plaintext
Raw Normal View History

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