Changed homepage card header links to be bottom-card-links

The old links in the headers were not obvious. This changes the
header-based links to instead be a link at the bottom of the card.

Related to #3046
This commit is contained in:
Dan Brown
2021-11-23 18:18:49 +00:00
parent 096ed722dd
commit 197caddf96
4 changed files with 24 additions and 10 deletions

View File

@ -39,7 +39,7 @@ class HomeController extends Controller
$recentlyUpdatedPages = Page::visible()->with('book')
->where('draft', false)
->orderBy('updated_at', 'desc')
->take($favourites->count() > 0 ? 6 : 12)
->take($favourites->count() > 0 ? 5 : 10)
->select(Page::$listAttributes)
->get();