Commit 3b28a7f453ad3179a3dd4a829ab1af17d908da64
1 parent
e16f7331
main page + carousel + contacts
Showing
3 changed files
with
16 additions
and
16 deletions
Show diff stats
frontend/views/layouts/main.php
| ... | ... | @@ -494,7 +494,17 @@ _________________________________________________________ --> |
| 494 | 494 | Использование материалов сайта возможно только со ссылкой на источник.</p> |
| 495 | 495 | </div> |
| 496 | 496 | </div> |
| 497 | - | |
| 497 | + | |
| 498 | + <div class="col-md-3 col-sm-12"> | |
| 499 | + <h4><?php echo \Yii::t('app', 'Share'); ?></h4> | |
| 500 | + <div class="social-logos"> | |
| 501 | + <span> | |
| 502 | +<!-- <a href="http://vk.com/share.php?url=--><?php //echo 'http://'.$_SERVER['SERVER_NAME'].'/'; ?><!--" class="logoscnet"><i class="fa fa-vk" aria-hidden="true"></i></a>--> | |
| 503 | + <a href="http://www.facebook.com/sharer/sharer.php?u=<?php echo 'http://'.$_SERVER['SERVER_NAME'].'/'; ?>" class="logoscnet"><i class="fa fa-facebook" aria-hidden="true"></i></a> | |
| 504 | + <a href="https://plus.google.com/share?url=<?php echo 'http://'.$_SERVER['SERVER_NAME'].'/'; ?>" class="logoscnet"><i class="fa fa-google-plus" aria-hidden="true"></i></a> | |
| 505 | + </span> | |
| 506 | + </div> | |
| 507 | + </div> | |
| 498 | 508 | <div class="col-md-4 col-sm-12"> |
| 499 | 509 | |
| 500 | 510 | <h4><?php echo \Yii::t('app', 'Contact'); ?></h4> |
| ... | ... | @@ -541,16 +551,6 @@ _________________________________________________________ --> |
| 541 | 551 | <hr class="hidden-md hidden-lg hidden-sm"> |
| 542 | 552 | |
| 543 | 553 | </div> |
| 544 | - <div class="col-md-3 col-sm-12"> | |
| 545 | - <h4><?php echo \Yii::t('app', 'Share'); ?></h4> | |
| 546 | - <div class="social-logos"> | |
| 547 | - <span> | |
| 548 | - <a href="http://vk.com/share.php?url=<?php echo 'http://'.$_SERVER['SERVER_NAME'].'/'; ?>" class="logoscnet"><i class="fa fa-vk" aria-hidden="true"></i></a> | |
| 549 | - <a href="http://www.facebook.com/sharer/sharer.php?u=<?php echo 'http://'.$_SERVER['SERVER_NAME'].'/'; ?>" class="logoscnet"><i class="fa fa-facebook" aria-hidden="true"></i></a> | |
| 550 | - <a href="https://plus.google.com/share?url=<?php echo 'http://'.$_SERVER['SERVER_NAME'].'/'; ?>" class="logoscnet"><i class="fa fa-google-plus" aria-hidden="true"></i></a> | |
| 551 | - </span> | |
| 552 | - </div> | |
| 553 | - </div> | |
| 554 | 554 | |
| 555 | 555 | |
| 556 | 556 | <div class="col-md-12 bottom-text hidden-md hidden-lg"> | ... | ... |
frontend/views/object/view.php
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | |
| 13 | 13 | ?> |
| 14 | 14 | |
| 15 | -<div class="container" style="margin-top: 25px;"> | |
| 15 | +<div class="container object-view" style="margin-top: 25px;"> | |
| 16 | 16 | <section class="no-mb"> |
| 17 | 17 | <div class="row"> |
| 18 | 18 | <div class="col-md-12"> |
| ... | ... | @@ -31,7 +31,7 @@ |
| 31 | 31 | $slideItems[] = $slide->lang->image->getImg(); |
| 32 | 32 | } |
| 33 | 33 | } |
| 34 | - echo \yii\bootstrap\Carousel::widget( | |
| 34 | + echo \common\models\Carousel::widget( | |
| 35 | 35 | [ |
| 36 | 36 | 'items' => $slideItems |
| 37 | 37 | ] |
| ... | ... | @@ -43,7 +43,7 @@ |
| 43 | 43 | <div class="row portfolio-project"> |
| 44 | 44 | <div class="col-md-8"> |
| 45 | 45 | <div class="heading"> |
| 46 | - <h3>Про Объект</h3> | |
| 46 | + <h3>Про объект</h3> | |
| 47 | 47 | </div> |
| 48 | 48 | |
| 49 | 49 | <p> | ... | ... |
frontend/web/css/main.css
| ... | ... | @@ -368,14 +368,14 @@ footer .social-logos a:hover { |
| 368 | 368 | position: relative; |
| 369 | 369 | height: 100%; |
| 370 | 370 | } |
| 371 | -.carousel-control { | |
| 371 | +.main-slider .carousel-control { | |
| 372 | 372 | display: flex; |
| 373 | 373 | align-items: center; |
| 374 | 374 | font-size: 7vw; |
| 375 | 375 | width: 23%; |
| 376 | 376 | justify-content: flex-end; |
| 377 | 377 | } |
| 378 | -.carousel-control.right { | |
| 378 | +.main-slider .carousel-control.right { | |
| 379 | 379 | justify-content: flex-start; |
| 380 | 380 | } |
| 381 | 381 | #get-it {padding: 30px 0 10px;} | ... | ... |