Commit 049d42dc66ecd90c1e50cadf4ee8a6aeb975013b

Authored by Timur Kastemirov
2 parents eb8fddf9 68605950

Merge remote-tracking branch 'origin/master'

common/messages/ru/app.php
... ... @@ -53,6 +53,7 @@ return [
53 53 'Київ' => 'Киев',
54 54 'Україна' => 'Украина',
55 55 "Комплексний підхід до енергозбереження та енергонезалежності" => 'Комплексный подход к энергосбережению и энергонезависимости',
  56 + "Будуємо енергонезалежну Україну разом!" => 'Строим энергонезависимую Украину вместе!',
56 57 'yt1' => 'Смотреть на YouTube',
57 58 'sect2_6' => 'Больше наших проектов',
58 59 'sect2_7' => 'Первая солнечная электростанция в Киеве',
... ... @@ -91,10 +92,10 @@ return [
91 92 'modal_text3' => 'За период с марта 2016 по февраль 2017 года, было спроектировано и построено СЭС мощностью 296 киловатт. Она включает в себя 1140 солнечных панелей, мощностью 260 квт каждая.',
92 93 'sect1_1' => 'Мы первые подключили СЭС',
93 94 'sect1_2' => 'по "зелёному" тарифу по Киевской области',
94   - 'sect1_3' => 'Более 50 объектов',
  95 + 'sect1_3' => 'Более 200 объектов',
95 96 'sect1_4' => 'по Киевской области',
96 97 'sect1_5' => 'Собственный штат',
97   - 'sect1_6' => 'инженеров-монтажников',
  98 + 'sect1_6' => 'инженеров-электриков, монтажников, проектантов',
98 99 'sect1_7' => 'Энергоаудит',
99 100 'sect1_8' => 'перед установкой мы делаем полный анализ вашей энергосистемы',
100 101 'sect1_9' => 'Экономим Ваши деньги',
... ... @@ -172,10 +173,10 @@ return [
172 173  
173 174 'index_title1' => 'Мы первые подключили СЭС',
174 175 'index_subtitle1' => 'по Зеленому тарифу в Киевской области',
175   - 'index_title2' => 'Более 50 объектов',
  176 + 'index_title2' => 'Более 200 объектов',
176 177 'index_subtitle2' => 'по Киевской области',
177 178 'index_title3' => 'Собственный штат',
178   - 'index_subtitle3' => 'инженеров-монтажников',
  179 + 'index_subtitle3' => 'инженеров-электриков, монтажников, проектантов',
179 180 'index_title4' => 'Энергоаудит',
180 181 'index_subtitle4' => 'перед установкой мы делаем полный анализ вашей домашней энергосистемы',
181 182 'index_title5' => 'Экономим ваши деньги',
... ... @@ -188,7 +189,7 @@ return [
188 189 'index_modal3' => 'Рассчитать',
189 190 'index_modal4' => 'стоимость проекта',
190 191 'index_objects' => 'Наши объекты',
191   - 'index_economy1' => 'Как заказать электростанцию',
  192 + 'index_economy1' => 'Как установить солнечную электростанцию',
192 193 'index_economy2' => 'и начать экономить уже сегодня?',
193 194 'index_economy3' => 'Наше предложение',
194 195 'index_economy4' => 'Наш специалист связывается с вами и, исходя из ваших пожеланий, формирует предложение',
... ... @@ -298,7 +299,7 @@ return [
298 299 'nashiuslugi' => 'Наши услуги',
299 300 "Home" => "Главная",
300 301 'ind_text1' => 'Зачем вам домашняя солнечная электростанция?',
301   - 'ind_text2' => 'Дополнительный источник доходов — вы зарабатываете до 500 $ в месяц благодаря зеленому тарифу;',
  302 + 'ind_text2' => 'Дополнительный источник доходов — вы зарабатываете до 7500$ в год благодаря зеленому тарифу;',
302 303 'ind_text3' => 'Солнце — экологически чистый источник энергии;',
303 304 'ind_text4' => 'Низкая стоимость обслуживания (за 1 кбт — от 800$). В эту сумму входит оборудование, монтаж + полный пакет документов;',
304 305 'ind_text5' => 'Полный набор оборудования: фотомодуль, инвертор, система установки фотомодулей, защитная автоматика, расходные материалы.',
... ...
common/messages/ua/app.php
... ... @@ -21,6 +21,7 @@ return [
21 21 '1М' => '1М',
22 22 'пр-т. Николая Бажана' => 'пр-т Миколи Бажана',
23 23 'Комплексный подход к энергосбережению и энергонезависимости' => 'Комплексний підхід до енергозбереження та енергонезалежності',
  24 + 'Строим энергонезависимую Украину вместе' => 'Будуємо енергонезалежну Україну разом!',
24 25  
25 26 'footer_all_rights' => 'Всі права захищені',
26 27 'footer_using_mats' => 'Використання матеріалів сайту можливе лише з посиланням на джерело',
... ... @@ -100,7 +101,7 @@ return [
100 101 'sect1_3' => 'Понад 50 об\'єктів',
101 102 'sect1_4' => 'по Київській області',
102 103 'sect1_5' => 'Власний штат',
103   - 'sect1_6' => 'інженерів-монтажників',
  104 + 'sect1_6' => 'інженерів-електриків, монтажників, проектантів',
104 105 'sect1_7' => 'Енергоаудит',
105 106 'sect1_8' => 'перед встановленням ми робимо повний аналіз вашої енергосистеми',
106 107 'sect1_9' => 'Економимо Ваші гроші',
... ... @@ -174,10 +175,10 @@ return [
174 175  
175 176 'index_title1' => 'МИ ПЕРШІ ПІДКЛЮЧИЛИ СЕС',
176 177 'index_subtitle1' => 'по зеленому тарифу в Київській області',
177   - 'index_title2' => 'БІЛЬШ НІЖ 50 ОБЄКТІВ',
  178 + 'index_title2' => 'БІЛЬШ НІЖ 200 ОБЄКТІВ',
178 179 'index_subtitle2' => 'по Київській області',
179 180 'index_title3' => 'НАШ ОСОБИСТИЙ ШТАТ',
180   - 'index_subtitle3' => 'інженерів-монтажників',
  181 + 'index_subtitle3' => 'інженерів-електриків, монтажників, проектантів',
181 182 'index_title4' => 'ЕНЕРГОАУДИТ',
182 183 'index_subtitle4' => 'перед встановленням ми робимо повний аналіз вашої домашньої енергосистеми',
183 184 'index_title5' => 'ЕКОНОМІЯ ВАШИХ ВИТРАТ',
... ... @@ -190,7 +191,7 @@ return [
190 191 'index_modal3' => 'Порахувати',
191 192 'index_modal4' => 'вартість об’єкта',
192 193 'index_objects' => 'НАШІ ОБ’ЄКТИ',
193   - 'index_economy1' => 'ЯК ЗАМОВИТИ ЕЛЕКТРОСТАНЦІЮ',
  194 + 'index_economy1' => 'Як встановити сонячну електростанцію',
194 195 'index_economy2' => 'ТА ПОЧАТИ ЕКОНОМИТИ ВЖЕ СЬОГОДНІ?',
195 196 'index_economy3' => 'Наша пропозиція',
196 197 'index_economy4' => 'Фахівець зв\'язується з вами і згідно з вашими побажаннями формує пропозицію',
... ... @@ -300,7 +301,7 @@ return [
300 301  
301 302 "Home" => "Головна",
302 303 'ind_text1' => 'Навіщо вам домашня сонячна електростанція?',
303   - 'ind_text2' => 'Додаткове джерело доходів — ви заробляєте до 500$ на місяць від зеленого тарифу;',
  304 + 'ind_text2' => 'Додаткове джерело доходів — ви заробляєте до 7500$ на рік від зеленого тарифу;',
304 305 'ind_text3' => 'Сонце — екологічно чисте джерело енергії;',
305 306 'ind_text4' => 'Низька вартість обслуговування (за 1 кВт — від 800$). В цю суму входить обладнання, монтаж + повний пакет документів;',
306 307 'ind_text5' => 'Повний набір обладнання: фотомодуль, інвертор, система кріплення фотомодулів, захисна автоматика, витратні матеріали.',
... ...
frontend/controllers/SiteController.php
... ... @@ -68,7 +68,7 @@
68 68 7,
69 69 37,
70 70 38,
71   - 39,
  71 + 43,
72 72 ],
73 73 ]
74 74 )
... ...
frontend/views/layouts/main.php
... ... @@ -329,18 +329,19 @@
329 329 );
330 330 ?>
331 331  
332   - <div class="row calculate-main-wr">
333   - <div class="col-md-8 col-md-offset-2">
334   - <div style="width:100%;max-width:500px;margin:0 auto;">
335   - <p style="font-weight:bold;"><?= \Yii::t('app', 'contact_datas') ?></p>
  332 + <div class="row calculate-main-wr" style="padding-top: 25px;">
  333 + <div class="col-md-10 col-md-offset-1" style="margin-top: -10px;margin-bottom: -5px;">
  334 + <div style="width:100%;max-width: 920px;margin:0 auto;">
  335 + <p style="font-weight:bold;margin-bottom: -10px;"><?= \Yii::t('app', 'contact_datas') ?></p>
336 336  
337 337 <?= $form->field($feedback, 'topic')
338 338 ->hiddenInput(['value' => Feedback::SCENARIO_CALCULATOR])
339 339 ->label(false)?>
340   -
341   - <?=$form->field($feedback, "name")->textInput()?>
342   - <?=$form->field($feedback, "phone")->textInput()?>
343   - <?=$form->field($feedback, "email")->textInput()?>
  340 + <div class="row">
  341 + <div class="col-md-4"><?=$form->field($feedback, "name")->textInput()?></div>
  342 + <div class="col-md-4"><?=$form->field($feedback, "phone")->textInput()?></div>
  343 + <div class="col-md-4"><?=$form->field($feedback, "email")->textInput()?></div>
  344 + </div>
344 345 </div>
345 346 </div>
346 347 </div>
... ... @@ -375,25 +376,24 @@
375 376  
376 377 <div class="col-md-6">
377 378 <p class="coord1"><?= \Yii::t('app', 'coord1_title') ?>:</p>
378   -
379   - <?=$form->field($feedback, "latitude")
380   - ->textInput()
381   - ->label(
382   - \Yii::t(
383   - 'app',
384   - 'Latitude'
385   - )
386   - )?>
387   -
388   - <?=$form->field($feedback, "longitude")
389   - ->textInput()
390   - ->label(
391   - \Yii::t(
392   - 'app',
393   - 'Longitude'
394   - )
395   - )?>
396   -
  379 + <div class="row">
  380 + <div class="col-md-6"><?=$form->field($feedback, "latitude")
  381 + ->textInput()
  382 + ->label(
  383 + \Yii::t(
  384 + 'app',
  385 + 'Latitude'
  386 + )
  387 + )?></div>
  388 + <div class="col-md-6"><?=$form->field($feedback, "longitude")
  389 + ->textInput()
  390 + ->label(
  391 + \Yii::t(
  392 + 'app',
  393 + 'Longitude'
  394 + )
  395 + )?></div>
  396 + </div>
397 397 <?=$form->field($feedback, "south_deviation")
398 398 ->textInput()
399 399 ->label(
... ... @@ -407,10 +407,10 @@
407 407 </div>
408 408  
409 409 <div class="row">
410   - <div class="col-md-6 text-center">
  410 + <div class="col-md-offset-1 col-md-5 text-center">
411 411 <img src="/img/form_img_1.jpg" class="img-responsive">
412 412 </div>
413   - <div class="col-md-6 text-center">
  413 + <div class="col-md-5 text-center">
414 414 <img src="/img/form_img_2.jpg" class="img-responsive">
415 415 </div>
416 416 </div>
... ... @@ -423,7 +423,7 @@
423 423 <div class="col-md-12">
424 424 <p style="font-weight:bold;"><?= \Yii::t('app', 'info_power_ses') ?></p>
425 425 <div class="row">
426   - <div class="col-md-12">
  426 + <div class="col-md-12" style="margin-top: -10px;margin-bottom: -10px;">
427 427 <div class="row" style="margin-bottom: 15px;">
428 428  
429 429 <?=$form->field($feedback, "power_station_type")
... ... @@ -650,7 +650,7 @@
650 650 if (!empty($settings->about)) {
651 651 ?>
652 652 <h4><?php echo \Yii::t('app', 'About us'); ?></h4>
653   - <p style="max-width: 300px;"><?php echo \Yii::t('app', $settings->about); ?></p>
  653 + <p style="max-width: 235px;"><?php echo \Yii::t('app', $settings->about); ?></p>
654 654 <?php
655 655 }
656 656 ?>
... ...
frontend/views/site/contact.php
... ... @@ -39,6 +39,7 @@ JS;
39 39 </div>
40 40  
41 41 <p class="lead"><?= \Yii::t('app', 'contact_text1') ?></p>
  42 + <div class="contacts_photo"><img src="/img/contacts_photo.jpg" alt=""></div>
42 43 </section>
43 44 </div>
44 45 </div>
... ...
frontend/views/site/index.php
... ... @@ -314,7 +314,7 @@ JS;
314 314 </div>
315 315 <div class="row">
316 316 <div class="col-md-12 col-xs-12" style="text-align:center;margin-top: 20px;margin-bottom: -35px;">
317   - <a href='site/object/index' class="button1 more-projects"><?= Yii::t('app', 'sect2_6') ?></a>
  317 + <a href='object/index' class="button1 more-projects"><?= Yii::t('app', 'sect2_6') ?></a>
318 318 </div>
319 319 </div>
320 320 </div>
... ... @@ -358,10 +358,10 @@ JS;
358 358 <div class="col-xs-12 col-sm-4">
359 359 <div class="box-simple">
360 360 <div class="icon">
361   - <img src="/img/icon_recomendation.png">
  361 + <img src="/img/icon_tarrif.png">
362 362 </div>
363   - <h3><?=\Yii::t('app', 'index_economy9')?></h3>
364   - <p><?=\Yii::t('app', 'index_economy10')?></p>
  363 + <h3><?=\Yii::t('app', 'index_economy13')?></h3>
  364 + <p><?=\Yii::t('app', 'index_economy14')?></p>
365 365 </div>
366 366 </div>
367 367 <div class="col-xs-12 col-sm-4">
... ... @@ -376,10 +376,10 @@ JS;
376 376 <div class="col-xs-12 col-sm-4">
377 377 <div class="box-simple">
378 378 <div class="icon">
379   - <img src="/img/icon_tarrif.png">
  379 + <img src="/img/icon_recomendation.png">
380 380 </div>
381   - <h3><?=\Yii::t('app', 'index_economy13')?></h3>
382   - <p><?=\Yii::t('app', 'index_economy14')?></p>
  381 + <h3><?=\Yii::t('app', 'index_economy9')?></h3>
  382 + <p><?=\Yii::t('app', 'index_economy10')?></p>
383 383 </div>
384 384 </div>
385 385 <div class="col-md-12 col-xs-12" style="text-align:center;margin-bottom:40px;">
... ... @@ -423,7 +423,7 @@ JS;
423 423 </div>
424 424 <div class="col-md-12 col-xs-12" style="text-align:center;margin-top: 20px;margin-bottom: -35px;">
425 425 <a
426   - href="<?= Url::toRoute(['blog/index'])?>"
  426 + href="<?= Url::toRoute(['object/index'])?>"
427 427 class="button1 more-projects"
428 428 >
429 429 <?=\Yii::t('app', 'more_about_ours')?>
... ...
frontend/views/site/individual.php
... ... @@ -25,6 +25,7 @@
25 25 <div id="content">
26 26 <section class="video_main">
27 27 <div id="video-bg">
  28 + <div class="arrow_bottom"><a href="#section1" class="scroll-to"><i class="fa fa-chevron-down" aria-hidden="true"></i></a></div>
28 29 <video width="100%" height="auto" muted="" autoplay="autoplay" loop="loop" preload="auto">
29 30 <source src="/video/kbcover2.mp4" type="video/mp4">
30 31 <source src="/video/kbcover2.ogg" type="video/ogg">
... ... @@ -32,7 +33,7 @@
32 33 </div>
33 34  
34 35 </section>
35   - <section class="no-mb mtop-25">
  36 + <section class="no-mb mtop-25" id="section1">
36 37 <div class="container">
37 38 <div class="row">
38 39 <div class="col-md-12">
... ...
frontend/views/site/legal.php
... ... @@ -31,6 +31,7 @@ $this-&gt;registerJs($js, View::POS_END);
31 31  
32 32 <section class="video_main">
33 33 <div id="video-bg">
  34 + <div class="arrow_bottom"><a href="#section1" class="scroll-to"><i class="fa fa-chevron-down" aria-hidden="true"></i></a></div>
34 35 <video width="100%" height="auto" muted="" autoplay="autoplay" loop="loop" preload="auto">
35 36 <source src="/video/kbvid1.mp4" type="video/mp4">
36 37 <source src="/video/kbvid1.ogg" type="video/ogg">
... ... @@ -38,7 +39,7 @@ $this-&gt;registerJs($js, View::POS_END);
38 39 </div>
39 40  
40 41 </section>
41   - <section class="no-mb mtop-25">
  42 + <section class="no-mb mtop-25" id="section1">
42 43 <div class="container">
43 44 <div class="row">
44 45 <div class="col-md-12">
... ...
frontend/web/css/main.css
... ... @@ -70,7 +70,7 @@ body{position:relative;}
70 70 justify-content: center;
71 71 align-items: center;
72 72 font-size: 11px;
73   - text-transform: lowercase;
  73 + /*text-transform: lowercase;*/
74 74 line-height: 13px;
75 75 cursor: pointer;
76 76 }
... ... @@ -241,7 +241,7 @@ section.blue-fon {padding-top: 25px;}
241 241 padding: 0;
242 242 margin: 0;
243 243 font-size: 11px;
244   - text-transform: lowercase;
  244 + /*text-transform: lowercase;*/
245 245 line-height: 13px;
246 246 cursor: default;
247 247 text-align: left;
... ... @@ -268,7 +268,6 @@ section.blue-fon {padding-top: 25px;}
268 268 display: flex;
269 269 align-items: center;
270 270 justify-content: center;
271   - opacity: 0.7;
272 271 }
273 272 #video-bg:after {
274 273 content: '';
... ... @@ -280,7 +279,34 @@ section.blue-fon {padding-top: 25px;}
280 279 background: rgba(0, 0, 0, 0.1);
281 280 box-shadow: inset 0px 250px 250px -250px black, inset 0px -250px 250px -250px black;
282 281 }
283   -.video_main{background-color: #000;z-index: -1000;}
  282 +#video-bg .arrow_bottom{
  283 + position: absolute;
  284 + width: 100%;
  285 + z-index: 1;
  286 + color: #fff;
  287 + bottom: 4%;
  288 + left: 0;
  289 + text-align: center;
  290 +}
  291 +#video-bg .arrow_bottom a{
  292 + font-size: 100px;
  293 + color: rgba(255, 255, 255, 0.5);
  294 + transition: 0.2s;
  295 +}
  296 +#video-bg .arrow_bottom a:hover{
  297 + color: rgba(255, 255, 255, 0.8);
  298 +}
  299 +#video-bg .arrow_bottom a:active{
  300 + color: rgba(255, 255, 255, 1);
  301 +}
  302 +#video-bg video{
  303 + opacity: 0.7;
  304 +}
  305 +.video_main {
  306 + background-color: #0080ca;
  307 + z-index: -1000;
  308 + background-image: url(/img/slide_two_fon.png);
  309 +}
