class Cubedesigners_View_Helper_AgencyBlocs extends Zend_View_Helper_Abstract {
- public function agencyBlocs($blocs) {
+ public function agencyBlocs($blocs,$size=92) {
$blocs = $blocs['blocs'];
// $res.='<div class="spacer"></div>';
// }
- $image = $this->view->imageProcess()->imageProcessGetUrl($bloc['photo'], $bloc['titre'], 92, 92);
+ $image = $this->view->imageProcess()->imageProcessGetUrl($bloc['photo'], $bloc['titre'], $size, $size);
$res.='<div class="sousbloc" itemscope itemtype="http://schema.org/Person">';
$res.='<span style="background:url(\'' . $image . '\') no-repeat" class="photo" itemprop="image"></span>';
return $res;
}
-}
-
-?>
+}
\ No newline at end of file
class Cubedesigners_View_Helper_HomeBlocs extends Zend_View_Helper_Abstract {
- public function homeBlocs($blocs, $displayDetailsButton = false, $cols = 2) {
+ public function homeBlocs($blocs, $displayDetailsButton = false, $cols = 2,$pictoSize=92) {
$blocs = $blocs['blocs'];
// $res.='<div class="spacer"></div>';
// }
// }
- $image = $this->view->imageCms($bloc['picto'], $bloc['titre'], 92, 92);
+ $image = $this->view->imageCms($bloc['picto'], $bloc['titre'], $pictoSize, $pictoSize);
if(!empty($bloc['lien'])) {
$image = $this->view->linkInternal($image, $bloc['lien']);
class Cubedesigners_View_Helper_Liste extends CubeIT_View_Helper_Abstract {
- public function liste($items, $displayDetailsButtons = false, $attrs = array(), $cols = 2) {
+ public function liste($items, $displayDetailsButtons = false, $attrs = array(), $cols = 2,$pictoSize=92) {
$defaultAttrs = array('class' => array('list'));
$attrs = $this->_mergeAttributes($defaultAttrs, $attrs);
}
if($items['text']) {
- $res .= '<p>' . $items['text'] . '</p>';
+ $res .= '<p>' . nl2br($items['text']) . '</p>';
}
}
- $res .= $this->view->homeBlocs($items, $displayDetailsButtons, $cols);
+ $res .= $this->view->homeBlocs($items, $displayDetailsButtons, $cols,$pictoSize);
if ($items['button']['label']) {
$items['button']['label'] = $this->linkArrow($items['button']['label']);
$res .= $this->view->linkCMS($items['button'], array('class' => 'animated-arrow'));
public function textLayer($text)
{
$this->view->headLink()->appendStylesheet('/less/twocols.less');
- $res = '<div class="twocols content">';
+ $res = '<div class="title twocols content">';
$res .= '<section>';
// Replacing <br /> tags with normal line breaks to allow for more flexible styling via CSS white-space
<div class="agency-photo mb-4vw"><?php echo $this->imageSlideshowContinuous($this->photo, 650, array(), array('arrowspermanent' => 1)); ?></div>
-<div class="agency-pictos mb-4vw">
+
+<section class="agency-persons mb-4vw">
<div class="bloc-holder content">
- <?php echo $this->agencyPictos($this->pictos); ?>
+ <h2><?php echo ucfirst($this->equipe['titre']); ?></h2>
+ <?php echo $this->agencyBlocs($this->equipe, 120); ?>
</div>
-</div>
-<section class="agency-persons mb-4vw">
- <div class="bloc-holder content">
- <h2><?php echo ucfirst($this->equipe['titre']); ?></h2>
- <?php echo $this->agencyBlocs($this->equipe); ?>
- </div>
</section>
+<?php echo $this->liste($this->agence, false, array('id' => 'clients', 'class' => 'blue')); ?>
<div class="agency-photo mb-4vw"><?php echo $this->imageSlideshowContinuous($this->photo2, null, array(), array('arrowspermanent' => 1)); ?></div>
<?php
echo $this->textLayer($this->text);
-?>
\ No newline at end of file
+?>
+<div class="spacer" style="padding-top:50px;"></div>
@yellow: #469ef6;
@black: #242323;
+@blue: #0d4d8e;
@import "01-mixins";
@import "02-utilities";
.agency-pictos {
/* Agence pictos */
+ background-color: @blue;
+ color:#fff;
.bloc-holder {
overflow: hidden;
article {
display: inline-block;
vertical-align: top;
- width: 33%;
+ width: 50%;
padding-right: 20px;
margin: 25px 0;
text-align: left;
}
h2 {
- font-size: 56px;
+ font-size: 30px;
}
h3 {
- font-size: 32px;
- padding: 0 0 20px 0;
+ font-size: 30px;
}
.blocs {
display: none;
}
+ .poste{
+ display: block;
+ font-size: 20px;
+ font-weight: 600;
+ padding-bottom: 10px;
+ }
+
.sousbloc {
&:extend(.media);