|
@@ -34,7 +34,7 @@
|
|
|
<div class="card">
|
|
<div class="card">
|
|
|
<img src="{{ $book['cover'] }}" class="card-img-top" alt="{{ $book['title'] }}" style="max-height: 400px; width: fit-content;">
|
|
<img src="{{ $book['cover'] }}" class="card-img-top" alt="{{ $book['title'] }}" style="max-height: 400px; width: fit-content;">
|
|
|
<div class="card-body text-center">
|
|
<div class="card-body text-center">
|
|
|
- <a href="{{ route('library.book.read', $book['id']) }}" class="btn btn-primary btn-lg w-100 mb-2">
|
|
|
|
|
|
|
+ <a href="{{ route('library.tipitaka.read', $book['id']) }}" class="btn btn-primary btn-lg w-100 mb-2">
|
|
|
<svg class="icon me-2" width="24" height="24">
|
|
<svg class="icon me-2" width="24" height="24">
|
|
|
<use xlink:href="#tabler-book-2"></use>
|
|
<use xlink:href="#tabler-book-2"></use>
|
|
|
</svg>
|
|
</svg>
|
|
@@ -87,7 +87,7 @@
|
|
|
<div class="card-body">
|
|
<div class="card-body">
|
|
|
<div class="list-group">
|
|
<div class="list-group">
|
|
|
@foreach($book['contents'] as $chapter)
|
|
@foreach($book['contents'] as $chapter)
|
|
|
- <a href="{{ route('library.book.read', $chapter['id']) }}?chapter={{ $loop->iteration }}"
|
|
|
|
|
|
|
+ <a href="{{ route('library.tipitaka.read', $chapter['id']) }}?chapter={{ $loop->iteration }}"
|
|
|
class="list-group-item list-group-item-action">
|
|
class="list-group-item list-group-item-action">
|
|
|
<div class="d-flex w-100 justify-content-between">
|
|
<div class="d-flex w-100 justify-content-between">
|
|
|
<h4 class="mb-1">{{ $chapter['title'] }}</h4>
|
|
<h4 class="mb-1">{{ $chapter['title'] }}</h4>
|
|
@@ -125,7 +125,7 @@
|
|
|
<div class="d-flex">
|
|
<div class="d-flex">
|
|
|
<img src="{{ $version['cover'] }}" class="me-3" style="width: 60px; height: 80px; object-fit: cover;" alt="{{ $version['title'] }}">
|
|
<img src="{{ $version['cover'] }}" class="me-3" style="width: 60px; height: 80px; object-fit: cover;" alt="{{ $version['title'] }}">
|
|
|
<div>
|
|
<div>
|
|
|
- <h6><a href="{{ route('library.book.show', $version['id']) }}">{{ $version['title'] }}</a></h6>
|
|
|
|
|
|
|
+ <h6><a href="{{ route('library.tipitaka.show', $version['id']) }}">{{ $version['title'] }}</a></h6>
|
|
|
<div class="text-muted small">{{ $version['author'] }}</div>
|
|
<div class="text-muted small">{{ $version['author'] }}</div>
|
|
|
<div class="text-muted small">{{ $version['language'] ?? '巴利语' }}</div>
|
|
<div class="text-muted small">{{ $version['language'] ?? '巴利语' }}</div>
|
|
|
</div>
|
|
</div>
|