diff --git a/common/messages/ru/app.php b/common/messages/ru/app.php
index 2010a70..e9e3665 100644
--- a/common/messages/ru/app.php
+++ b/common/messages/ru/app.php
@@ -11,4 +11,15 @@ return [
'menu-mediaabout' => 'СМИ о нас',
'menu-blog' => 'Блог',
'menu-contacts' => 'Контакты',
+ 'Київ' => 'Киев',
+ 'Україна' => 'Украина',
+ "Комплексний підхід до енергозбереження та енергонезалежності" => 'Комплексный подход к энергосбережению и энергонезависимости',
+ 'yt1' => 'Смотреть на YouTube',
+ 'sect2_6' => 'Больше наших проектов',
+ 'sect2_7' => 'Первая солнечная электростанция в Киеве',
+ 'sect2_8' => 'Металлоконструкция. Собственное изготовление',
+ 'sect2_9' => 'Осветление Харьковского шоссе',
+ 'sect2_10' => 'Солнечная электростанция для Укртрансгаз',
+ 'About us' => 'О нас',
+ 'Contact' => 'Контакты',
];
\ No newline at end of file
diff --git a/common/messages/ua/app.php b/common/messages/ua/app.php
index 3474aa6..16cbbc7 100644
--- a/common/messages/ua/app.php
+++ b/common/messages/ua/app.php
@@ -9,4 +9,13 @@ return [
'menu-mediaabout' => 'ЗМІ про нас',
'menu-blog' => 'Блог',
'menu-contacts' => 'Контакти',
+ 'Київ' => 'Киев',
+ 'Україна' => 'Украина',
+ "Комплексний підхід до енергозбереження та енергонезалежності" => 'Комплексный подход к энергосбережению и энергонезависимости',
+ 'yt1' => 'Смотреть на YouTube',
+ 'sect2_6' => 'Больше наших проектов',
+ 'sect2_7' => 'Первая солнечная электростанция в Киеве',
+ 'sect2_8' => 'Металлоконструкция. Собственное изготовление',
+ 'sect2_9' => 'Осветление Харьковского шоссе',
+ 'sect2_10' => 'Солнечная электростанция для Укртрансгаз',
];
\ No newline at end of file
diff --git a/frontend/views/site/index.php b/frontend/views/site/index.php
index ecdc0e9..7e51ac9 100644
--- a/frontend/views/site/index.php
+++ b/frontend/views/site/index.php
@@ -2,308 +2,274 @@
/* @var $this yii\web\View */
+use common\models\Settings;
+use frontend\assets\MapAsset;
+use yii\web\View;
+
+MapAsset::register($this);
+$settings = Settings::getInstance();
$this->title = 'KB Energy';
+$js = <<< JS
+window.lat = {$settings->lat};
+window.lon = {$settings->lon};
+JS;
+
+$this->registerJs($js, View::POS_END);
?>
-
-
-
-
-
-
+
-
-
-
-
Universal is great
-
Last week more than 100 companies signed up to help them in their projects.
+
+
+
+
Почему мы
+
+
+
+
+
+

+
+
Мы первые подключили СЭС
+
по Зеленому тарифу в Киевской области
+
-
-
-
-

+
+
+
+

+
+
Более 50 объектов
+
по Киевской области
+
-
-
-
Business. Corporate. Agency.
-
Portfolio. Blog. E-commerce.
-
We have covered everything.
-
See our current packages comparison
-
to choose the right one for you.
-
See packages
-
-
+
+
+
+
+

+
+
Собственный штат
+
инженеров-монтажников
+
+
+
+
+
+

+
+
Энергоаудит
+
перед установкой мы делаем полный анализ вашей домашней энергосистемы
+
+
+
+
+
+

