// The link and the image@section('brand-logo') <a class="brand-logo" href="/" style="padding: 7px; max-height: 50px">@section('logo'){{ Html::image(ucasset('images/logo-uccello-white.png'), null, ['style' => 'max-width: 150px;']) }}@show</a>
@endsection// Only the image@section('logo'){{ Html::image(asset('images/my-logo.png'),null, ['style'=>'max-width: 150px;']) }}@endsection
CSS files
// For all pages. Put it into resources/views/layouts/uccello.blade.php@section('css'){!!Html::style(mix('css/app.css'))!!}@append// For specific pages. Thanks to an overriding.@section('extra-css'){!!Html::style(mix('css/specific.css'))!!}@append
@section('content-container')<main id="app">// id="app" can be used by Vue JS<div class="content @yield('content-class')"> {{-- Content --}}@yield('content')@yield('extra-content')</div></main>@endsection
This blade section is useful to add translations used by JavaScript. You could for example use the thepinecode/i18n library and add your translations to the page using this section.
// For all pages. Put it into resources/views/layouts/uccello.blade.php@section('script'){!!Html::script(mix('js/app.js'))!!}@append// For specific pages. Thanks to an overriding.@section('extra-script'){!!Html::script(mix('js/specific.js'))!!}@append