@extends('layouts.app') @php $title = "$chapter->title - $comic->title - Truyện Hay"; $description = "Đọc $chapter->title của $comic->title online miễn phí tại Truyện Hay."; @endphp @section('title', $title) @section('description', $description) @push('head') {!! $structuredData !!} @endpush @push('styles') @endpush @section('content')

{{ $chapter->title }} - Chương {{ $chapter->chapter_number }} - {{ $comic->title }}

@if($comic->author)
edit_note Tác giả: {{ $comic->author->name }}
@endif
image {{ max(0, count($imageUrls) - 2) }} trang
{{-- --}} {{--
visibility {{ number_format($comic->view_count) }} lượt xem
--}}
update {{ $chapter->published_at ? $chapter->published_at->diffForHumans() : 'Mới cập nhật' }}
@if(count($imageUrls) > 0) @foreach($imageUrls as $index => $image) @php // Skip first image (index 0) and last image $isFirstImage = $index === 0; $isLastImage = $index === count($imageUrls) - 1; $shouldSkip = $isFirstImage || $isLastImage; @endphp @if(!$shouldSkip)
Page {{ $image['page'] + 1 }}
@endif @endforeach @else
image_not_supported

Nội dung chương đang được cập nhật...

Vui lòng quay lại sau.

@endif
@if($previousChapter) arrow_back @else @endif @if($nextChapter) arrow_forward @else @endif

forum Bình luận

@if($previousChapter) arrow_back Chương trước @else @endif
@if($nextChapter) arrow_forward Chương sau @else @endif

menu_book Danh sách chương

@endsection @push('scripts') @endpush