forked from FoundKeyGang/FoundKey
[Client] Clean up
This commit is contained in:
parent
4d34386f7f
commit
b7dd711b50
21 changed files with 75 additions and 75 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "misskey",
|
"name": "misskey",
|
||||||
"author": "syuilo <i@syuilo.com>",
|
"author": "syuilo <i@syuilo.com>",
|
||||||
"version": "0.0.1576",
|
"version": "0.0.1578",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "A miniblog-based SNS",
|
"description": "A miniblog-based SNS",
|
||||||
"bugs": "https://github.com/syuilo/misskey/issues",
|
"bugs": "https://github.com/syuilo/misskey/issues",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<mk-messaging-message data-is-me={ message.is_me }><a class="avatar-anchor" href={ CONFIG.url + '/' + message.user.username } title={ message.user.username } target="_blank"><img class="avatar" src={ message.user.avatar_url + '?thumbnail&size=64' } alt=""/></a>
|
<mk-messaging-message data-is-me={ message.is_me }><a class="avatar-anchor" href={ '/' + message.user.username } title={ message.user.username } target="_blank"><img class="avatar" src={ message.user.avatar_url + '?thumbnail&size=64' } alt=""/></a>
|
||||||
<div class="content-container">
|
<div class="content-container">
|
||||||
<div class="balloon">
|
<div class="balloon">
|
||||||
<p class="read" if={ message.is_me && message.is_read }>%i18n:common.tags.mk-messaging-message.is-read%</p>
|
<p class="read" if={ message.is_me && message.is_read }>%i18n:common.tags.mk-messaging-message.is-read%</p>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<label class="username">
|
<label class="username">
|
||||||
<p class="caption"><i class="fa fa-at"></i>%i18n:common.tags.mk-signup.username%</p>
|
<p class="caption"><i class="fa fa-at"></i>%i18n:common.tags.mk-signup.username%</p>
|
||||||
<input ref="username" type="text" pattern="^[a-zA-Z0-9-]{3,20}$" placeholder="a~z、A~Z、0~9、-" autocomplete="off" required="required" onkeyup={ onChangeUsername }/>
|
<input ref="username" type="text" pattern="^[a-zA-Z0-9-]{3,20}$" placeholder="a~z、A~Z、0~9、-" autocomplete="off" required="required" onkeyup={ onChangeUsername }/>
|
||||||
<p class="profile-page-url-preview" if={ refs.username.value != '' && username-state != 'invalidFormat' && username-state != 'minRange' && username-state != 'maxRange' }>{ CONFIG.url + '/' + refs.username.value }</p>
|
<p class="profile-page-url-preview" if={ refs.username.value != '' && username-state != 'invalidFormat' && username-state != 'minRange' && username-state != 'maxRange' }>{ '/' + refs.username.value }</p>
|
||||||
<p class="info" if={ usernameState == 'wait' } style="color:#999"><i class="fa fa-fw fa-spinner fa-pulse"></i>%i18n:common.tags.mk-signup.checking%</p>
|
<p class="info" if={ usernameState == 'wait' } style="color:#999"><i class="fa fa-fw fa-spinner fa-pulse"></i>%i18n:common.tags.mk-signup.checking%</p>
|
||||||
<p class="info" if={ usernameState == 'ok' } style="color:#3CB7B5"><i class="fa fa-fw fa-check"></i>%i18n:common.tags.mk-signup.available%</p>
|
<p class="info" if={ usernameState == 'ok' } style="color:#3CB7B5"><i class="fa fa-fw fa-check"></i>%i18n:common.tags.mk-signup.available%</p>
|
||||||
<p class="info" if={ usernameState == 'unavailable' } style="color:#FF1161"><i class="fa fa-fw fa-exclamation-triangle"></i>%i18n:common.tags.mk-signup.unavailable%</p>
|
<p class="info" if={ usernameState == 'unavailable' } style="color:#FF1161"><i class="fa fa-fw fa-exclamation-triangle"></i>%i18n:common.tags.mk-signup.unavailable%</p>
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<mk-following-setuper>
|
<mk-following-setuper>
|
||||||
<p class="title">気になるユーザーをフォロー:</p>
|
<p class="title">気になるユーザーをフォロー:</p>
|
||||||
<div class="users" if={ !fetching && users.length > 0 }>
|
<div class="users" if={ !fetching && users.length > 0 }>
|
||||||
<div class="user" each={ users }><a class="avatar-anchor" href={ CONFIG.url + '/' + username }><img class="avatar" src={ avatar_url + '?thumbnail&size=42' } alt="" data-user-preview={ id }/></a>
|
<div class="user" each={ users }><a class="avatar-anchor" href={ '/' + username }><img class="avatar" src={ avatar_url + '?thumbnail&size=42' } alt="" data-user-preview={ id }/></a>
|
||||||
<div class="body"><a class="name" href={ CONFIG.url + '/' + username } target="_blank" data-user-preview={ id }>{ name }</a>
|
<div class="body"><a class="name" href={ '/' + username } target="_blank" data-user-preview={ id }>{ name }</a>
|
||||||
<p class="username">@{ username }</p>
|
<p class="username">@{ username }</p>
|
||||||
</div>
|
</div>
|
||||||
<mk-follow-button user={ this }></mk-follow-button>
|
<mk-follow-button user={ this }></mk-follow-button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<mk-profile-home-widget>
|
<mk-profile-home-widget>
|
||||||
<div class="banner" style={ I.banner_url ? 'background-image: url(' + I.banner_url + '?thumbnail&size=256)' : '' } title="クリックでバナー編集" onclick={ setBanner }></div><img class="avatar" src={ I.avatar_url + '?thumbnail&size=64' } onclick={ setAvatar } alt="avatar" title="クリックでアバター編集" data-user-preview={ I.id }/><a class="name" href={ CONFIG.url + '/' + I.username }>{ I.name }</a>
|
<div class="banner" style={ I.banner_url ? 'background-image: url(' + I.banner_url + '?thumbnail&size=256)' : '' } title="クリックでバナー編集" onclick={ setBanner }></div><img class="avatar" src={ I.avatar_url + '?thumbnail&size=64' } onclick={ setAvatar } alt="avatar" title="クリックでアバター編集" data-user-preview={ I.id }/><a class="name" href={ '/' + I.username }>{ I.name }</a>
|
||||||
<p class="username">@{ I.username }</p>
|
<p class="username">@{ I.username }</p>
|
||||||
<style>
|
<style>
|
||||||
:scope
|
:scope
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
<p class="title"><i class="fa fa-users"></i>%i18n:desktop.tags.mk-user-recommendation-home-widget.title%</p>
|
<p class="title"><i class="fa fa-users"></i>%i18n:desktop.tags.mk-user-recommendation-home-widget.title%</p>
|
||||||
<button onclick={ refresh } title="%i18n:desktop.tags.mk-user-recommendation-home-widget.refresh%"><i class="fa fa-refresh"></i></button>
|
<button onclick={ refresh } title="%i18n:desktop.tags.mk-user-recommendation-home-widget.refresh%"><i class="fa fa-refresh"></i></button>
|
||||||
<div class="user" if={ !loading && users.length != 0 } each={ _user in users }>
|
<div class="user" if={ !loading && users.length != 0 } each={ _user in users }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + _user.username }>
|
<a class="avatar-anchor" href={ '/' + _user.username }>
|
||||||
<img class="avatar" src={ _user.avatar_url + '?thumbnail&size=42' } alt="" data-user-preview={ _user.id }/>
|
<img class="avatar" src={ _user.avatar_url + '?thumbnail&size=42' } alt="" data-user-preview={ _user.id }/>
|
||||||
</a>
|
</a>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<a class="name" href={ CONFIG.url + '/' + _user.username } data-user-preview={ _user.id }>{ _user.name }</a>
|
<a class="name" href={ '/' + _user.username } data-user-preview={ _user.id }>{ _user.name }</a>
|
||||||
<p class="username">@{ _user.username }</p>
|
<p class="username">@{ _user.username }</p>
|
||||||
</div>
|
</div>
|
||||||
<mk-follow-button user={ _user }></mk-follow-button>
|
<mk-follow-button user={ _user }></mk-follow-button>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<mk-list-user>
|
<mk-list-user>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + user.username }>
|
<a class="avatar-anchor" href={ '/' + user.username }>
|
||||||
<img class="avatar" src={ user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
<img class="avatar" src={ user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<header>
|
<header>
|
||||||
<a class="name" href={ CONFIG.url + '/' + user.username }>{ user.name }</a>
|
<a class="name" href={ '/' + user.username }>{ user.name }</a>
|
||||||
<span class="username">@{ user.username }</span>
|
<span class="username">@{ user.username }</span>
|
||||||
</header>
|
</header>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
|
|
|
@ -4,59 +4,59 @@
|
||||||
<div class="notification { notification.type }">
|
<div class="notification { notification.type }">
|
||||||
<mk-time time={ notification.created_at }></mk-time>
|
<mk-time time={ notification.created_at }></mk-time>
|
||||||
<virtual if={ notification.type == 'reaction' }>
|
<virtual if={ notification.type == 'reaction' }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + notification.user.username } data-user-preview={ notification.user.id }>
|
<a class="avatar-anchor" href={ '/' + notification.user.username } data-user-preview={ notification.user.id }>
|
||||||
<img class="avatar" src={ notification.user.avatar_url + '?thumbnail&size=48' } alt="avatar"/>
|
<img class="avatar" src={ notification.user.avatar_url + '?thumbnail&size=48' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p><mk-reaction-icon reaction={ notification.reaction }></mk-reaction-icon><a href={ CONFIG.url + '/' + notification.user.username } data-user-preview={ notification.user.id }>{ notification.user.name }</a></p><a class="post-ref" href={ CONFIG.url + '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
<p><mk-reaction-icon reaction={ notification.reaction }></mk-reaction-icon><a href={ '/' + notification.user.username } data-user-preview={ notification.user.id }>{ notification.user.name }</a></p><a class="post-ref" href={ '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
||||||
</div>
|
</div>
|
||||||
</virtual>
|
</virtual>
|
||||||
<virtual if={ notification.type == 'repost' }>
|
<virtual if={ notification.type == 'repost' }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>
|
<a class="avatar-anchor" href={ '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>
|
||||||
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=48' } alt="avatar"/>
|
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=48' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p><i class="fa fa-retweet"></i><a href={ CONFIG.url + '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>{ notification.post.user.name }</a></p><a class="post-ref" href={ CONFIG.url + '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post.repost) }</a>
|
<p><i class="fa fa-retweet"></i><a href={ '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>{ notification.post.user.name }</a></p><a class="post-ref" href={ '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post.repost) }</a>
|
||||||
</div>
|
</div>
|
||||||
</virtual>
|
</virtual>
|
||||||
<virtual if={ notification.type == 'quote' }>
|
<virtual if={ notification.type == 'quote' }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>
|
<a class="avatar-anchor" href={ '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>
|
||||||
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=48' } alt="avatar"/>
|
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=48' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p><i class="fa fa-quote-left"></i><a href={ CONFIG.url + '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>{ notification.post.user.name }</a></p><a class="post-preview" href={ CONFIG.url + '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
<p><i class="fa fa-quote-left"></i><a href={ '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>{ notification.post.user.name }</a></p><a class="post-preview" href={ '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
||||||
</div>
|
</div>
|
||||||
</virtual>
|
</virtual>
|
||||||
<virtual if={ notification.type == 'follow' }>
|
<virtual if={ notification.type == 'follow' }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + notification.user.username } data-user-preview={ notification.user.id }>
|
<a class="avatar-anchor" href={ '/' + notification.user.username } data-user-preview={ notification.user.id }>
|
||||||
<img class="avatar" src={ notification.user.avatar_url + '?thumbnail&size=48' } alt="avatar"/>
|
<img class="avatar" src={ notification.user.avatar_url + '?thumbnail&size=48' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p><i class="fa fa-user-plus"></i><a href={ CONFIG.url + '/' + notification.user.username } data-user-preview={ notification.user.id }>{ notification.user.name }</a></p>
|
<p><i class="fa fa-user-plus"></i><a href={ '/' + notification.user.username } data-user-preview={ notification.user.id }>{ notification.user.name }</a></p>
|
||||||
</div>
|
</div>
|
||||||
</virtual>
|
</virtual>
|
||||||
<virtual if={ notification.type == 'reply' }>
|
<virtual if={ notification.type == 'reply' }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>
|
<a class="avatar-anchor" href={ '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>
|
||||||
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=48' } alt="avatar"/>
|
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=48' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p><i class="fa fa-reply"></i><a href={ CONFIG.url + '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>{ notification.post.user.name }</a></p><a class="post-preview" href={ CONFIG.url + '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
<p><i class="fa fa-reply"></i><a href={ '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>{ notification.post.user.name }</a></p><a class="post-preview" href={ '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
||||||
</div>
|
</div>
|
||||||
</virtual>
|
</virtual>
|
||||||
<virtual if={ notification.type == 'mention' }>
|
<virtual if={ notification.type == 'mention' }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>
|
<a class="avatar-anchor" href={ '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>
|
||||||
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=48' } alt="avatar"/>
|
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=48' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p><i class="fa fa-at"></i><a href={ CONFIG.url + '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>{ notification.post.user.name }</a></p><a class="post-preview" href={ CONFIG.url + '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
<p><i class="fa fa-at"></i><a href={ '/' + notification.post.user.username } data-user-preview={ notification.post.user_id }>{ notification.post.user.name }</a></p><a class="post-preview" href={ '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
||||||
</div>
|
</div>
|
||||||
</virtual>
|
</virtual>
|
||||||
<virtual if={ notification.type == 'poll_vote' }>
|
<virtual if={ notification.type == 'poll_vote' }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + notification.user.username } data-user-preview={ notification.user.id }>
|
<a class="avatar-anchor" href={ '/' + notification.user.username } data-user-preview={ notification.user.id }>
|
||||||
<img class="avatar" src={ notification.user.avatar_url + '?thumbnail&size=48' } alt="avatar"/>
|
<img class="avatar" src={ notification.user.avatar_url + '?thumbnail&size=48' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p><i class="fa fa-pie-chart"></i><a href={ CONFIG.url + '/' + notification.user.username } data-user-preview={ notification.user.id }>{ notification.user.name }</a></p><a class="post-ref" href={ CONFIG.url + '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
<p><i class="fa fa-pie-chart"></i><a href={ '/' + notification.user.username } data-user-preview={ notification.user.id }>{ notification.user.name }</a></p><a class="post-ref" href={ '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
||||||
</div>
|
</div>
|
||||||
</virtual>
|
</virtual>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<mk-post-detail-sub title={ title }>
|
<mk-post-detail-sub title={ title }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + post.user.username }>
|
<a class="avatar-anchor" href={ '/' + post.user.username }>
|
||||||
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=64' } alt="avatar" data-user-preview={ post.user_id }/>
|
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=64' } alt="avatar" data-user-preview={ post.user_id }/>
|
||||||
</a>
|
</a>
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<header>
|
<header>
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<a class="name" href={ CONFIG.url + '/' + post.user.username } data-user-preview={ post.user_id }>{ post.user.name }</a>
|
<a class="name" href={ '/' + post.user.username } data-user-preview={ post.user_id }>{ post.user.name }</a>
|
||||||
<span class="username">@{ post.user.username }</span>
|
<span class="username">@{ post.user.username }</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
|
|
|
@ -17,21 +17,21 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="repost" if={ isRepost }>
|
<div class="repost" if={ isRepost }>
|
||||||
<p>
|
<p>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + post.user.username } data-user-preview={ post.user_id }>
|
<a class="avatar-anchor" href={ '/' + post.user.username } data-user-preview={ post.user_id }>
|
||||||
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=32' } alt="avatar"/>
|
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=32' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<i class="fa fa-retweet"></i><a class="name" href={ CONFIG.url + '/' + post.user.username }>
|
<i class="fa fa-retweet"></i><a class="name" href={ '/' + post.user.username }>
|
||||||
{ post.user.name }
|
{ post.user.name }
|
||||||
</a>
|
</a>
|
||||||
がRepost
|
がRepost
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<article>
|
<article>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + p.user.username }>
|
<a class="avatar-anchor" href={ '/' + p.user.username }>
|
||||||
<img class="avatar" src={ p.user.avatar_url + '?thumbnail&size=64' } alt="avatar" data-user-preview={ p.user.id }/>
|
<img class="avatar" src={ p.user.avatar_url + '?thumbnail&size=64' } alt="avatar" data-user-preview={ p.user.id }/>
|
||||||
</a>
|
</a>
|
||||||
<header>
|
<header>
|
||||||
<a class="name" href={ CONFIG.url + '/' + p.user.username } data-user-preview={ p.user.id }>{ p.user.name }</a>
|
<a class="name" href={ '/' + p.user.username } data-user-preview={ p.user.id }>{ p.user.name }</a>
|
||||||
<span class="username">@{ p.user.username }</span>
|
<span class="username">@{ p.user.username }</span>
|
||||||
<a class="time" href={ url }>
|
<a class="time" href={ url }>
|
||||||
<mk-time time={ p.created_at }></mk-time>
|
<mk-time time={ p.created_at }></mk-time>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<mk-post-preview title={ title }>
|
<mk-post-preview title={ title }>
|
||||||
<article><a class="avatar-anchor" href={ CONFIG.url + '/' + post.user.username }><img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=64' } alt="avatar" data-user-preview={ post.user_id }/></a>
|
<article><a class="avatar-anchor" href={ '/' + post.user.username }><img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=64' } alt="avatar" data-user-preview={ post.user_id }/></a>
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<header><a class="name" href={ CONFIG.url + '/' + post.user.username } data-user-preview={ post.user_id }>{ post.user.name }</a><span class="username">@{ post.user.username }</span><a class="time" href={ CONFIG.url + '/' + post.user.username + '/' + post.id }>
|
<header><a class="name" href={ '/' + post.user.username } data-user-preview={ post.user_id }>{ post.user.name }</a><span class="username">@{ post.user.username }</span><a class="time" href={ '/' + post.user.username + '/' + post.id }>
|
||||||
<mk-time time={ post.created_at }></mk-time></a></header>
|
<mk-time time={ post.created_at }></mk-time></a></header>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<mk-sub-post-content class="text" post={ post }></mk-sub-post-content>
|
<mk-sub-post-content class="text" post={ post }></mk-sub-post-content>
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<mk-timeline-post-sub title={ title }>
|
<mk-timeline-post-sub title={ title }>
|
||||||
<article>
|
<article>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + post.user.username }>
|
<a class="avatar-anchor" href={ '/' + post.user.username }>
|
||||||
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=64' } alt="avatar" data-user-preview={ post.user_id }/>
|
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=64' } alt="avatar" data-user-preview={ post.user_id }/>
|
||||||
</a>
|
</a>
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<header>
|
<header>
|
||||||
<a class="name" href={ CONFIG.url + '/' + post.user.username } data-user-preview={ post.user_id }>{ post.user.name }</a>
|
<a class="name" href={ '/' + post.user.username } data-user-preview={ post.user_id }>{ post.user.name }</a>
|
||||||
<span class="username">@{ post.user.username }</span>
|
<span class="username">@{ post.user.username }</span>
|
||||||
<a class="created-at" href={ CONFIG.url + '/' + post.user.username + '/' + post.id }>
|
<a class="created-at" href={ '/' + post.user.username + '/' + post.id }>
|
||||||
<mk-time time={ post.created_at }></mk-time>
|
<mk-time time={ post.created_at }></mk-time>
|
||||||
</a>
|
</a>
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -4,20 +4,20 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="repost" if={ isRepost }>
|
<div class="repost" if={ isRepost }>
|
||||||
<p>
|
<p>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + post.user.username } data-user-preview={ post.user_id }>
|
<a class="avatar-anchor" href={ '/' + post.user.username } data-user-preview={ post.user_id }>
|
||||||
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=32' } alt="avatar"/>
|
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=32' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<i class="fa fa-retweet"></i>{'%i18n:desktop.tags.mk-timeline-post.reposted-by%'.substr(0, '%i18n:desktop.tags.mk-timeline-post.reposted-by%'.indexOf('{'))}<a class="name" href={ CONFIG.url + '/' + post.user.username } data-user-preview={ post.user_id }>{ post.user.name }</a>{'%i18n:desktop.tags.mk-timeline-post.reposted-by%'.substr('%i18n:desktop.tags.mk-timeline-post.reposted-by%'.indexOf('}') + 1)}
|
<i class="fa fa-retweet"></i>{'%i18n:desktop.tags.mk-timeline-post.reposted-by%'.substr(0, '%i18n:desktop.tags.mk-timeline-post.reposted-by%'.indexOf('{'))}<a class="name" href={ '/' + post.user.username } data-user-preview={ post.user_id }>{ post.user.name }</a>{'%i18n:desktop.tags.mk-timeline-post.reposted-by%'.substr('%i18n:desktop.tags.mk-timeline-post.reposted-by%'.indexOf('}') + 1)}
|
||||||
</p>
|
</p>
|
||||||
<mk-time time={ post.created_at }></mk-time>
|
<mk-time time={ post.created_at }></mk-time>
|
||||||
</div>
|
</div>
|
||||||
<article>
|
<article>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + p.user.username }>
|
<a class="avatar-anchor" href={ '/' + p.user.username }>
|
||||||
<img class="avatar" src={ p.user.avatar_url + '?thumbnail&size=64' } alt="avatar" data-user-preview={ p.user.id }/>
|
<img class="avatar" src={ p.user.avatar_url + '?thumbnail&size=64' } alt="avatar" data-user-preview={ p.user.id }/>
|
||||||
</a>
|
</a>
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<header>
|
<header>
|
||||||
<a class="name" href={ CONFIG.url + '/' + p.user.username } data-user-preview={ p.user.id }>{ p.user.name }</a>
|
<a class="name" href={ '/' + p.user.username } data-user-preview={ p.user.id }>{ p.user.name }</a>
|
||||||
<span class="is-bot" if={ p.user.is_bot }>bot</span>
|
<span class="is-bot" if={ p.user.is_bot }>bot</span>
|
||||||
<span class="username">@{ p.user.username }</span>
|
<span class="username">@{ p.user.username }</span>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<mk-user-header data-is-dark-background={ user.banner_url != null }>
|
<mk-user-header data-is-dark-background={ user.banner_url != null }>
|
||||||
<div class="banner" ref="banner" style={ user.banner_url ? 'background-image: url(' + user.banner_url + '?thumbnail&size=1024)' : '' } onclick={ onUpdateBanner }></div><img class="avatar" src={ user.avatar_url + '?thumbnail&size=150' } alt="avatar"/>
|
<div class="banner" ref="banner" style={ user.banner_url ? 'background-image: url(' + user.banner_url + '?thumbnail&size=1024)' : '' } onclick={ onUpdateBanner }></div><img class="avatar" src={ user.avatar_url + '?thumbnail&size=150' } alt="avatar"/>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<p class="name" href={ CONFIG.url + '/' + user.username }>{ user.name }</p>
|
<p class="name" href={ '/' + user.username }>{ user.name }</p>
|
||||||
<p class="username">@{ user.username }</p>
|
<p class="username">@{ user.username }</p>
|
||||||
<p class="location" if={ user.profile.location }><i class="fa fa-map-marker"></i>{ user.profile.location }</p>
|
<p class="location" if={ user.profile.location }><i class="fa fa-map-marker"></i>{ user.profile.location }</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<mk-user-preview>
|
<mk-user-preview>
|
||||||
<virtual if={ user != null }>
|
<virtual if={ user != null }>
|
||||||
<div class="banner" style={ user.banner_url ? 'background-image: url(' + user.banner_url + '?thumbnail&size=512)' : '' }></div><a class="avatar" href={ CONFIG.url + '/' + user.username } target="_blank"><img src={ user.avatar_url + '?thumbnail&size=64' } alt="avatar"/></a>
|
<div class="banner" style={ user.banner_url ? 'background-image: url(' + user.banner_url + '?thumbnail&size=512)' : '' }></div><a class="avatar" href={ '/' + user.username } target="_blank"><img src={ user.avatar_url + '?thumbnail&size=64' } alt="avatar"/></a>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<p class="name">{ user.name }</p>
|
<p class="name">{ user.name }</p>
|
||||||
<p class="username">@{ user.username }</p>
|
<p class="username">@{ user.username }</p>
|
||||||
|
|
|
@ -1,86 +1,86 @@
|
||||||
<mk-notification class={ notification.type }>
|
<mk-notification class={ notification.type }>
|
||||||
<mk-time time={ notification.created_at }></mk-time>
|
<mk-time time={ notification.created_at }></mk-time>
|
||||||
<virtual if={ notification.type == 'reaction' }>
|
<virtual if={ notification.type == 'reaction' }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + notification.user.username }>
|
<a class="avatar-anchor" href={ '/' + notification.user.username }>
|
||||||
<img class="avatar" src={ notification.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
<img class="avatar" src={ notification.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p>
|
<p>
|
||||||
<mk-reaction-icon reaction={ notification.reaction }></mk-reaction-icon>
|
<mk-reaction-icon reaction={ notification.reaction }></mk-reaction-icon>
|
||||||
<a href={ CONFIG.url + '/' + notification.user.username }>{ notification.user.name }</a>
|
<a href={ '/' + notification.user.username }>{ notification.user.name }</a>
|
||||||
</p>
|
</p>
|
||||||
<a class="post-ref" href={ CONFIG.url + '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
<a class="post-ref" href={ '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
||||||
</div>
|
</div>
|
||||||
</virtual>
|
</virtual>
|
||||||
<virtual if={ notification.type == 'repost' }>
|
<virtual if={ notification.type == 'repost' }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + notification.post.user.username }>
|
<a class="avatar-anchor" href={ '/' + notification.post.user.username }>
|
||||||
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p>
|
<p>
|
||||||
<i class="fa fa-retweet"></i>
|
<i class="fa fa-retweet"></i>
|
||||||
<a href={ CONFIG.url + '/' + notification.post.user.username }>{ notification.post.user.name }</a>
|
<a href={ '/' + notification.post.user.username }>{ notification.post.user.name }</a>
|
||||||
</p>
|
</p>
|
||||||
<a class="post-ref" href={ CONFIG.url + '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post.repost) }</a>
|
<a class="post-ref" href={ '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post.repost) }</a>
|
||||||
</div>
|
</div>
|
||||||
</virtual>
|
</virtual>
|
||||||
<virtual if={ notification.type == 'quote' }>
|
<virtual if={ notification.type == 'quote' }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + notification.post.user.username }>
|
<a class="avatar-anchor" href={ '/' + notification.post.user.username }>
|
||||||
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p>
|
<p>
|
||||||
<i class="fa fa-quote-left"></i>
|
<i class="fa fa-quote-left"></i>
|
||||||
<a href={ CONFIG.url + '/' + notification.post.user.username }>{ notification.post.user.name }</a>
|
<a href={ '/' + notification.post.user.username }>{ notification.post.user.name }</a>
|
||||||
</p>
|
</p>
|
||||||
<a class="post-preview" href={ CONFIG.url + '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
<a class="post-preview" href={ '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
||||||
</div>
|
</div>
|
||||||
</virtual>
|
</virtual>
|
||||||
<virtual if={ notification.type == 'follow' }>
|
<virtual if={ notification.type == 'follow' }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + notification.user.username }>
|
<a class="avatar-anchor" href={ '/' + notification.user.username }>
|
||||||
<img class="avatar" src={ notification.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
<img class="avatar" src={ notification.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p>
|
<p>
|
||||||
<i class="fa fa-user-plus"></i>
|
<i class="fa fa-user-plus"></i>
|
||||||
<a href={ CONFIG.url + '/' + notification.user.username }>{ notification.user.name }</a>
|
<a href={ '/' + notification.user.username }>{ notification.user.name }</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</virtual>
|
</virtual>
|
||||||
<virtual if={ notification.type == 'reply' }>
|
<virtual if={ notification.type == 'reply' }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + notification.post.user.username }>
|
<a class="avatar-anchor" href={ '/' + notification.post.user.username }>
|
||||||
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p>
|
<p>
|
||||||
<i class="fa fa-reply"></i>
|
<i class="fa fa-reply"></i>
|
||||||
<a href={ CONFIG.url + '/' + notification.post.user.username }>{ notification.post.user.name }</a>
|
<a href={ '/' + notification.post.user.username }>{ notification.post.user.name }</a>
|
||||||
</p>
|
</p>
|
||||||
<a class="post-preview" href={ CONFIG.url + '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
<a class="post-preview" href={ '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
||||||
</div>
|
</div>
|
||||||
</virtual>
|
</virtual>
|
||||||
<virtual if={ notification.type == 'mention' }>
|
<virtual if={ notification.type == 'mention' }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + notification.post.user.username }>
|
<a class="avatar-anchor" href={ '/' + notification.post.user.username }>
|
||||||
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
<img class="avatar" src={ notification.post.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p>
|
<p>
|
||||||
<i class="fa fa-at"></i>
|
<i class="fa fa-at"></i>
|
||||||
<a href={ CONFIG.url + '/' + notification.post.user.username }>{ notification.post.user.name }</a>
|
<a href={ '/' + notification.post.user.username }>{ notification.post.user.name }</a>
|
||||||
</p>
|
</p>
|
||||||
<a class="post-preview" href={ CONFIG.url + '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
<a class="post-preview" href={ '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
||||||
</div>
|
</div>
|
||||||
</virtual>
|
</virtual>
|
||||||
<virtual if={ notification.type == 'poll_vote' }>
|
<virtual if={ notification.type == 'poll_vote' }>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + notification.user.username }>
|
<a class="avatar-anchor" href={ '/' + notification.user.username }>
|
||||||
<img class="avatar" src={ notification.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
<img class="avatar" src={ notification.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p>
|
<p>
|
||||||
<i class="fa fa-pie-chart"></i>
|
<i class="fa fa-pie-chart"></i>
|
||||||
<a href={ CONFIG.url + '/' + notification.user.username }>{ notification.user.name }</a>
|
<a href={ '/' + notification.user.username }>{ notification.user.name }</a>
|
||||||
</p>
|
</p>
|
||||||
<a class="post-ref" href={ CONFIG.url + '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
<a class="post-ref" href={ '/' + notification.post.user.username + '/' + notification.post.id }>{ getPostSummary(notification.post) }</a>
|
||||||
</div>
|
</div>
|
||||||
</virtual>
|
</virtual>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -17,9 +17,9 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="repost" if={ isRepost }>
|
<div class="repost" if={ isRepost }>
|
||||||
<p>
|
<p>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + post.user.username }>
|
<a class="avatar-anchor" href={ '/' + post.user.username }>
|
||||||
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=32' } alt="avatar"/></a>
|
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=32' } alt="avatar"/></a>
|
||||||
<i class="fa fa-retweet"></i><a class="name" href={ CONFIG.url + '/' + post.user.username }>
|
<i class="fa fa-retweet"></i><a class="name" href={ '/' + post.user.username }>
|
||||||
{ post.user.name }
|
{ post.user.name }
|
||||||
</a>
|
</a>
|
||||||
がRepost
|
がRepost
|
||||||
|
@ -27,11 +27,11 @@
|
||||||
</div>
|
</div>
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + p.user.username }>
|
<a class="avatar-anchor" href={ '/' + p.user.username }>
|
||||||
<img class="avatar" src={ p.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
<img class="avatar" src={ p.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div>
|
<div>
|
||||||
<a class="name" href={ CONFIG.url + '/' + p.user.username }>{ p.user.name }</a>
|
<a class="name" href={ '/' + p.user.username }>{ p.user.name }</a>
|
||||||
<span class="username">@{ p.user.username }</span>
|
<span class="username">@{ p.user.username }</span>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<mk-post-preview>
|
<mk-post-preview>
|
||||||
<article>
|
<article>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + post.user.username }>
|
<a class="avatar-anchor" href={ '/' + post.user.username }>
|
||||||
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<header>
|
<header>
|
||||||
<a class="name" href={ CONFIG.url + '/' + post.user.username }>{ post.user.name }</a>
|
<a class="name" href={ '/' + post.user.username }>{ post.user.name }</a>
|
||||||
<span class="username">@{ post.user.username }</span>
|
<span class="username">@{ post.user.username }</span>
|
||||||
<a class="time" href={ CONFIG.url + '/' + post.user.username + '/' + post.id }>
|
<a class="time" href={ '/' + post.user.username + '/' + post.id }>
|
||||||
<mk-time time={ post.created_at }></mk-time>
|
<mk-time time={ post.created_at }></mk-time>
|
||||||
</a>
|
</a>
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -4,20 +4,20 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="repost" if={ isRepost }>
|
<div class="repost" if={ isRepost }>
|
||||||
<p>
|
<p>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + post.user.username }>
|
<a class="avatar-anchor" href={ '/' + post.user.username }>
|
||||||
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
<img class="avatar" src={ post.user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<i class="fa fa-retweet"></i>{'%i18n:mobile.tags.mk-timeline-post.reposted-by%'.substr(0, '%i18n:mobile.tags.mk-timeline-post.reposted-by%'.indexOf('{'))}<a class="name" href={ CONFIG.url + '/' + post.user.username }>{ post.user.name }</a>{'%i18n:mobile.tags.mk-timeline-post.reposted-by%'.substr('%i18n:mobile.tags.mk-timeline-post.reposted-by%'.indexOf('}') + 1)}
|
<i class="fa fa-retweet"></i>{'%i18n:mobile.tags.mk-timeline-post.reposted-by%'.substr(0, '%i18n:mobile.tags.mk-timeline-post.reposted-by%'.indexOf('{'))}<a class="name" href={ '/' + post.user.username }>{ post.user.name }</a>{'%i18n:mobile.tags.mk-timeline-post.reposted-by%'.substr('%i18n:mobile.tags.mk-timeline-post.reposted-by%'.indexOf('}') + 1)}
|
||||||
</p>
|
</p>
|
||||||
<mk-time time={ post.created_at }></mk-time>
|
<mk-time time={ post.created_at }></mk-time>
|
||||||
</div>
|
</div>
|
||||||
<article>
|
<article>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + p.user.username }>
|
<a class="avatar-anchor" href={ '/' + p.user.username }>
|
||||||
<img class="avatar" src={ p.user.avatar_url + '?thumbnail&size=96' } alt="avatar"/>
|
<img class="avatar" src={ p.user.avatar_url + '?thumbnail&size=96' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<header>
|
<header>
|
||||||
<a class="name" href={ CONFIG.url + '/' + p.user.username }>{ p.user.name }</a>
|
<a class="name" href={ '/' + p.user.username }>{ p.user.name }</a>
|
||||||
<span class="is-bot" if={ p.user.is_bot }>bot</span>
|
<span class="is-bot" if={ p.user.is_bot }>bot</span>
|
||||||
<span class="username">@{ p.user.username }</span>
|
<span class="username">@{ p.user.username }</span>
|
||||||
<a class="created-at" href={ url }>
|
<a class="created-at" href={ url }>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<mk-ui-nav>
|
<mk-ui-nav>
|
||||||
<div class="backdrop" onclick={ parent.toggleDrawer }></div>
|
<div class="backdrop" onclick={ parent.toggleDrawer }></div>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<a class="me" if={ SIGNIN } href={ CONFIG.url + '/' + I.username }>
|
<a class="me" if={ SIGNIN } href={ '/' + I.username }>
|
||||||
<img class="avatar" src={ I.avatar_url + '?thumbnail&size=128' } alt="avatar"/>
|
<img class="avatar" src={ I.avatar_url + '?thumbnail&size=128' } alt="avatar"/>
|
||||||
<p class="name">{ I.name }</p>
|
<p class="name">{ I.name }</p>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<mk-user-preview>
|
<mk-user-preview>
|
||||||
<a class="avatar-anchor" href={ CONFIG.url + '/' + user.username }>
|
<a class="avatar-anchor" href={ '/' + user.username }>
|
||||||
<img class="avatar" src={ user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
<img class="avatar" src={ user.avatar_url + '?thumbnail&size=64' } alt="avatar"/>
|
||||||
</a>
|
</a>
|
||||||
<div class="main">
|
<div class="main">
|
||||||
<header>
|
<header>
|
||||||
<a class="name" href={ CONFIG.url + '/' + user.username }>{ user.name }</a>
|
<a class="name" href={ '/' + user.username }>{ user.name }</a>
|
||||||
<span class="username">@{ user.username }</span>
|
<span class="username">@{ user.username }</span>
|
||||||
</header>
|
</header>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
|
|
Loading…
Reference in a new issue