Updated styles for auth and books views.

Also added sourcemaps to gulp sass build
This commit is contained in:
Dan Brown
2017-08-26 13:24:55 +01:00
parent 3da8c01c1f
commit 8fcbe44d3e
24 changed files with 291 additions and 229 deletions

View File

@ -39,8 +39,14 @@ class BookController extends Controller
$books = $this->entityRepo->getAllPaginated('book', 20);
$recents = $this->signedIn ? $this->entityRepo->getRecentlyViewed('book', 4, 0) : false;
$popular = $this->entityRepo->getPopular('book', 4, 0);
$new = $this->entityRepo->getRecentlyCreated('book', 4, 0);
$this->setPageTitle('Books');
return view('books/index', ['books' => $books, 'recents' => $recents, 'popular' => $popular]);
return view('books/index', [
'books' => $books,
'recents' => $recents,
'popular' => $popular,
'new' => $new
]);
}
/**