Eshop-Laravel/resources/views/content/content.blade.php

38 lines
897 B
PHP
Raw Permalink Normal View History

2019-10-18 09:25:37 +00:00
@extends('master')
@section('main_content')
@foreach ($contents as $content)
<section class="hero hero-page gray-bg padding-small">
<div class="container">
<div class="row d-flex">
<div class="col-lg-9 order-2 order-lg-1">
<h1>{{$content->title}}</h1>
</div>
<div class="col-lg-3 text-right order-1 order-lg-2">
<ul class="breadcrumb justify-content-lg-end">
<li class="breadcrumb-item"><a href="{{url('')}}">Home</a></li>
<li class="breadcrumb-item active">{{$content->title}}</li>
</ul>
</div>
</div>
</div>
</section>
<main class="contact-page">
<!-- Contact page-->
<section class="contact">
<div class="container">
<header>
<p class="lead">
{!! $content->article !!}</p>
</header>
</section>
@endforeach
@endsection