2022-06-09 00:56:59 +08:00
|
|
|
@extends('layouts.export')
|
|
|
|
|
|
|
|
@section('title', $book->name)
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<h1 style="font-size: 4.8em">{{$book->name}}</h1>
|
2023-12-22 22:57:20 +08:00
|
|
|
<div>{!! $book->descriptionHtml() !!}</div>
|
2022-06-09 00:56:59 +08:00
|
|
|
|
|
|
|
@include('exports.parts.book-contents-menu', ['children' => $bookChildren])
|
|
|
|
|
|
|
|
@foreach($bookChildren as $bookChild)
|
|
|
|
@if($bookChild->isA('chapter'))
|
|
|
|
@include('exports.parts.chapter-item', ['chapter' => $bookChild])
|
|
|
|
@else
|
|
|
|
@include('exports.parts.page-item', ['page' => $bookChild, 'chapter' => null])
|
|
|
|
@endif
|
|
|
|
@endforeach
|
|
|
|
|
|
|
|
@endsection
|