diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php
index 0b5be07..242f6e8 100644
--- a/frontend/views/layouts/main.php
+++ b/frontend/views/layouts/main.php
@@ -273,33 +273,25 @@ _________________________________________________________ -->
\Yii::t('app', 'Home'),
- 'url' => [ 'site/index' ],
+ $items[] = [
+ 'label' => 'ArtBox Core',
+ 'url' => [ '#ab-core' ],
+ 'class' => 'scroll-to',
+ ];
+ $items[] = [
+ 'label' => 'ArtBox Каталог',
+ 'url' => [ '#ab-cat' ],
+ 'class' => 'scroll-to',
];
- foreach ($pageCategories as $category) {
- if (empty($category->pages)) {
- continue;
- }
- $pages = [];
- foreach ($category->pages as $page) {
- $pages[] = [
- 'label' => $page->lang->title,
- 'url' => Url::to(['page/view','alias' => $page->lang->alias]),
- ];
- }
- $items[] = [
- 'label' => $category->lang->title,
- 'items' => $pages,
- ];
- }
- $items[] = [
- 'label' => \Yii::t('app', 'Contatcs'),
- 'url' => [ 'site/contact' ],
+ $items[] = [
+ 'label' => 'ArtBox Shop',
+ 'url' => [ '#ab-shop' ],
+ 'class' => 'scroll-to',
];
$items[] = [
- 'label' => \Yii::t('app', 'About'),
- 'url' => [ 'site/about' ],
+ 'label' => 'Контакты',
+ 'url' => [ '#ab-tar' ],
+ 'class' => 'scroll-to',
];
echo Nav::widget(
[
@@ -552,13 +544,13 @@ _________________________________________________________ -->
?>
- = Html::a(
- 'Страница контактов',
- [ 'site/contact' ],
- [
- 'class' => 'btn btn-small btn-template-transparent-primary',
- ]
- ) ?>
+//= Html::a(
+// 'Страница контактов',
+// [ 'site/contact' ],
+// [
+// 'class' => 'btn btn-small btn-template-transparent-primary',
+// ]
+// ) ?>
diff --git a/frontend/views/site/index.php b/frontend/views/site/index.php
index 7092792..e8b9663 100644
--- a/frontend/views/site/index.php
+++ b/frontend/views/site/index.php
@@ -44,7 +44,7 @@ _________________________________________________________ -->
-
+
@@ -62,7 +62,7 @@ _________________________________________________________ -->
-
+
@@ -80,7 +80,7 @@ _________________________________________________________ -->
-
+
@@ -98,7 +98,7 @@ _________________________________________________________ -->
-
+
@@ -129,7 +129,7 @@ _________________________________________________________ -->
Подробнее
+ ])?>" class="btn btn-template-main" style="display: none!important;">Подробнее
@@ -157,7 +157,7 @@ _________________________________________________________ -->
Подробнее
+ ])?>" class="btn btn-template-main" style="display: none!important;">Подробнее
@@ -184,7 +184,7 @@ _________________________________________________________ -->
Подробнее
+ ])?>" class="btn btn-template-main" style="display: none!important;">Подробнее
@@ -201,7 +201,7 @@ _________________________________________________________ -->
-
Наши клиенты
+ Уже перешли на ArtBox
diff --git a/frontend/web/css/style.violet.ab.css b/frontend/web/css/style.violet.ab.css
index cb2a4ce..1f4df03 100644
--- a/frontend/web/css/style.violet.ab.css
+++ b/frontend/web/css/style.violet.ab.css
@@ -284,7 +284,7 @@ ul.list-style-none {
}
#top {
- background: #555555;
+ background: #242856;
color: #eeeeee;
padding: 10px 0;
}
@@ -292,6 +292,7 @@ ul.list-style-none {
#top p {
margin: 0;
font-size: 12px;
+ line-height: 22px;
}
#top .social {
@@ -2979,7 +2980,7 @@ fieldset[disabled] .btn-template-primary.active {
}
#footer {
- background: #555555;
+ background: #242856;
padding: 50px 0;
color: #999999;
}
--
libgit2 0.21.4