@extends('layouts.app') @section('title', 'Truyện Hay - Trang chủ Website đọc truyện') @section('description', 'Nền tảng đọc truyện online miễn phí hàng đầu với kho tàng truyện phong phú, đa dạng thể loại, cập nhật chương mới liên tục hàng ngày.') @section('content') {{-- Hero Section - Featured Comic --}} @if($featuredComic)
SPOTLIGHT HÔM NAY

{{ $featuredComic->title }}

star {{ number_format($featuredComic->rating, 1) }} {{ $featuredComic->author?->name }} {{ $featuredComic->categories->first()?->name ?? '' }}

{{ $featuredComic->description }}

@endif
{{-- Recommended Comics Section --}}

recommend Truyện Đề Cử

Xem tất cả arrow_forward
@foreach($recommendedComics as $comic) @endforeach
{{-- Hot Comics Section --}} @if(isset($hotComics) && count($hotComics) > 0)

local_fire_department Truyện Hot

Xem tất cả arrow_forward
@foreach($hotComics as $comic) @endforeach
@endif {{-- New Comics Section --}} @if(isset($newComics) && count($newComics) > 0)

new_releases Truyện Mới

Xem tất cả arrow_forward
@foreach($newComics as $comic) @endforeach
@endif
{{-- Recently Updated Comics --}}

update Mới Cập Nhật

@foreach($recentlyUpdatedComics as $comic) @endforeach
{{-- Sidebar --}}
{{-- Comics by Popular Genres --}} @if(isset($comicsByGenre) && count($comicsByGenre) > 0)

explore Khám Phá Theo Thể Loại

@foreach($comicsByGenre as $index => $genreData)
{{-- Category Header with Slider Controls --}}

{{ $genreData['category']->name }}

{{-- Slider Navigation --}}
{{-- Slider Container --}}
@foreach($genreData['comics'] as $comic)
@endforeach
{{-- View All Link (Bottom) --}}
@endforeach
@endif {{-- Statistics Section --}} @if(isset($stats))

Con Số Ấn Tượng

Cộng đồng yêu truyện tranh đang phát triển mạnh mẽ

{{ number_format($stats['total_comics']) }}
book Tác Phẩm
{{ number_format($stats['total_authors']) }}
person Tác Giả
{{ number_format($stats['total_categories']) }}
category Thể Loại
{{ number_format(round($stats['total_views'] / 1000000, 1)) }}M {{-- 10.4M --}}
visibility Lượt Xem
@endif {{-- Top Authors Section --}} @if(isset($topAuthors) && count($topAuthors) > 0)

emoji_events Top Tác Giả

Xem tất cả arrow_forward
@endif {{-- Completed Comics Section --}} @if(isset($completedComics) && count($completedComics) > 0)

check_circle Truyện Đã Hoàn Thành

Xem tất cả arrow_forward
@foreach($completedComics as $comic) @endforeach
@endif
@endsection @push('scripts') @endpush