Blame view

resources/views/pages.blade.php 1.04 KB
bdd23ce34   Андрей Ларионов   На сервер. Правки
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  @extends('layout.frontend', ['title' => $page->name.'- РекаМоре'])
  
  @section('scripts')
  @endsection
  
  @section('content')
      <section class="thing">
          <div class="container">
              <div class="thing__body">
                  <ul class="breadcrumbs thing__breadcrumbs">
                      <li><a href="{{ route('index') }}">Главная</a></li>
                      <li><b>{{ $page->name }}</b></li>
                  </ul>
                  @isset($page->image)
                      <img src=" {{ asset(Storage::url($page->image)) }}" alt="" class="thing__pic thing__pic_two">
                  @endif
                  <h1 class="thing__title">{{ $page->name }}</h1>
                  <p class="thing__text">{!! $page->anons !!}</p>
              </div>
          </div>
      </section>
      <main class="main">
          <div class="container">
              <div class="main__content">
                  <div class="main__content-item">
                      {!! $page->text !!}
                  </div>
              </div>
          </div>
      </main>
      </div>
  @endsection