FEATURE: add title photo to contact template and change background image

This commit is contained in:
Michal Kváček
2017-03-23 08:06:02 +01:00
parent 74f1501af6
commit ad8a6e3c61
3 changed files with 8 additions and 1 deletions
@@ -153,6 +153,7 @@ header.top-bar h1 a {
.title-photo img {
border-radius: 0 0 5px 5px;
width: 100%;
}
.trainer {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 616 KiB

After

Width:  |  Height:  |  Size: 324 KiB

@@ -9,10 +9,16 @@
@section('content')
@if (!empty($page->titlePhoto))
<div class="row title-photo">
<img src="@upload($page->titlePhoto)" alt="">
</div>
@endif
<div class="row content-container">
<div class="column text-center m-b-25 show-for-large">
<h2>{{$page->title}}</h2>
<h1>{{$page->title}}</h1>
</div>
<div class="column text-center large-4">