@extends('layouts.app')

@section('content')
<div id="document" class="container">
    <div class="row">
        <div class="col align-self-center">
            <h4>{{ $title }}</h4>
        </div>
        @admin
        <div class="col-auto text-end">
            <a href="{{ $writeURL }}" class="btn btn-default" target="_blank">수정하기</a>
        </div>
        @endadmin
    </div>
    <hr/>
    <blockquote>
        {!! $content !!}
    </blockquote>
</div>
@endsection

@push('styles')
    <link rel="stylesheet" href="{{ asset('css/desktop/document.css') }}"/>
@endpush
