Almost complete site

Add dark / light theme

Add social sharing on meme pages

Add approving / pending admin section

Improve design

Add pagination on profiles

Make front end date time user friendly

Finish rough draft of site

And Much more...

Still need to fix a few minor things before it goes live. Almost
complete.
This commit is contained in:
dev 2021-07-26 19:39:11 -07:00
parent 52a9007882
commit dbfda5cf9e
39 changed files with 54195 additions and 663 deletions

View file

@ -51,6 +51,7 @@ class User extends Authenticatable
public function tips()
{
return $this->hasManyThrough(Tip::class, Meme::class, 'address_id', 'id', 'id', 'address_id');
return $this->hasManyThrough(Tip::class, Meme::class, 'id', 'address_id');
}
@ -61,7 +62,7 @@ class User extends Authenticatable
public function getTipsTotalAttribute()
{
return $this->tips->sum('amount_formatted');
return $this->tips->where('is_deposit', 1)->sum('amount_formatted');
}
}