2021-05-05 06:15:05 +08:00
|
|
|
@extends('export-layout')
|
2017-02-26 22:25:02 +08:00
|
|
|
|
2021-05-05 06:15:05 +08:00
|
|
|
@section('title', $chapter->name)
|
2019-04-07 16:57:48 +08:00
|
|
|
|
2021-05-05 06:15:05 +08:00
|
|
|
@section('content')
|
2019-04-07 16:57:48 +08:00
|
|
|
<h1 style="font-size: 4.8em">{{$chapter->name}}</h1>
|
|
|
|
|
|
|
|
<p>{{ $chapter->description }}</p>
|
|
|
|
|
|
|
|
@if(count($pages) > 0)
|
|
|
|
<ul class="contents">
|
|
|
|
@foreach($pages as $page)
|
|
|
|
<li><a href="#page-{{$page->id}}">{{ $page->name }}</a></li>
|
|
|
|
@endforeach
|
|
|
|
</ul>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
@foreach($pages as $page)
|
|
|
|
<div class="page-break"></div>
|
|
|
|
<h1 id="page-{{$page->id}}">{{ $page->name }}</h1>
|
|
|
|
{!! $page->html !!}
|
|
|
|
@endforeach
|
2021-05-05 06:15:05 +08:00
|
|
|
@endsection
|