#1061 - Сделать кликабельными плитки в Кейсах

parent fd06b9b8
...@@ -37,7 +37,7 @@ class SiteController extends Controller ...@@ -37,7 +37,7 @@ class SiteController extends Controller
// TEMP // TEMP
public function actionContacts() public function actionContacts()
{ {
Yii::$app->controller->meta_title = 'Контакты'; Yii::$app->controller->meta_title = 'Контакты ООО "Арт Проект"';
return $this->render('contacts'); return $this->render('contacts');
} }
......
...@@ -16,14 +16,14 @@ $models = CoContent::find() ...@@ -16,14 +16,14 @@ $models = CoContent::find()
<div class="row"> <div class="row">
<?php foreach ($models as $model) : ?> <?php foreach ($models as $model) : ?>
<div class="col-md-6 col-xs-6 col-sm-12"> <div class="col-md-6 col-xs-6 col-sm-12">
<div class="keys_block_small"> <a href="<?=Url::to(['/'.$model->url])?>" class="keys_block_small">
<img src="<?=$model->preview?>" height="338" width="455"> <img src="<?=$model->preview?>" height="338" width="455">
<a href="<?=Url::to(['/'.$model->url])?>" class="keys_small_title" <?if($model->custom==CoContent::CUSTOM_WHITE){?>style="color:#fff;"<?}?>><?=$model->lang->title?></a> <div class="keys_small_title" <?if($model->custom==CoContent::CUSTOM_WHITE){?>style="color:#fff;"<?}?>><?=$model->lang->title?></div>
<div class="keys_small_foot"> <div class="keys_small_foot">
<?=Html::a('<span>Подробнее</span>', ['/'.$model->url], ['class' => 'keys_small_btn_more'])?> <div class="keys_small_btn_more"><span>Подробнее</span></div>
<!-- <a href="#" class="keys_small_tags"># Big data</a> --> <!-- <a href="#" class="keys_small_tags"># Big data</a> -->
</div> </div>
</div> </a>
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>
<!-- <div class="col-md-6 col-xs-6 col-sm-12"> <!-- <div class="col-md-6 col-xs-6 col-sm-12">
......
...@@ -1796,3 +1796,7 @@ a.keys_test_btn { ...@@ -1796,3 +1796,7 @@ a.keys_test_btn {
.error_not_foud ul { .error_not_foud ul {
list-style-type: inherit !important; list-style-type: inherit !important;
} }
.keys_block_small {
display: block;
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment