Skip to content

Commit

Permalink
Merge pull request #46 from andes2912/feature/website-frontend
Browse files Browse the repository at this point in the history
Bug Fix visi & misi dan Profile Sekolah
  • Loading branch information
andes2912 authored Mar 28, 2022
2 parents 95f78a3 + 6a7c28e commit ef6e3bf
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 20 deletions.
12 changes: 7 additions & 5 deletions resources/views/frontend/content/profileSekolah.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
@section('content')
@section('about')
<div class="container">
<div style="margin-top: 5%; margin-bottom:3%">
<img src="{{asset('storage/images/profileSekolah/' .$profile->image)}}" class="img-responsive" style="max-height:500px; width:100%; object-fit:cover">
</div>
<h2 class="title-center">{{$profile->title}}</h2>
<p class="sub-title-full-width">{{$profile->content}}</p>
@if ($profile)
<div style="margin-top: 5%; margin-bottom:3%">
<img src="{{asset('storage/images/profileSekolah/' .$profile->image)}}" class="img-responsive" style="max-height:500px; width:100%; object-fit:cover">
</div>
<h2 class="title-center">{{$profile->title}}</h2>
<p class="sub-title-full-width">{{$profile->content}}</p>
@endif
</div>
@endsection

Expand Down
32 changes: 17 additions & 15 deletions resources/views/frontend/content/visimisi.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,27 @@
@section('content')
@section('about')
<div class="container">
<div class="row about-page1-inner" style="margin-top: 5%">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<div class="about-page-content-holder">
<div class="content-box">
<h2>VISI</h2>
<p>{{$visimisi->visi}}</p>
</div>
<div class="content-box">
<h2>MISI</h2>
<p>{{$visimisi->misi}}</p>
@if ($visimisi)
<div class="row about-page1-inner" style="margin-top: 5%">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<div class="about-page-content-holder">
<div class="content-box">
<h2>VISI</h2>
<p>{{$visimisi->visi}}</p>
</div>
<div class="content-box">
<h2>MISI</h2>
<p>{{$visimisi->misi}}</p>
</div>
</div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<div class="about-page-img-holder">
<img src="{{asset('storage/images/visimisi/' .$visimisi->image)}}" class="img-responsive" alt="visimisi">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<div class="about-page-img-holder">
<img src="{{asset('storage/images/visimisi/' .$visimisi->image)}}" class="img-responsive" alt="visimisi">
</div>
</div>
</div>
</div>
@endif
</div>
@endsection

Expand Down

0 comments on commit ef6e3bf

Please sign in to comment.