Commit 3b28a7f453ad3179a3dd4a829ab1af17d908da64

Authored by Eugeny Galkovskiy
1 parent e16f7331

main page + carousel + contacts

frontend/views/layouts/main.php
@@ -494,7 +494,17 @@ _________________________________________________________ --> @@ -494,7 +494,17 @@ _________________________________________________________ -->
494 Использование материалов сайта возможно только со ссылкой на источник.</p> 494 Использование материалов сайта возможно только со ссылкой на источник.</p>
495 </div> 495 </div>
496 </div> 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 <div class="col-md-4 col-sm-12"> 508 <div class="col-md-4 col-sm-12">
499 509
500 <h4><?php echo \Yii::t('app', 'Contact'); ?></h4> 510 <h4><?php echo \Yii::t('app', 'Contact'); ?></h4>
@@ -541,16 +551,6 @@ _________________________________________________________ --&gt; @@ -541,16 +551,6 @@ _________________________________________________________ --&gt;
541 <hr class="hidden-md hidden-lg hidden-sm"> 551 <hr class="hidden-md hidden-lg hidden-sm">
542 552
543 </div> 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 <div class="col-md-12 bottom-text hidden-md hidden-lg"> 556 <div class="col-md-12 bottom-text hidden-md hidden-lg">
frontend/views/object/view.php
@@ -12,7 +12,7 @@ @@ -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 <section class="no-mb"> 16 <section class="no-mb">
17 <div class="row"> 17 <div class="row">
18 <div class="col-md-12"> 18 <div class="col-md-12">
@@ -31,7 +31,7 @@ @@ -31,7 +31,7 @@
31 $slideItems[] = $slide->lang->image->getImg(); 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 'items' => $slideItems 36 'items' => $slideItems
37 ] 37 ]
@@ -43,7 +43,7 @@ @@ -43,7 +43,7 @@
43 <div class="row portfolio-project"> 43 <div class="row portfolio-project">
44 <div class="col-md-8"> 44 <div class="col-md-8">
45 <div class="heading"> 45 <div class="heading">
46 - <h3>Про Объект</h3> 46 + <h3>Про объект</h3>
47 </div> 47 </div>
48 48
49 <p> 49 <p>
frontend/web/css/main.css
@@ -368,14 +368,14 @@ footer .social-logos a:hover { @@ -368,14 +368,14 @@ footer .social-logos a:hover {
368 position: relative; 368 position: relative;
369 height: 100%; 369 height: 100%;
370 } 370 }
371 -.carousel-control { 371 +.main-slider .carousel-control {
372 display: flex; 372 display: flex;
373 align-items: center; 373 align-items: center;
374 font-size: 7vw; 374 font-size: 7vw;
375 width: 23%; 375 width: 23%;
376 justify-content: flex-end; 376 justify-content: flex-end;
377 } 377 }
378 -.carousel-control.right { 378 +.main-slider .carousel-control.right {
379 justify-content: flex-start; 379 justify-content: flex-start;
380 } 380 }
381 #get-it {padding: 30px 0 10px;} 381 #get-it {padding: 30px 0 10px;}