2021-05-04 18:15:05 -04:00
|
|
|
@extends('export-layout')
|
2017-02-26 09:25:02 -05:00
|
|
|
|
2021-05-04 18:15:05 -04:00
|
|
|
@section('title', $chapter->name)
|
2019-04-07 04:57:48 -04:00
|
|
|
|
2021-05-04 18:15:05 -04:00
|
|
|
@section('content')
|
2019-04-07 04:57:48 -04: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-04 18:15:05 -04:00
|
|
|
@endsection
|