From 3b28a7f453ad3179a3dd4a829ab1af17d908da64 Mon Sep 17 00:00:00 2001
From: zhegal
Date: Fri, 26 Jan 2018 15:25:20 +0200
Subject: [PATCH] main page + carousel + contacts
---
frontend/views/layouts/main.php | 22 +++++++++++-----------
frontend/views/object/view.php | 6 +++---
frontend/web/css/main.css | 4 ++--
3 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php
index dcec9b2..91b91dd 100644
--- a/frontend/views/layouts/main.php
+++ b/frontend/views/layouts/main.php
@@ -494,7 +494,17 @@ _________________________________________________________ -->
Использование материалов сайта возможно только со ссылкой на источник.
-
+
+
diff --git a/frontend/views/object/view.php b/frontend/views/object/view.php
index f64fa0d..ce9a108 100644
--- a/frontend/views/object/view.php
+++ b/frontend/views/object/view.php
@@ -12,7 +12,7 @@
?>
-
+
@@ -31,7 +31,7 @@
$slideItems[] = $slide->lang->image->getImg();
}
}
- echo \yii\bootstrap\Carousel::widget(
+ echo \common\models\Carousel::widget(
[
'items' => $slideItems
]
@@ -43,7 +43,7 @@
-
Про Объект
+ Про объект
diff --git a/frontend/web/css/main.css b/frontend/web/css/main.css
index 3652d7d..1d266c7 100644
--- a/frontend/web/css/main.css
+++ b/frontend/web/css/main.css
@@ -368,14 +368,14 @@ footer .social-logos a:hover {
position: relative;
height: 100%;
}
-.carousel-control {
+.main-slider .carousel-control {
display: flex;
align-items: center;
font-size: 7vw;
width: 23%;
justify-content: flex-end;
}
-.carousel-control.right {
+.main-slider .carousel-control.right {
justify-content: flex-start;
}
#get-it {padding: 30px 0 10px;}
--
libgit2 0.21.4