+
+
Экономим ваши деньги
+
проектируя эффективную систему
-
-
-
+
-
-
Our main focus
+
+
Наши объекты
-
-
-
-
-
-
-
Webdesign
-
Fifth abundantly made Give sixth hath. Cattle creature i be don't them behold green moved fowl Moved life us beast good yielding. Have bring.
-
-
-
-
-
-
+
+
+
+
-
Print
-
Advantage old had otherwise sincerity dependent additions. It in adapted natural hastily is justice. Six draw you him full not mean evil. Prepare garrets it expense windows shewing do an.
+
-
-
-
-
+
+
+
-
SEO and SEM
-
Am terminated it excellence invitation projection as. She graceful shy believed distance use nay. Lively is people so basket ladies window expect.
+
-
-
-
-
-
-
-
+
+
+
-
Consulting
-
Fifth abundantly made Give sixth hath. Cattle creature i be don't them behold green moved fowl Moved life us beast good yielding. Have bring.
+
-
-
-
-
+
+
+
-
Email Marketing
-
Advantage old had otherwise sincerity dependent additions. It in adapted natural hastily is justice. Six draw you him full not mean evil. Prepare garrets it expense windows shewing do an.
+
-
-
-
-
-
-
UX
-
Am terminated it excellence invitation projection as. She graceful shy believed distance use nay. Lively is people so basket ladies window expect.
-
+
+
-
+
-
-
-
-
+
+
Как заказать электростанцию
и начать экономить уже сегодня?
+
+
+
+
+
+
-
580
-
- Websites
+
Наше предложение
+
Наш специалист связывается с вами и, исходя из ваших пожеланий, формирует предложение
-
-
-
+
+
+
+
-
100
-
- Satisfied Clients
+
Договор
+
Официально подтверждаем и фиксируем наши договоренности
-
-
-
+
+
+
+
-
320
-
- Projects
+
Монтаж
+
Наши квалифицированные специалисты гарантированно обеспечат высокое качество монтажа
-
-
-
+
+
+
+
-
923
-
- Magazines and Brochures
+
Рекомендации
+
Вы рекомендуете нас своим друзьям и знакомым
-
-
-
-
-
-
-
-
-
-
-
-
-
Latest works from our portfolio
-
-
-
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies
- mi vitae est. Mauris placerat eleifend leo.
-
-
-
-
-
-
-

-
-
-
-
-
Pellentesque habitant morbi tristique senectus et netus et malesuada
-
- View
- Website
-
-
-
-
-
-
-
-
-
-
-

-
-
-
-
-
Pellentesque habitant morbi tristique senectus et netus et malesuada
-
- View
- Website
-
-
-
-
-
-
-
-
-
-
-

-
-
-
-
-
Pellentesque habitant morbi tristique senectus et netus et malesuada
-
- View
- Website
-
-
-
-
-
+
+
+
+
-
+
Сервисное обслуживание
+
Последующее сопровождение бесперебойной работы вашей электростанции
-
-
-
+
+
+
+

