Commit fe24f476dcfce69df3abfaa2895acdb706bc0c91

Authored by Eugeny Galkovskiy
1 parent 78d55ffe

Кнопки 1

frontend/views/site/index.php
... ... @@ -184,10 +184,12 @@ $this->title = 'My Yii Application';
184 184  
185 185 <div class="col-md-5">
186 186 <div class="video">
187   - <div class="embed-responsive embed-responsive-4by3">
  187 + <div class="embed-responsive embed-responsive-16by9">
188 188 <iframe class="embed-responsive-item" src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2FKBEnergy.UA%2Fvideos%2F1171662169609800%2F&show_text=0" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allowFullScreen="true"></iframe>
189 189 </div>
190 190 </div>
  191 + <a>Замовити консультацію</a>
  192 + <a>Розрахувати вартість проекту</a>
191 193 </div>
192 194 </div>
193 195 </div>
... ... @@ -221,14 +223,13 @@ $this-&gt;title = &#39;My Yii Application&#39;;
221 223 </div>
222 224 </div>
223 225 <div class="row">
224   - <div class="col-md-4">
  226 + <div class="col-md-4 col-md-offset-2">
225 227 <div class="box-simple">
226 228 <div class="icon icon_why" id="icon04"></div>
227 229 <h3>Енергоаудит</h3>
228 230 <p>перед встановленням ми робимо повний аналіз вашої домашньої енергосистеми</p>
229 231 </div>
230 232 </div>
231   - <div class="col-md-4"></div>
232 233 <div class="col-md-4">
233 234 <div class="box-simple">
234 235 <div class="icon icon_why" id="icon05"></div>
... ... @@ -237,6 +238,11 @@ $this-&gt;title = &#39;My Yii Application&#39;;
237 238 </div>
238 239 </div>
239 240 </div>
  241 + <div class="row">
  242 + <div class="col-md-12" style="text-align:center;">
  243 + <a href="#" class="button1 icon_stat">Замовити <span>консультацію</span></a>
  244 + </div>
  245 + </div>
240 246 </div>
241 247 </div>
242 248 </section>
... ... @@ -293,6 +299,43 @@ $this-&gt;title = &#39;My Yii Application&#39;;
293 299 </div>
294 300 </section>
295 301  
  302 +<section class="bar background-kben no-mb">
  303 + <div class="container">
  304 + <div class="row showcase">
  305 + <div class="col-md-3 col-sm-6">
  306 + <div class="item">
  307 + <h4><span class="counter">58</span><br>
  308 +
  309 + Об'єктів в роботі</h4>
  310 + </div>
  311 + </div>
  312 + <div class="col-md-3 col-sm-6">
  313 + <div class="item">
  314 + <h4><span class="counter">117</span><br>
  315 +
  316 + Об'єктів здано</h4>
  317 + </div>
  318 + </div>
  319 + <div class="col-md-3 col-sm-6">
  320 + <div class="item">
  321 + <h4><span class="counter">193</span><br>
  322 +
  323 + Рекомендацій</h4>
  324 + </div>
  325 + </div>
  326 + <div class="col-md-3 col-sm-6">
  327 + <div class="item">
  328 + <h4><span class="counter">303</span><br>
  329 +
  330 + Задоволенних клієнтів</h4>
  331 + </div>
  332 + </div>
  333 + </div>
  334 + <!-- /.row -->
  335 + </div>
  336 + <!-- /.container -->
  337 +</section>
  338 +
296 339 <section class="bar background-white">
297 340 <div class="container">
298 341 <div class="col-md-12">
... ... @@ -381,46 +424,18 @@ $this-&gt;title = &#39;My Yii Application&#39;;
381 424 </div>
382 425 </div>
383 426 </div>
384   - </div>
385   - </div>
386   -</section>
387   -
388   -<section class="bar background-kben no-mb">
389   - <div class="container">
390   - <div class="row showcase">
391   - <div class="col-md-3 col-sm-6">
392   - <div class="item">
393   - <h4><span class="counter">1223</span><br>
394   -
395   - Об'єкта в роботі</h4>
396   - </div>
397   - </div>
398   - <div class="col-md-3 col-sm-6">
399   - <div class="item">
400   - <h4><span class="counter">311</span><br>
401   -
402   - Об'єктів здано</h4>
403   - </div>
404   - </div>
405   - <div class="col-md-3 col-sm-6">
406   - <div class="item">
407   - <h4><span class="counter">812</span><br>
408   -
409   - Рекомендацій</h4>
410   - </div>
411   - </div>
412   - <div class="col-md-3 col-sm-6">
413   - <div class="item">
414   - <h4><span class="counter">7126</span><br>
415   -
416   - Задоволенних клієнтів</h4>
  427 + <div class="row">
  428 + <div class="lead">
  429 + <p class="text-center">Або звернутись до нас та</p>
  430 + </div>
  431 + <div class="col-md-12" style="text-align:center;">
  432 + <a href="#" class="button1 icon_stat">Замовити <span>електростанцію</span></a>
  433 + </div>
417 434 </div>
418   - </div>
419 435 </div>
420   - <!-- /.row -->
421 436 </div>
422   - <!-- /.container -->
423 437 </section>
  438 +
424 439 <!-- /.bar -->
425 440  
426 441 <div class="gallery">
... ...
frontend/web/css/style.css
... ... @@ -69,4 +69,35 @@
69 69 max-height: 640px;
70 70 margin: 30px auto;
71 71 vertical-align: middle;
  72 +}
  73 +.button1{
  74 + margin: 0 auto;
  75 + color: black;
  76 + text-transform: uppercase;
  77 + background-color: #ffd800;
  78 + text-decoration: none;
  79 + cursor: pointer;
  80 + transition: 0.3s;
  81 + display: inline-block;
  82 + text-align: center;
  83 + font-weight: bold;
  84 + width: 250px;
  85 + padding: 12px 0;
  86 + font-size: 16px;
  87 + line-height: 18px;
  88 + background-position: 20px center;
  89 + background-repeat: no-repeat;
  90 +}
  91 +.button1.icon_stat{background-image: url(../img/icon_stat.png);}
  92 +.button1 span{
  93 + display: block;
  94 + font-weight: normal;
  95 + font-size: 14px;
  96 +}
  97 +.button1:hover {
  98 + text-decoration:none;
  99 + color: black;
  100 + background-color: #ffe764;
  101 + box-shadow: inset 0px 0px 0px 2px black, 0px 0px 20px rgba(0,0,0,0.2)!important;
  102 + transition: 0.3s;
72 103 }
73 104 \ No newline at end of file
... ...
frontend/web/img/arrows_right_w.png 0 → 100644

331 Bytes

frontend/web/img/calc_sum.png 0 → 100644

451 Bytes

frontend/web/img/icon_calc2.png 0 → 100644

156 Bytes

frontend/web/img/icon_stat.png 0 → 100644

208 Bytes