MangaDex/resources/views/chapter.blade.php

40 lines
1.1 KiB
PHP
Raw Permalink Normal View History

2023-08-30 21:15:58 +06:30
@extends('layouts.master')
@section('content')
<h3 class="fw-semibold my-4"> {{ $manga->title }} - {{ $chapter->title }} </h3>
<div class="text-center mx-auto my-5">
2023-09-06 14:37:03 +06:30
@include('partials.chapter-breadcrumb')
2023-08-30 21:15:58 +06:30
<div class="my-4 d-flex justify-content-between">
2023-09-06 14:37:03 +06:30
@include('partials.chapter-select-box')
@include('partials.chapter-paginate')
2023-08-30 21:15:58 +06:30
</div>
{{-- manga images --}}
<div class="mb-4">
@foreach (array_reverse($chapter->images) as $image)
2023-09-06 14:37:03 +06:30
<img src="{{ asset('storage/'.$image) }}" class="mx-auto w-50 my-0" alt="">
2023-08-30 21:15:58 +06:30
@endforeach
</div>
<hr>
2023-09-06 14:37:03 +06:30
<div class="my-4 d-flex justify-content-between">
@include('partials.chapter-select-box')
@include('partials.chapter-paginate')
2023-08-30 21:15:58 +06:30
</div>
2023-09-20 21:19:28 +06:30
<hr>
<!-- comment and reply here -->
<div class="my-4 mb-5 text-start py-5">
@include('partials.discussion')
</div>
2023-08-30 21:15:58 +06:30
</div>
2023-09-20 21:19:28 +06:30
@include('partials.scroll-to-top')
@vite(['resources/js/scroll-to-top.js'])
@endsection
@section('footer')
<x-footer/>
2023-08-30 21:15:58 +06:30
@endsection