Commit 6ec7fffb492ebbd89ad775c33682527c606c7e34
1 parent
06c00b37
ссылки
Showing
1 changed file
with
16 additions
and
8 deletions
Show diff stats
frontend/views/layouts/main.php
@@ -275,23 +275,31 @@ _________________________________________________________ --> | @@ -275,23 +275,31 @@ _________________________________________________________ --> | ||
275 | $items = []; | 275 | $items = []; |
276 | $items[] = [ | 276 | $items[] = [ |
277 | 'label' => 'ArtBox Core', | 277 | 'label' => 'ArtBox Core', |
278 | - 'url' => [ '#ab-core' ], | ||
279 | - 'class' => 'scroll-to', | 278 | + 'url' => [ '/#ab-core' ], |
279 | + 'options' => [ | ||
280 | + 'class' => 'scroll-to', | ||
281 | + ], | ||
280 | ]; | 282 | ]; |
281 | $items[] = [ | 283 | $items[] = [ |
282 | 'label' => 'ArtBox Каталог', | 284 | 'label' => 'ArtBox Каталог', |
283 | - 'url' => [ '#ab-cat' ], | ||
284 | - 'class' => 'scroll-to', | 285 | + 'url' => [ '/#ab-cat' ], |
286 | + 'options' => [ | ||
287 | + 'class' => 'scroll-to', | ||
288 | + ], | ||
285 | ]; | 289 | ]; |
286 | $items[] = [ | 290 | $items[] = [ |
287 | 'label' => 'ArtBox Shop', | 291 | 'label' => 'ArtBox Shop', |
288 | - 'url' => [ '#ab-shop' ], | ||
289 | - 'class' => 'scroll-to', | 292 | + 'url' => [ '/#ab-shop' ], |
293 | + 'options' => [ | ||
294 | + 'class' => 'scroll-to', | ||
295 | + ], | ||
290 | ]; | 296 | ]; |
291 | $items[] = [ | 297 | $items[] = [ |
292 | 'label' => 'Контакты', | 298 | 'label' => 'Контакты', |
293 | - 'url' => [ '#ab-tar' ], | ||
294 | - 'class' => 'scroll-to', | 299 | + 'url' => [ '/#ab-tar' ], |
300 | + 'options' => [ | ||
301 | + 'class' => 'scroll-to', | ||
302 | + ], | ||
295 | ]; | 303 | ]; |
296 | echo Nav::widget( | 304 | echo Nav::widget( |
297 | [ | 305 | [ |