Commit 049d42dc66ecd90c1e50cadf4ee8a6aeb975013b
Merge remote-tracking branch 'origin/master'
Showing
11 changed files
with
125 additions
and
65 deletions
Show diff stats
common/messages/ru/app.php
@@ -53,6 +53,7 @@ return [ | @@ -53,6 +53,7 @@ return [ | ||
53 | 'Київ' => 'Киев', | 53 | 'Київ' => 'Киев', |
54 | 'Україна' => 'Украина', | 54 | 'Україна' => 'Украина', |
55 | "Комплексний підхід до енергозбереження та енергонезалежності" => 'Комплексный подход к энергосбережению и энергонезависимости', | 55 | "Комплексний підхід до енергозбереження та енергонезалежності" => 'Комплексный подход к энергосбережению и энергонезависимости', |
56 | + "Будуємо енергонезалежну Україну разом!" => 'Строим энергонезависимую Украину вместе!', | ||
56 | 'yt1' => 'Смотреть на YouTube', | 57 | 'yt1' => 'Смотреть на YouTube', |
57 | 'sect2_6' => 'Больше наших проектов', | 58 | 'sect2_6' => 'Больше наших проектов', |
58 | 'sect2_7' => 'Первая солнечная электростанция в Киеве', | 59 | 'sect2_7' => 'Первая солнечная электростанция в Киеве', |
@@ -91,10 +92,10 @@ return [ | @@ -91,10 +92,10 @@ return [ | ||
91 | 'modal_text3' => 'За период с марта 2016 по февраль 2017 года, было спроектировано и построено СЭС мощностью 296 киловатт. Она включает в себя 1140 солнечных панелей, мощностью 260 квт каждая.', | 92 | 'modal_text3' => 'За период с марта 2016 по февраль 2017 года, было спроектировано и построено СЭС мощностью 296 киловатт. Она включает в себя 1140 солнечных панелей, мощностью 260 квт каждая.', |
92 | 'sect1_1' => 'Мы первые подключили СЭС', | 93 | 'sect1_1' => 'Мы первые подключили СЭС', |
93 | 'sect1_2' => 'по "зелёному" тарифу по Киевской области', | 94 | 'sect1_2' => 'по "зелёному" тарифу по Киевской области', |
94 | - 'sect1_3' => 'Более 50 объектов', | 95 | + 'sect1_3' => 'Более 200 объектов', |
95 | 'sect1_4' => 'по Киевской области', | 96 | 'sect1_4' => 'по Киевской области', |
96 | 'sect1_5' => 'Собственный штат', | 97 | 'sect1_5' => 'Собственный штат', |
97 | - 'sect1_6' => 'инженеров-монтажников', | 98 | + 'sect1_6' => 'инженеров-электриков, монтажников, проектантов', |
98 | 'sect1_7' => 'Энергоаудит', | 99 | 'sect1_7' => 'Энергоаудит', |
99 | 'sect1_8' => 'перед установкой мы делаем полный анализ вашей энергосистемы', | 100 | 'sect1_8' => 'перед установкой мы делаем полный анализ вашей энергосистемы', |
100 | 'sect1_9' => 'Экономим Ваши деньги', | 101 | 'sect1_9' => 'Экономим Ваши деньги', |
@@ -172,10 +173,10 @@ return [ | @@ -172,10 +173,10 @@ return [ | ||
172 | 173 | ||
173 | 'index_title1' => 'Мы первые подключили СЭС', | 174 | 'index_title1' => 'Мы первые подключили СЭС', |
174 | 'index_subtitle1' => 'по Зеленому тарифу в Киевской области', | 175 | 'index_subtitle1' => 'по Зеленому тарифу в Киевской области', |
175 | - 'index_title2' => 'Более 50 объектов', | 176 | + 'index_title2' => 'Более 200 объектов', |
176 | 'index_subtitle2' => 'по Киевской области', | 177 | 'index_subtitle2' => 'по Киевской области', |
177 | 'index_title3' => 'Собственный штат', | 178 | 'index_title3' => 'Собственный штат', |
178 | - 'index_subtitle3' => 'инженеров-монтажников', | 179 | + 'index_subtitle3' => 'инженеров-электриков, монтажников, проектантов', |
179 | 'index_title4' => 'Энергоаудит', | 180 | 'index_title4' => 'Энергоаудит', |
180 | 'index_subtitle4' => 'перед установкой мы делаем полный анализ вашей домашней энергосистемы', | 181 | 'index_subtitle4' => 'перед установкой мы делаем полный анализ вашей домашней энергосистемы', |
181 | 'index_title5' => 'Экономим ваши деньги', | 182 | 'index_title5' => 'Экономим ваши деньги', |
@@ -188,7 +189,7 @@ return [ | @@ -188,7 +189,7 @@ return [ | ||
188 | 'index_modal3' => 'Рассчитать', | 189 | 'index_modal3' => 'Рассчитать', |
189 | 'index_modal4' => 'стоимость проекта', | 190 | 'index_modal4' => 'стоимость проекта', |
190 | 'index_objects' => 'Наши объекты', | 191 | 'index_objects' => 'Наши объекты', |
191 | - 'index_economy1' => 'Как заказать электростанцию', | 192 | + 'index_economy1' => 'Как установить солнечную электростанцию', |
192 | 'index_economy2' => 'и начать экономить уже сегодня?', | 193 | 'index_economy2' => 'и начать экономить уже сегодня?', |
193 | 'index_economy3' => 'Наше предложение', | 194 | 'index_economy3' => 'Наше предложение', |
194 | 'index_economy4' => 'Наш специалист связывается с вами и, исходя из ваших пожеланий, формирует предложение', | 195 | 'index_economy4' => 'Наш специалист связывается с вами и, исходя из ваших пожеланий, формирует предложение', |
@@ -298,7 +299,7 @@ return [ | @@ -298,7 +299,7 @@ return [ | ||
298 | 'nashiuslugi' => 'Наши услуги', | 299 | 'nashiuslugi' => 'Наши услуги', |
299 | "Home" => "Главная", | 300 | "Home" => "Главная", |
300 | 'ind_text1' => 'Зачем вам домашняя солнечная электростанция?', | 301 | 'ind_text1' => 'Зачем вам домашняя солнечная электростанция?', |
301 | - 'ind_text2' => 'Дополнительный источник доходов — вы зарабатываете до 500 $ в месяц благодаря зеленому тарифу;', | 302 | + 'ind_text2' => 'Дополнительный источник доходов — вы зарабатываете до 7500$ в год благодаря зеленому тарифу;', |
302 | 'ind_text3' => 'Солнце — экологически чистый источник энергии;', | 303 | 'ind_text3' => 'Солнце — экологически чистый источник энергии;', |
303 | 'ind_text4' => 'Низкая стоимость обслуживания (за 1 кбт — от 800$). В эту сумму входит оборудование, монтаж + полный пакет документов;', | 304 | 'ind_text4' => 'Низкая стоимость обслуживания (за 1 кбт — от 800$). В эту сумму входит оборудование, монтаж + полный пакет документов;', |
304 | 'ind_text5' => 'Полный набор оборудования: фотомодуль, инвертор, система установки фотомодулей, защитная автоматика, расходные материалы.', | 305 | 'ind_text5' => 'Полный набор оборудования: фотомодуль, инвертор, система установки фотомодулей, защитная автоматика, расходные материалы.', |
common/messages/ua/app.php
@@ -21,6 +21,7 @@ return [ | @@ -21,6 +21,7 @@ return [ | ||
21 | '1М' => '1М', | 21 | '1М' => '1М', |
22 | 'пр-т. Николая Бажана' => 'пр-т Миколи Бажана', | 22 | 'пр-т. Николая Бажана' => 'пр-т Миколи Бажана', |
23 | 'Комплексный подход к энергосбережению и энергонезависимости' => 'Комплексний підхід до енергозбереження та енергонезалежності', | 23 | 'Комплексный подход к энергосбережению и энергонезависимости' => 'Комплексний підхід до енергозбереження та енергонезалежності', |
24 | + 'Строим энергонезависимую Украину вместе' => 'Будуємо енергонезалежну Україну разом!', | ||
24 | 25 | ||
25 | 'footer_all_rights' => 'Всі права захищені', | 26 | 'footer_all_rights' => 'Всі права захищені', |
26 | 'footer_using_mats' => 'Використання матеріалів сайту можливе лише з посиланням на джерело', | 27 | 'footer_using_mats' => 'Використання матеріалів сайту можливе лише з посиланням на джерело', |
@@ -100,7 +101,7 @@ return [ | @@ -100,7 +101,7 @@ return [ | ||
100 | 'sect1_3' => 'Понад 50 об\'єктів', | 101 | 'sect1_3' => 'Понад 50 об\'єктів', |
101 | 'sect1_4' => 'по Київській області', | 102 | 'sect1_4' => 'по Київській області', |
102 | 'sect1_5' => 'Власний штат', | 103 | 'sect1_5' => 'Власний штат', |
103 | - 'sect1_6' => 'інженерів-монтажників', | 104 | + 'sect1_6' => 'інженерів-електриків, монтажників, проектантів', |
104 | 'sect1_7' => 'Енергоаудит', | 105 | 'sect1_7' => 'Енергоаудит', |
105 | 'sect1_8' => 'перед встановленням ми робимо повний аналіз вашої енергосистеми', | 106 | 'sect1_8' => 'перед встановленням ми робимо повний аналіз вашої енергосистеми', |
106 | 'sect1_9' => 'Економимо Ваші гроші', | 107 | 'sect1_9' => 'Економимо Ваші гроші', |
@@ -174,10 +175,10 @@ return [ | @@ -174,10 +175,10 @@ return [ | ||
174 | 175 | ||
175 | 'index_title1' => 'МИ ПЕРШІ ПІДКЛЮЧИЛИ СЕС', | 176 | 'index_title1' => 'МИ ПЕРШІ ПІДКЛЮЧИЛИ СЕС', |
176 | 'index_subtitle1' => 'по зеленому тарифу в Київській області', | 177 | 'index_subtitle1' => 'по зеленому тарифу в Київській області', |
177 | - 'index_title2' => 'БІЛЬШ НІЖ 50 ОБЄКТІВ', | 178 | + 'index_title2' => 'БІЛЬШ НІЖ 200 ОБЄКТІВ', |
178 | 'index_subtitle2' => 'по Київській області', | 179 | 'index_subtitle2' => 'по Київській області', |
179 | 'index_title3' => 'НАШ ОСОБИСТИЙ ШТАТ', | 180 | 'index_title3' => 'НАШ ОСОБИСТИЙ ШТАТ', |
180 | - 'index_subtitle3' => 'інженерів-монтажників', | 181 | + 'index_subtitle3' => 'інженерів-електриків, монтажників, проектантів', |
181 | 'index_title4' => 'ЕНЕРГОАУДИТ', | 182 | 'index_title4' => 'ЕНЕРГОАУДИТ', |
182 | 'index_subtitle4' => 'перед встановленням ми робимо повний аналіз вашої домашньої енергосистеми', | 183 | 'index_subtitle4' => 'перед встановленням ми робимо повний аналіз вашої домашньої енергосистеми', |
183 | 'index_title5' => 'ЕКОНОМІЯ ВАШИХ ВИТРАТ', | 184 | 'index_title5' => 'ЕКОНОМІЯ ВАШИХ ВИТРАТ', |
@@ -190,7 +191,7 @@ return [ | @@ -190,7 +191,7 @@ return [ | ||
190 | 'index_modal3' => 'Порахувати', | 191 | 'index_modal3' => 'Порахувати', |
191 | 'index_modal4' => 'вартість об’єкта', | 192 | 'index_modal4' => 'вартість об’єкта', |
192 | 'index_objects' => 'НАШІ ОБ’ЄКТИ', | 193 | 'index_objects' => 'НАШІ ОБ’ЄКТИ', |
193 | - 'index_economy1' => 'ЯК ЗАМОВИТИ ЕЛЕКТРОСТАНЦІЮ', | 194 | + 'index_economy1' => 'Як встановити сонячну електростанцію', |
194 | 'index_economy2' => 'ТА ПОЧАТИ ЕКОНОМИТИ ВЖЕ СЬОГОДНІ?', | 195 | 'index_economy2' => 'ТА ПОЧАТИ ЕКОНОМИТИ ВЖЕ СЬОГОДНІ?', |
195 | 'index_economy3' => 'Наша пропозиція', | 196 | 'index_economy3' => 'Наша пропозиція', |
196 | 'index_economy4' => 'Фахівець зв\'язується з вами і згідно з вашими побажаннями формує пропозицію', | 197 | 'index_economy4' => 'Фахівець зв\'язується з вами і згідно з вашими побажаннями формує пропозицію', |
@@ -300,7 +301,7 @@ return [ | @@ -300,7 +301,7 @@ return [ | ||
300 | 301 | ||
301 | "Home" => "Головна", | 302 | "Home" => "Головна", |
302 | 'ind_text1' => 'Навіщо вам домашня сонячна електростанція?', | 303 | 'ind_text1' => 'Навіщо вам домашня сонячна електростанція?', |
303 | - 'ind_text2' => 'Додаткове джерело доходів — ви заробляєте до 500$ на місяць від зеленого тарифу;', | 304 | + 'ind_text2' => 'Додаткове джерело доходів — ви заробляєте до 7500$ на рік від зеленого тарифу;', |
304 | 'ind_text3' => 'Сонце — екологічно чисте джерело енергії;', | 305 | 'ind_text3' => 'Сонце — екологічно чисте джерело енергії;', |
305 | 'ind_text4' => 'Низька вартість обслуговування (за 1 кВт — від 800$). В цю суму входить обладнання, монтаж + повний пакет документів;', | 306 | 'ind_text4' => 'Низька вартість обслуговування (за 1 кВт — від 800$). В цю суму входить обладнання, монтаж + повний пакет документів;', |
306 | 'ind_text5' => 'Повний набір обладнання: фотомодуль, інвертор, система кріплення фотомодулів, захисна автоматика, витратні матеріали.', | 307 | 'ind_text5' => 'Повний набір обладнання: фотомодуль, інвертор, система кріплення фотомодулів, захисна автоматика, витратні матеріали.', |
frontend/controllers/SiteController.php
frontend/views/layouts/main.php
@@ -329,18 +329,19 @@ | @@ -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 | <?= $form->field($feedback, 'topic') | 337 | <?= $form->field($feedback, 'topic') |
338 | ->hiddenInput(['value' => Feedback::SCENARIO_CALCULATOR]) | 338 | ->hiddenInput(['value' => Feedback::SCENARIO_CALCULATOR]) |
339 | ->label(false)?> | 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 | </div> | 345 | </div> |
345 | </div> | 346 | </div> |
346 | </div> | 347 | </div> |
@@ -375,25 +376,24 @@ | @@ -375,25 +376,24 @@ | ||
375 | 376 | ||
376 | <div class="col-md-6"> | 377 | <div class="col-md-6"> |
377 | <p class="coord1"><?= \Yii::t('app', 'coord1_title') ?>:</p> | 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 | <?=$form->field($feedback, "south_deviation") | 397 | <?=$form->field($feedback, "south_deviation") |
398 | ->textInput() | 398 | ->textInput() |
399 | ->label( | 399 | ->label( |
@@ -407,10 +407,10 @@ | @@ -407,10 +407,10 @@ | ||
407 | </div> | 407 | </div> |
408 | 408 | ||
409 | <div class="row"> | 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 | <img src="/img/form_img_1.jpg" class="img-responsive"> | 411 | <img src="/img/form_img_1.jpg" class="img-responsive"> |
412 | </div> | 412 | </div> |
413 | - <div class="col-md-6 text-center"> | 413 | + <div class="col-md-5 text-center"> |
414 | <img src="/img/form_img_2.jpg" class="img-responsive"> | 414 | <img src="/img/form_img_2.jpg" class="img-responsive"> |
415 | </div> | 415 | </div> |
416 | </div> | 416 | </div> |
@@ -423,7 +423,7 @@ | @@ -423,7 +423,7 @@ | ||
423 | <div class="col-md-12"> | 423 | <div class="col-md-12"> |
424 | <p style="font-weight:bold;"><?= \Yii::t('app', 'info_power_ses') ?></p> | 424 | <p style="font-weight:bold;"><?= \Yii::t('app', 'info_power_ses') ?></p> |
425 | <div class="row"> | 425 | <div class="row"> |
426 | - <div class="col-md-12"> | 426 | + <div class="col-md-12" style="margin-top: -10px;margin-bottom: -10px;"> |
427 | <div class="row" style="margin-bottom: 15px;"> | 427 | <div class="row" style="margin-bottom: 15px;"> |
428 | 428 | ||
429 | <?=$form->field($feedback, "power_station_type") | 429 | <?=$form->field($feedback, "power_station_type") |
@@ -650,7 +650,7 @@ | @@ -650,7 +650,7 @@ | ||
650 | if (!empty($settings->about)) { | 650 | if (!empty($settings->about)) { |
651 | ?> | 651 | ?> |
652 | <h4><?php echo \Yii::t('app', 'About us'); ?></h4> | 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 | <?php | 654 | <?php |
655 | } | 655 | } |
656 | ?> | 656 | ?> |
frontend/views/site/contact.php
@@ -39,6 +39,7 @@ JS; | @@ -39,6 +39,7 @@ JS; | ||
39 | </div> | 39 | </div> |
40 | 40 | ||
41 | <p class="lead"><?= \Yii::t('app', 'contact_text1') ?></p> | 41 | <p class="lead"><?= \Yii::t('app', 'contact_text1') ?></p> |
42 | + <div class="contacts_photo"><img src="/img/contacts_photo.jpg" alt=""></div> | ||
42 | </section> | 43 | </section> |
43 | </div> | 44 | </div> |
44 | </div> | 45 | </div> |
frontend/views/site/index.php
@@ -314,7 +314,7 @@ JS; | @@ -314,7 +314,7 @@ JS; | ||
314 | </div> | 314 | </div> |
315 | <div class="row"> | 315 | <div class="row"> |
316 | <div class="col-md-12 col-xs-12" style="text-align:center;margin-top: 20px;margin-bottom: -35px;"> | 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 | </div> | 318 | </div> |
319 | </div> | 319 | </div> |
320 | </div> | 320 | </div> |
@@ -358,10 +358,10 @@ JS; | @@ -358,10 +358,10 @@ JS; | ||
358 | <div class="col-xs-12 col-sm-4"> | 358 | <div class="col-xs-12 col-sm-4"> |
359 | <div class="box-simple"> | 359 | <div class="box-simple"> |
360 | <div class="icon"> | 360 | <div class="icon"> |
361 | - <img src="/img/icon_recomendation.png"> | 361 | + <img src="/img/icon_tarrif.png"> |
362 | </div> | 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 | </div> | 365 | </div> |
366 | </div> | 366 | </div> |
367 | <div class="col-xs-12 col-sm-4"> | 367 | <div class="col-xs-12 col-sm-4"> |
@@ -376,10 +376,10 @@ JS; | @@ -376,10 +376,10 @@ JS; | ||
376 | <div class="col-xs-12 col-sm-4"> | 376 | <div class="col-xs-12 col-sm-4"> |
377 | <div class="box-simple"> | 377 | <div class="box-simple"> |
378 | <div class="icon"> | 378 | <div class="icon"> |
379 | - <img src="/img/icon_tarrif.png"> | 379 | + <img src="/img/icon_recomendation.png"> |
380 | </div> | 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 | </div> | 383 | </div> |
384 | </div> | 384 | </div> |
385 | <div class="col-md-12 col-xs-12" style="text-align:center;margin-bottom:40px;"> | 385 | <div class="col-md-12 col-xs-12" style="text-align:center;margin-bottom:40px;"> |
@@ -423,7 +423,7 @@ JS; | @@ -423,7 +423,7 @@ JS; | ||
423 | </div> | 423 | </div> |
424 | <div class="col-md-12 col-xs-12" style="text-align:center;margin-top: 20px;margin-bottom: -35px;"> | 424 | <div class="col-md-12 col-xs-12" style="text-align:center;margin-top: 20px;margin-bottom: -35px;"> |
425 | <a | 425 | <a |
426 | - href="<?= Url::toRoute(['blog/index'])?>" | 426 | + href="<?= Url::toRoute(['object/index'])?>" |
427 | class="button1 more-projects" | 427 | class="button1 more-projects" |
428 | > | 428 | > |
429 | <?=\Yii::t('app', 'more_about_ours')?> | 429 | <?=\Yii::t('app', 'more_about_ours')?> |
frontend/views/site/individual.php
@@ -25,6 +25,7 @@ | @@ -25,6 +25,7 @@ | ||
25 | <div id="content"> | 25 | <div id="content"> |
26 | <section class="video_main"> | 26 | <section class="video_main"> |
27 | <div id="video-bg"> | 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 | <video width="100%" height="auto" muted="" autoplay="autoplay" loop="loop" preload="auto"> | 29 | <video width="100%" height="auto" muted="" autoplay="autoplay" loop="loop" preload="auto"> |
29 | <source src="/video/kbcover2.mp4" type="video/mp4"> | 30 | <source src="/video/kbcover2.mp4" type="video/mp4"> |
30 | <source src="/video/kbcover2.ogg" type="video/ogg"> | 31 | <source src="/video/kbcover2.ogg" type="video/ogg"> |
@@ -32,7 +33,7 @@ | @@ -32,7 +33,7 @@ | ||
32 | </div> | 33 | </div> |
33 | 34 | ||
34 | </section> | 35 | </section> |
35 | - <section class="no-mb mtop-25"> | 36 | + <section class="no-mb mtop-25" id="section1"> |
36 | <div class="container"> | 37 | <div class="container"> |
37 | <div class="row"> | 38 | <div class="row"> |
38 | <div class="col-md-12"> | 39 | <div class="col-md-12"> |
frontend/views/site/legal.php
@@ -31,6 +31,7 @@ $this->registerJs($js, View::POS_END); | @@ -31,6 +31,7 @@ $this->registerJs($js, View::POS_END); | ||
31 | 31 | ||
32 | <section class="video_main"> | 32 | <section class="video_main"> |
33 | <div id="video-bg"> | 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 | <video width="100%" height="auto" muted="" autoplay="autoplay" loop="loop" preload="auto"> | 35 | <video width="100%" height="auto" muted="" autoplay="autoplay" loop="loop" preload="auto"> |
35 | <source src="/video/kbvid1.mp4" type="video/mp4"> | 36 | <source src="/video/kbvid1.mp4" type="video/mp4"> |
36 | <source src="/video/kbvid1.ogg" type="video/ogg"> | 37 | <source src="/video/kbvid1.ogg" type="video/ogg"> |
@@ -38,7 +39,7 @@ $this->registerJs($js, View::POS_END); | @@ -38,7 +39,7 @@ $this->registerJs($js, View::POS_END); | ||
38 | </div> | 39 | </div> |
39 | 40 | ||
40 | </section> | 41 | </section> |
41 | - <section class="no-mb mtop-25"> | 42 | + <section class="no-mb mtop-25" id="section1"> |
42 | <div class="container"> | 43 | <div class="container"> |
43 | <div class="row"> | 44 | <div class="row"> |
44 | <div class="col-md-12"> | 45 | <div class="col-md-12"> |
frontend/web/css/main.css
@@ -70,7 +70,7 @@ body{position:relative;} | @@ -70,7 +70,7 @@ body{position:relative;} | ||
70 | justify-content: center; | 70 | justify-content: center; |
71 | align-items: center; | 71 | align-items: center; |
72 | font-size: 11px; | 72 | font-size: 11px; |
73 | - text-transform: lowercase; | 73 | + /*text-transform: lowercase;*/ |
74 | line-height: 13px; | 74 | line-height: 13px; |
75 | cursor: pointer; | 75 | cursor: pointer; |
76 | } | 76 | } |
@@ -241,7 +241,7 @@ section.blue-fon {padding-top: 25px;} | @@ -241,7 +241,7 @@ section.blue-fon {padding-top: 25px;} | ||
241 | padding: 0; | 241 | padding: 0; |
242 | margin: 0; | 242 | margin: 0; |
243 | font-size: 11px; | 243 | font-size: 11px; |
244 | - text-transform: lowercase; | 244 | + /*text-transform: lowercase;*/ |
245 | line-height: 13px; | 245 | line-height: 13px; |
246 | cursor: default; | 246 | cursor: default; |
247 | text-align: left; | 247 | text-align: left; |
@@ -268,7 +268,6 @@ section.blue-fon {padding-top: 25px;} | @@ -268,7 +268,6 @@ section.blue-fon {padding-top: 25px;} | ||
268 | display: flex; | 268 | display: flex; |
269 | align-items: center; | 269 | align-items: center; |
270 | justify-content: center; | 270 | justify-content: center; |
271 | - opacity: 0.7; | ||
272 | } | 271 | } |
273 | #video-bg:after { | 272 | #video-bg:after { |
274 | content: ''; | 273 | content: ''; |
@@ -280,7 +279,34 @@ section.blue-fon {padding-top: 25px;} | @@ -280,7 +279,34 @@ section.blue-fon {padding-top: 25px;} | ||
280 | background: rgba(0, 0, 0, 0.1); | 279 | background: rgba(0, 0, 0, 0.1); |
281 | box-shadow: inset 0px 250px 250px -250px black, inset 0px -250px 250px -250px black; | 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 | .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;} | 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 | .share_social.vk{background-position:0px 0px;} | 311 | .share_social.vk{background-position:0px 0px;} |
286 | .share_social.fb{background-position:-56px 0px;} | 312 | .share_social.fb{background-position:-56px 0px;} |
@@ -305,12 +331,11 @@ footer .social-logos a{ | @@ -305,12 +331,11 @@ footer .social-logos a{ | ||
305 | } | 331 | } |
306 | footer .social-logos a:hover {background-color: #d6b500;color: #0a2d42;} | 332 | footer .social-logos a:hover {background-color: #d6b500;color: #0a2d42;} |
307 | .main-slider{ | 333 | .main-slider{ |
308 | - height: calc(100vh - 92px); | 334 | + height: calc(100vh - 190px); |
309 | background-color: #cecece; | 335 | background-color: #cecece; |
310 | width: 100%; | 336 | width: 100%; |
311 | position: relative; | 337 | position: relative; |
312 | - min-height:350px; | ||
313 | - max-height:854px; | 338 | + max-height: 857px; |
314 | } | 339 | } |
315 | .main-slider .carousel {position: relative;height: 100%;} | 340 | .main-slider .carousel {position: relative;height: 100%;} |
316 | .main-slider .carousel-control { | 341 | .main-slider .carousel-control { |
@@ -436,11 +461,12 @@ section.bar.background-gray.steps-pre:before { | @@ -436,11 +461,12 @@ section.bar.background-gray.steps-pre:before { | ||
436 | .calculate-main-wr:after, #calculate-form:after{content:'';clear:both;display:block;position:relative;} | 461 | .calculate-main-wr:after, #calculate-form:after{content:'';clear:both;display:block;position:relative;} |
437 | #calculate-form{margin-top: -15px;} | 462 | #calculate-form{margin-top: -15px;} |
438 | #calculate-form > .row { | 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 | #calculate-form .text-center img{margin: 0 auto;} | 470 | #calculate-form .text-center img{margin: 0 auto;} |
445 | .main-slider .carousel-indicators{display:none!important;} | 471 | .main-slider .carousel-indicators{display:none!important;} |
446 | .object-slider .carousel-indicators li{ | 472 | .object-slider .carousel-indicators li{ |
@@ -736,6 +762,18 @@ ul.list-wr span{color: #555;} | @@ -736,6 +762,18 @@ ul.list-wr span{color: #555;} | ||
736 | left: -20px; | 762 | left: -20px; |
737 | top: -2px; | 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 | @media(min-width:1201px){ | 778 | @media(min-width:1201px){ |
741 | .links-ses-for-wr .container .row p {margin: 7px 20px;} | 779 | .links-ses-for-wr .container .row p {margin: 7px 20px;} |
@@ -757,7 +795,11 @@ ul.list-wr span{color: #555;} | @@ -757,7 +795,11 @@ ul.list-wr span{color: #555;} | ||
757 | header{height: 62px;overflow: hidden;} | 795 | header{height: 62px;overflow: hidden;} |
758 | #all{min-height:100vh;position: relative;padding-bottom: 250px;} | 796 | #all{min-height:100vh;position: relative;padding-bottom: 250px;} |
759 | footer#footer{height: 250px;max-height: 250px;position: absolute;width: 100%;bottom: 0;} | 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 | .links-ses-for-wr .container .row p {margin: 7px 0px;} | 803 | .links-ses-for-wr .container .row p {margin: 7px 0px;} |
762 | p.coord1{margin-top:-30px;} | 804 | p.coord1{margin-top:-30px;} |
763 | .object_main_title .main_omt{ | 805 | .object_main_title .main_omt{ |
@@ -860,6 +902,12 @@ ul.list-wr span{color: #555;} | @@ -860,6 +902,12 @@ ul.list-wr span{color: #555;} | ||
860 | margin-bottom: 20px; | 902 | margin-bottom: 20px; |
861 | padding-top: 40%; | 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 | @media(min-width:768px){ | 912 | @media(min-width:768px){ |
865 | .navbar-collapse.collapse{ | 913 | .navbar-collapse.collapse{ |
83.9 KB
frontend/web/js/script.js
@@ -104,5 +104,12 @@ $( | @@ -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 | \ No newline at end of file | 116 | \ No newline at end of file |