284 310 .share_social{width:48px;height:48px;background-image:url('../img/socnets.png');display:inline-block;margin:0;padding:0;border-radius:50%;overflow:hidden;margin-top:5px;margin-right:3px;}
285 311 .share_social.vk{background-position:0px 0px;}
286 312 .share_social.fb{background-position:-56px 0px;}
... ... @@ -305,12 +331,11 @@ footer .social-logos a{
305 331 }
306 332 footer .social-logos a:hover {background-color: #d6b500;color: #0a2d42;}
307 333 .main-slider{
308   - height: calc(100vh - 92px);
  334 + height: calc(100vh - 190px);
309 335 background-color: #cecece;
310 336 width: 100%;
311 337 position: relative;
312   - min-height:350px;
313   - max-height:854px;
  338 + max-height: 857px;
314 339 }
315 340 .main-slider .carousel {position: relative;height: 100%;}
316 341 .main-slider .carousel-control {
... ... @@ -436,11 +461,12 @@ section.bar.background-gray.steps-pre:before {
436 461 .calculate-main-wr:after, #calculate-form:after{content:'';clear:both;display:block;position:relative;}
437 462 #calculate-form{margin-top: -15px;}
438 463 #calculate-form > .row {
439   - border-bottom: 1px solid #e5e5e5;
440   - padding-bottom: 10px;
441   - padding-top: 25px;
  464 + padding-top: 15px;
  465 +}
  466 +#calculate-form .submit-wr{
  467 + margin-top: -10px;
  468 + margin-bottom: 5px;
442 469 }
443   -#calculate-form .submit-wr{margin-top:25px;}
444 470 #calculate-form .text-center img{margin: 0 auto;}
445 471 .main-slider .carousel-indicators{display:none!important;}
446 472 .object-slider .carousel-indicators li{
... ... @@ -736,6 +762,18 @@ ul.list-wr span{color: #555;}
736 762 left: -20px;
737 763 top: -2px;
738 764 }
  765 +.contacts_photo{
  766 + width: 100%;
  767 + position: relative;
  768 + display: flex;
  769 + align-items: center;
  770 + justify-content: center;
  771 + height: auto;
  772 + max-height: 520px;
  773 + overflow: hidden;
  774 + border-radius: 10px;
  775 +}
  776 +.contacts_photo img{width:100%;}
739 777  
740 778 @media(min-width:1201px){
741 779 .links-ses-for-wr .container .row p {margin: 7px 20px;}
... ... @@ -757,7 +795,11 @@ ul.list-wr span{color: #555;}
757 795 header{height: 62px;overflow: hidden;}
758 796 #all{min-height:100vh;position: relative;padding-bottom: 250px;}
759 797 footer#footer{height: 250px;max-height: 250px;position: absolute;width: 100%;bottom: 0;}
760   - #calculate-modal .modal-dialog{width: 90%!important;max-width: 1550px!important;}
  798 + #calculate-modal .modal-dialog{
  799 + width: 95%!important;
  800 + max-width: 1550px!important;
  801 + margin-top: 10px;
  802 + }
761 803 .links-ses-for-wr .container .row p {margin: 7px 0px;}
762 804 p.coord1{margin-top:-30px;}
763 805 .object_main_title .main_omt{
... ... @@ -860,6 +902,12 @@ ul.list-wr span{color: #555;}
860 902 margin-bottom: 20px;
861 903 padding-top: 40%;
862 904 }
  905 + .contacts_photo {
  906 + width: calc(100% + 30px);
  907 + max-height: 230px;
  908 + margin-left: -15px;
  909 + border-radius: 0px;
  910 + }
863 911 }
864 912 @media(min-width:768px){
865 913 .navbar-collapse.collapse{
... ...
frontend/web/img/contacts_photo.jpg 0 → 100644

83.9 KB

frontend/web/js/script.js
... ... @@ -104,5 +104,12 @@ $(
104 104 }
105 105 );
106 106 }
  107 + $(".active a")
  108 + .on(
  109 + 'click', function(){
  110 + $("#back-to-top").click();
  111 + return false;
  112 + }
  113 + );
107 114 }
108 115 );
109 116 \ No newline at end of file
... ...