Commit 06c00b379a5b588b346f09451d47d5a24bce6c08
1 parent
b7fd3b50
ссылки
Showing
3 changed files
with
34 additions
and
41 deletions
 
Show diff stats
frontend/views/layouts/main.php
| ... | ... | @@ -273,33 +273,25 @@ _________________________________________________________ --> | 
| 273 | 273 | <div class="navbar-collapse collapse" id="navigation"> | 
| 274 | 274 | <?php | 
| 275 | 275 | $items = []; | 
| 276 | - $items[] = [ | |
| 277 | - 'label' => \Yii::t('app', 'Home'), | |
| 278 | - 'url' => [ 'site/index' ], | |
| 276 | + $items[] = [ | |
| 277 | + 'label' => 'ArtBox Core', | |
| 278 | + 'url' => [ '#ab-core' ], | |
| 279 | + 'class' => 'scroll-to', | |
| 280 | + ]; | |
| 281 | + $items[] = [ | |
| 282 | + 'label' => 'ArtBox Каталог', | |
| 283 | + 'url' => [ '#ab-cat' ], | |
| 284 | + 'class' => 'scroll-to', | |
| 279 | 285 | ]; | 
| 280 | - foreach ($pageCategories as $category) { | |
| 281 | - if (empty($category->pages)) { | |
| 282 | - continue; | |
| 283 | - } | |
| 284 | - $pages = []; | |
| 285 | - foreach ($category->pages as $page) { | |
| 286 | - $pages[] = [ | |
| 287 | - 'label' => $page->lang->title, | |
| 288 | - 'url' => Url::to(['page/view','alias' => $page->lang->alias]), | |
| 289 | - ]; | |
| 290 | - } | |
| 291 | - $items[] = [ | |
| 292 | - 'label' => $category->lang->title, | |
| 293 | - 'items' => $pages, | |
| 294 | - ]; | |
| 295 | - } | |
| 296 | - $items[] = [ | |
| 297 | - 'label' => \Yii::t('app', 'Contatcs'), | |
| 298 | - 'url' => [ 'site/contact' ], | |
| 286 | + $items[] = [ | |
| 287 | + 'label' => 'ArtBox Shop', | |
| 288 | + 'url' => [ '#ab-shop' ], | |
| 289 | + 'class' => 'scroll-to', | |
| 299 | 290 | ]; | 
| 300 | 291 | $items[] = [ | 
| 301 | - 'label' => \Yii::t('app', 'About'), | |
| 302 | - 'url' => [ 'site/about' ], | |
| 292 | + 'label' => 'Контакты', | |
| 293 | + 'url' => [ '#ab-tar' ], | |
| 294 | + 'class' => 'scroll-to', | |
| 303 | 295 | ]; | 
| 304 | 296 | echo Nav::widget( | 
| 305 | 297 | [ | 
| ... | ... | @@ -552,13 +544,13 @@ _________________________________________________________ --> | 
| 552 | 544 | ?> | 
| 553 | 545 | </p> | 
| 554 | 546 | |
| 555 | - <?= Html::a( | |
| 556 | - 'Страница контактов', | |
| 557 | - [ 'site/contact' ], | |
| 558 | - [ | |
| 559 | - 'class' => 'btn btn-small btn-template-transparent-primary', | |
| 560 | - ] | |
| 561 | - ) ?> | |
| 547 | +<!-- --><?//= Html::a( | |
| 548 | +// 'Страница контактов', | |
| 549 | +// [ 'site/contact' ], | |
| 550 | +// [ | |
| 551 | +// 'class' => 'btn btn-small btn-template-transparent-primary', | |
| 552 | +// ] | |
| 553 | +// ) ?> | |
| 562 | 554 | |
| 563 | 555 | <hr class="hidden-md hidden-lg hidden-sm"> | 
| 564 | 556 | ... | ... | 
frontend/views/site/index.php
| ... | ... | @@ -44,7 +44,7 @@ _________________________________________________________ --> | 
| 44 | 44 | <!-- *** JUMBOTRON END *** --> | 
| 45 | 45 | </section> | 
| 46 | 46 | |
| 47 | -<section class="bar background-gray no-mb padding-big text-center-sm"> | |
| 47 | +<section class="bar background-gray no-mb padding-big text-center-sm" id="ab-core"> | |
| 48 | 48 | <div class="container"> | 
| 49 | 49 | <div class="row"> | 
| 50 | 50 | <div class="col-md-6"> | 
| ... | ... | @@ -62,7 +62,7 @@ _________________________________________________________ --> | 
| 62 | 62 | </div> | 
| 63 | 63 | </section> | 
| 64 | 64 | |
| 65 | -<section class="bar no-mb color-white padding-big text-center-sm"> | |
| 65 | +<section class="bar no-mb color-white padding-big text-center-sm" id="ab-cat"> | |
| 66 | 66 | <div class="container"> | 
| 67 | 67 | <div class="row"> | 
| 68 | 68 | <div class="col-md-6 text-center"> | 
| ... | ... | @@ -80,7 +80,7 @@ _________________________________________________________ --> | 
| 80 | 80 | </div> | 
| 81 | 81 | </section> | 
| 82 | 82 | |
| 83 | -<section class="bar background-gray no-mb padding-big text-center-sm"> | |
| 83 | +<section class="bar background-gray no-mb padding-big text-center-sm" id="ab-shop"> | |
| 84 | 84 | <div class="container"> | 
| 85 | 85 | <div class="row"> | 
| 86 | 86 | <div class="col-md-6"> | 
| ... | ... | @@ -98,7 +98,7 @@ _________________________________________________________ --> | 
| 98 | 98 | </div> | 
| 99 | 99 | </section> | 
| 100 | 100 | |
| 101 | -<section class="bar background-white no-mb" id="packages"> | |
| 101 | +<section class="bar background-white no-mb" id="packages" id="ab-tar"> | |
| 102 | 102 | <div class="container"> | 
| 103 | 103 | <div class="row"> | 
| 104 | 104 | <div class="col-md-12"> | 
| ... | ... | @@ -129,7 +129,7 @@ _________________________________________________________ --> | 
| 129 | 129 | <a href="<?=Url::to([ | 
| 130 | 130 | '/page/view', | 
| 131 | 131 | 'id' => 3 | 
| 132 | - ])?>" class="btn btn-template-main">Подробнее</a> | |
| 132 | + ])?>" class="btn btn-template-main" style="display: none!important;">Подробнее</a> | |
| 133 | 133 | </div> | 
| 134 | 134 | </div> | 
| 135 | 135 | <!-- / END FIRST PACKAGE --> | 
| ... | ... | @@ -157,7 +157,7 @@ _________________________________________________________ --> | 
| 157 | 157 | <a href="<?=Url::to([ | 
| 158 | 158 | '/page/view', | 
| 159 | 159 | 'id' => 2 | 
| 160 | - ])?>" class="btn btn-template-main">Подробнее</a> | |
| 160 | + ])?>" class="btn btn-template-main" style="display: none!important;">Подробнее</a> | |
| 161 | 161 | </div> | 
| 162 | 162 | </div> | 
| 163 | 163 | |
| ... | ... | @@ -184,7 +184,7 @@ _________________________________________________________ --> | 
| 184 | 184 | <a href="<?=Url::to([ | 
| 185 | 185 | '/page/view', | 
| 186 | 186 | 'id' => 6 | 
| 187 | - ])?>" class="btn btn-template-main">Подробнее</a> | |
| 187 | + ])?>" class="btn btn-template-main" style="display: none!important;">Подробнее</a> | |
| 188 | 188 | </div> | 
| 189 | 189 | </div> | 
| 190 | 190 | |
| ... | ... | @@ -201,7 +201,7 @@ _________________________________________________________ --> | 
| 201 | 201 | <div class="row"> | 
| 202 | 202 | <div class="col-md-12"> | 
| 203 | 203 | <div class="heading text-center"> | 
| 204 | - <h2>Наши клиенты</h2> | |
| 204 | + <h2>Уже перешли на ArtBox</h2> | |
| 205 | 205 | </div> | 
| 206 | 206 | |
| 207 | 207 | <ul class="owl-carousel customers"> | ... | ... | 
frontend/web/css/style.violet.ab.css
| ... | ... | @@ -284,7 +284,7 @@ ul.list-style-none { | 
| 284 | 284 | } | 
| 285 | 285 | |
| 286 | 286 | #top { | 
| 287 | - background: #555555; | |
| 287 | + background: #242856; | |
| 288 | 288 | color: #eeeeee; | 
| 289 | 289 | padding: 10px 0; | 
| 290 | 290 | } | 
| ... | ... | @@ -292,6 +292,7 @@ ul.list-style-none { | 
| 292 | 292 | #top p { | 
| 293 | 293 | margin: 0; | 
| 294 | 294 | font-size: 12px; | 
| 295 | + line-height: 22px; | |
| 295 | 296 | } | 
| 296 | 297 | |
| 297 | 298 | #top .social { | 
| ... | ... | @@ -2979,7 +2980,7 @@ fieldset[disabled] .btn-template-primary.active { | 
| 2979 | 2980 | } | 
| 2980 | 2981 | |
| 2981 | 2982 | #footer { | 
| 2982 | - background: #555555; | |
| 2983 | + background: #242856; | |
| 2983 | 2984 | padding: 50px 0; | 
| 2984 | 2985 | color: #999999; | 
| 2985 | 2986 | } | ... | ... | 
