Created
June 1, 2015 14:16
-
-
Save sajadtorkamani/5c4ef84c519c8c8a83ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$item = $this->view; | |
$casestudy = $item->links("case_studies_featured", array('single'=>true)); | |
$banner_img = $casestudy->images('banner_img'); | |
$client = $casestudy->links("clients", array('single'=>true)); | |
$client_logo = $client->images('alt_logo', true); | |
?> | |
<div class="service-case-study"> | |
<div class="container"> | |
<img src="<?php echo $client_logo->src ?>" class="logo" alt="" /> | |
<div class="banner-content"> | |
<?php echo $casestudy->text->intro ?> | |
<div class='banner-links'> | |
<a class="btn btn-primary">Read the case study</a> | |
<a class="btn btn-secondary">View all case studies</a> | |
</div> | |
</div> <!-- /.banner-content --> | |
</div> <!-- /.container --> | |
<img src="<?php echo $banner_img->src ?>" class="banner-bg "<?php echo $banner_img->responsive ?> alt=""> | |
</div> <!-- /.case-study-banner --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment