|
@@ -16,9 +16,6 @@
|
|
<span>
|
|
<span>
|
|
<span>{{prettyCount(profile.statuses_count)}}</span> POSTS
|
|
<span>{{prettyCount(profile.statuses_count)}}</span> POSTS
|
|
</span>
|
|
</span>
|
|
- <span>
|
|
|
|
- <span>{{postsPerDay(profile)}}</span> POSTS/DAY
|
|
|
|
- </span>
|
|
|
|
<span>
|
|
<span>
|
|
<span>{{prettyCount(profile.followers_count)}}</span> FOLLOWERS
|
|
<span>{{prettyCount(profile.followers_count)}}</span> FOLLOWERS
|
|
</span>
|
|
</span>
|
|
@@ -105,19 +102,6 @@
|
|
|
|
|
|
thumbUrl(p) {
|
|
thumbUrl(p) {
|
|
return p.media_attachments[0].url;
|
|
return p.media_attachments[0].url;
|
|
- },
|
|
|
|
-
|
|
|
|
- postsPerDay(profile) {
|
|
|
|
- let created = profile.created_at;
|
|
|
|
- let now = Date.now();
|
|
|
|
- let diff = Math.abs(created, now)
|
|
|
|
- let day = 1000 * 60 * 60 * 24;
|
|
|
|
- let days = Math.round(diff / day);
|
|
|
|
-
|
|
|
|
- let statuses = profile.statuses_count;
|
|
|
|
-
|
|
|
|
- let perDay = this.prettyCount(Math.floor(statuses / days));
|
|
|
|
- return perDay;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|