Skip to content

Commit

Permalink
Slight changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLemayian committed May 30, 2017
1 parent 549b973 commit b4b4760
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 12 deletions.
Binary file added public/assets/img/bg/garbage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 14 additions & 8 deletions resources/views/home/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

<div class="home-index">

<div class="container-fluid bg-primary text-center" style="background:linear-gradient(rgba(52, 73, 94, 0.45), rgba(52, 73, 94, 0.45)), url('/assets/img/bg/chemical-plant.jpg') center; background-size: cover;">
<div class="container-fluid bg-primary text-center" style="background:linear-gradient(rgba(52, 73, 94, 0.45), rgba(52, 73, 94, 0.45)), url('/assets/img/bg/garbage.png') center; background-size: cover;">
<br/><br/>
<h3>{!! $home->data->banner->title !!}</h3>
<h5>{!! $home->data->banner->description !!}</h5>
<h5 style="font-weight: normal;"><em>{!! $home->data->banner->description !!}</em></h5>
<br/>

<div class="row search-geo" style="margin-bottom:5px;">
Expand Down Expand Up @@ -67,25 +67,25 @@
<br/><br/><br/>
</div>

<div class="container text-center">
<div class="container text-center" style="max-width: 800px;">
<br/><br/>
<h3>{!! $home->data->how->title !!}</h3><br/>
<div class="row">
<div class="col-md-4">
<div class="col-sm-4">
<span class="fa-stack fa-3x">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-map-marker fa-stack-1x fa-inverse"></i>
</span>
{!! Markdown::convertToHtml($home->data->how->blurbs[0]->description) !!}
</div>
<div class="col-md-4">
<div class="col-sm-4">
<span class="fa-stack fa-3x">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-bolt fa-stack-1x fa-inverse"></i>
</span>
{!! Markdown::convertToHtml($home->data->how->blurbs[1]->description) !!}
</div>
<div class="col-md-4">
<div class="col-sm-4">
<span class="fa-stack fa-3x">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-pencil-square-o fa-stack-1x fa-inverse"></i>
Expand All @@ -100,9 +100,15 @@
<div class="container">
<div class="row">
<div class="col-sm-6 palette palette-turquoise text-center">
<br/><br/>
<p class="lead">No. of EIAs tracked</p>
<br/>
<h1 style="font-size: 100px;">{{ number_format($projects_count) }}</h1>
<p class="lead">
@if( env('COUNTRY_CODE') == 'ng')
Dumps in Benin
@else
EIAs tracked
@endif
</p>
<div style="height:14px;"></div>
</div> <!-- /.col-md-6 .bg-info -->
<div class="col-sm-6">
Expand Down
9 changes: 5 additions & 4 deletions resources/views/layouts/frontend.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,18 +89,19 @@
</em></p>
</div>
<div class="col-md-6 text-right">
<h3 class="text-muted">{{ env('APP_NAME', '#GreenAlert') }}</h3>
<h3 class="text-muted" style="margin-bottom: 0;">{{ env('APP_NAME', '#GreenAlert') }}</h3>
<p><small>Powered by #AlertME</small></p>

<p>
<p class="text-muted" style="font-style: italic;">
@if( env('OWNER_NAME', 'Oxpeckers') == 'Oxpeckers')
An
@else
A
@endif
<a href="{{ env('OWNER_URL', 'https://oxpeckers.org/') }}" target="_blank" rel="noopener">{{ env('OWNER_NAME', 'Oxpeckers') }}</a> Project
<br/>
Built by <a href="https://codeforafrica.org" target="_blank" rel="noopener">Code for Africa</a>
</p>

<p>Built by <a href="https://codeforafrica.org" target="_blank">Code for Africa</a></p>
</div>
</div>
</div>
Expand Down

0 comments on commit b4b4760

Please sign in to comment.