Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @extends('books.layout.layout')
- @section('content')
- <h1 class="text-center" style="margin: 1rem;">Popularne książki</h1>
- <hr>
- <div class="row mx-auto">
- @foreach($books as $book)
- <div class="card float-left mx-auto" style="width: 20rem; margin: 1rem;">
- <img class="card-img" width="50px" src="uploads/{{$book->img}}" alt="Card image cap">
- <div class="card-body text-center">
- <h4 class="card-title ">{{$book->title}}</h4><a href><button type="button" class="btn btn-outline-info btn-info">{{$book->category}}</button></a> <button type="button" class="btn btn-outline-secondary" style="margin: 2%;">{{$book->author}}</button>
- </p>
- <a href="#" class="btn btn-primary">Szczegóły</a>
- </div>
- </div>
- @endforeach
- </div>
- @endsection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement