Update vue components

This commit is contained in:
Daniel Supernault 2020-11-25 18:00:49 -07:00
parent 2ab2c9a974
commit 0d3575fea4
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 7 additions and 7 deletions

View file

@ -81,7 +81,7 @@
</div>
</div>
</section>
<section class="pt-5 mb-5 section-explore">
<section v-if="posts.length" class="pt-5 mb-5 section-explore">
<div class="profile-timeline pt-3">
<div class="row p-0 mt-5">
<!-- <div class="col-12 mb-3 d-flex justify-content-between align-items-center">
@ -284,10 +284,10 @@
})
.then(res => {
if(this.trendingRange == 'daily') {
this.trendingDaily = res.data;
this.trendingDaily = res.data.filter(t => t.sensitive == false);
}
if(this.trendingRange == 'monthly') {
this.trendingMonthly = res.data;
this.trendingMonthly = res.data.filter(t => t.sensitive == false);
}
this.trending = res.data;
});

View file

@ -16,8 +16,8 @@
</span>
</p>
<p class="mb-0 d-none d-md-block">
<a class="btn btn-block btn-primary btn-sm font-weight-bold border" href="/i/compose" data-toggle="modal" data-target="#composeModal">
<i class="fas fa-camera fa-lg pt-1"></i>
<a class="btn btn-block btn-primary btn-sm font-weight-bold" href="/i/compose" data-toggle="modal" data-target="#composeModal">
New Post
</a>
</p>
</div>
@ -379,8 +379,8 @@
</span>
</p>
<p class="mb-0 d-none d-md-block">
<a class="btn btn-block btn-primary btn-sm font-weight-bold border" href="/i/compose" data-toggle="modal" data-target="#composeModal">
<i class="fas fa-camera fa-lg pt-1"></i>
<a class="btn btn-block btn-primary btn-sm font-weight-bold" href="/i/compose" data-toggle="modal" data-target="#composeModal">
New Post
</a>
</p>
</div>