+
+
Подключение зеленого тарифа
+
Экспертная консультация, как подключить ЗТ и продавать избыточную энергию государству
-
-
-
+
-
-
-
-
Our clients
-
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
-
-
-
-
+
+
СМИ о нас
+
+
-
+
+
-
-
-
-
-
-
-
-
Do you want to see more?
-
We have prepared for you more than 40 different HTML pages, including 5 variations of homepage.
-
- Check other homepage
-
-
-
-
\ No newline at end of file
diff --git a/frontend/web/css/main.css b/frontend/web/css/main.css
index e45a6de..775cf59 100644
--- a/frontend/web/css/main.css
+++ b/frontend/web/css/main.css
@@ -1,3 +1,6 @@
+.no-mg{
+ margin:0;
+}
.navbar ul.nav > li > a {
font-size: 13px;
letter-spacing: -0.40px;
@@ -14,6 +17,31 @@
justify-content: center;
align-items: center;
}
+.button1 {
+ margin: 0 auto;
+ color: black;
+ text-transform: uppercase;
+ background-color: #ffd800;
+ text-decoration: none;
+ cursor: pointer;
+ transition: 0.3s;
+ display: inline-block;
+ text-align: center;
+ font-weight: bold;
+ width: 158px;
+ padding: 8px 0;
+ padding-top: 10px;
+ font-size: 13px;
+ line-height: 14px;
+ background-position: 14px center;
+ background-size: 11%;
+ background-repeat: no-repeat;
+ padding-left: 25px;
+ letter-spacing: 0;
+ border: none;
+ outline: none;
+ border-radius: 2px;
+}
.static_logo_img{
width:85px;
}
@@ -49,4 +77,125 @@
font-size: 12px;
text-align: center;
vertical-align: bottom;
-}
\ No newline at end of file
+}
+
+.blue-fon{
+ background-image:url('/img/slide_two_fon.png');
+ color:#fff;
+}
+.blue-fon .icon{
+ position: relative;
+ width:120px;
+ height:120px;
+ border:none;
+}
+.blue-fon .icon img {
+ width: 100%;
+ margin: 0;
+ padding: 0;
+}
+.blue-fon .box-simple h3 {
+ color: #ffd800;
+ margin-bottom: 5px;
+}
+.blue-fon .box-simple p {
+ color: #fff;
+}
+.why-us .line_why {
+ position: absolute;
+ top: 50px;
+ right: -83px;
+ opacity: 0.3;
+}
+.blue-fon .heading h1, .blue-fon .heading h2, .blue-fon .heading h3, .blue-fon .heading h4, .blue-fon .heading h5{
+ color:#fff;
+ border-color: #ffd800!important;
+}
+a.sqre_btn {
+ padding: 0;
+ margin: 0;
+ outline: none;
+ font-weight: normal;
+ font-size: 14px;
+ line-height: normal;
+ letter-spacing: 0;
+ display: inline-block;
+ vertical-align: middle;
+ width: 40px;
+ height: 40px;
+ background-color: rgba(255, 0, 0, 0.23);
+ border-radius: 0;
+ text-align: center;
+ overflow: hidden;
+ margin-left: 5px;
+ margin-top: 5px;
+ background-position: center;
+ background-repeat: no-repeat;
+}
+section.blue-fon {
+ padding-top: 25px;
+}
+.objects-main-wr .image_link_wr {
+ width: 100%;
+ height: 0;
+ padding-top: 58.829%;
+ position: relative;
+}
+.objects-main-wr .img-title table {
+ width: 100%;
+ margin-top: 10px;
+}
+.objects-main-wr .image_link {
+ background-position: center;
+ position: absolute;
+ top: 0;
+ left: 0;
+ background-size: cover;
+ background-repeat: no-repeat;
+ width: 100%;
+ height: 100%;
+}
+.objects-main-wr .img-title table td.buts {
+ width: 95px;
+ max-width: 100%;
+ vertical-align: top;
+ text-align: left;
+}
+.sqre_btn.blue_arrow {
+ background-color: #0095d7;
+ background-image: url(../img/arrows_right_w.png);
+}
+.text-left a.sqre_btn {
+ margin-left: 0;
+ margin-right: 5px;
+}
+.img-title table .text-left a.sqre_btn {
+ margin-top: 0;
+}
+.sqre_btn.yellow_calc {
+ background-color: #ffd800;
+ background-image: url(../img/icon_calc2.png);
+}
+.img-title table td.i-title {
+ padding-left: 10px;
+ text-align: left;
+ padding-right: 10px;
+}
+.img-title table .pr_title2 {
+ margin: 0;
+ padding: 0;
+}
+.pr_title2 a {
+ font-weight: bold;
+ font-size: 16px;
+ text-transform: uppercase;
+ text-decoration: none;
+ color: #555555;
+}
+.button1.more-projects {
+ padding: 14px;
+ width: 240px;
+ font-size: 14px;
+ margin-bottom: 25px;
+}
+.pr_title2 span{display:none!important;}
\ No newline at end of file
--
libgit2 0.21.4