From 86162b6cd7c9d491a46fe088e85474c61ea51d61 Mon Sep 17 00:00:00 2001 From: Vera Nikitinskaya Date: Mon, 11 Dec 2017 16:31:11 +0300 Subject: [PATCH] Add contact form --- Gemfile | 4 +-- Gemfile.lock | 42 +++++++++++++++-------------- _sass/components/contact-image.scss | 4 +-- company/contact/index.html | 29 +++++++++++++++----- 4 files changed, 49 insertions(+), 30 deletions(-) diff --git a/Gemfile b/Gemfile index a671871..43e9ffd 100644 --- a/Gemfile +++ b/Gemfile @@ -15,8 +15,8 @@ gem "jekyll", ">=3.5.0" # uncomment the line below. To upgrade, run `bundle update github-pages`. #gem "github-pages", group: :jekyll_plugins gem "jekyll-redirect-from" -gem "engnr-theme", :git => 'https://github.com/engnr/engnr-theme', :submodules => true, :tag => 'v0.4.0' -#gem "engnr-theme", :path => '../engnr-theme', :submodules => true, :branch => 'master' +gem "engnr-theme", :git => 'https://github.com/engnr/engnr-theme', :submodules => true, :tag => 'v0.4.1' +#gem "engnr-theme", :git => '../engnr-theme', :submodules => true, :branch => 'master' # If you have any plugins, put them here! group :jekyll_plugins do diff --git a/Gemfile.lock b/Gemfile.lock index 41f3800..dabc604 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,10 +1,10 @@ GIT remote: https://github.com/engnr/engnr-theme - revision: 36be29c0e44114524682cc47f1e247cf25a71484 - tag: v0.4.0 + revision: f3b5f4488363d61cbec9545a01cab5aaa4aebc20 + tag: v0.4.1 submodules: true specs: - engnr-theme (0.4.0) + engnr-theme (0.4.1) jekyll (~> 3.4) GEM @@ -20,22 +20,22 @@ GEM colorator (1.1.0) colorize (0.8.1) concurrent-ruby (1.0.5) - ethon (0.10.1) + ethon (0.11.0) ffi (>= 1.3.0) ffi (1.9.18) forwardable-extended (2.6.0) - html-proofer (3.7.4) + html-proofer (3.7.6) activesupport (>= 4.2, < 6.0) addressable (~> 2.3) colorize (~> 0.8) mercenary (~> 0.3.2) - nokogiri (~> 1.7) + nokogiri (~> 1.8.1) parallel (~> 1.3) typhoeus (~> 0.7) yell (~> 2.0) - i18n (0.9.0) + i18n (0.9.1) concurrent-ruby (~> 1.0) - jekyll (3.6.0) + jekyll (3.6.2) addressable (~> 2.4) colorator (~> 1.0) jekyll-sass-converter (~> 1.0) @@ -47,32 +47,34 @@ GEM rouge (>= 1.7, < 3) safe_yaml (~> 1.0) jekyll-paginate (1.1.0) - jekyll-redirect-from (0.12.1) + jekyll-redirect-from (0.13.0) jekyll (~> 3.3) - jekyll-sass-converter (1.5.0) + jekyll-sass-converter (1.5.1) sass (~> 3.4) - jekyll-watch (1.5.0) - listen (~> 3.0, < 3.1) - kramdown (1.15.0) + jekyll-watch (1.5.1) + listen (~> 3.0) + kramdown (1.16.2) liquid (4.0.0) - listen (3.0.8) + listen (3.1.5) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) + ruby_dep (~> 1.2) mercenary (0.3.6) mini_portile2 (2.3.0) minitest (5.10.3) nokogiri (1.8.1) mini_portile2 (~> 2.3.0) - parallel (1.12.0) - pathutil (0.16.0) + parallel (1.12.1) + pathutil (0.16.1) forwardable-extended (~> 2.6) - public_suffix (3.0.0) + public_suffix (3.0.1) rb-fsevent (0.10.2) rb-inotify (0.9.10) ffi (>= 0.5.0, < 2) rouge (2.2.1) + ruby_dep (1.5.0) safe_yaml (1.0.4) - sass (3.5.2) + sass (3.5.4) sass-listen (~> 4.0.0) sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) @@ -80,7 +82,7 @@ GEM thread_safe (0.3.6) typhoeus (0.8.0) ethon (>= 0.8.0) - tzinfo (1.2.3) + tzinfo (1.2.4) thread_safe (~> 0.1) yell (2.0.7) @@ -98,4 +100,4 @@ RUBY VERSION ruby 2.4.1p111 BUNDLED WITH - 1.15.4 + 1.16.0 diff --git a/_sass/components/contact-image.scss b/_sass/components/contact-image.scss index 7dcd96d..28cc725 100644 --- a/_sass/components/contact-image.scss +++ b/_sass/components/contact-image.scss @@ -1,4 +1,4 @@ .contact-image { - width: 300px; - vertical-align: bottom; + background: url(/assets/images/phone.jpg) no-repeat bottom; + min-height: 460px; } diff --git a/company/contact/index.html b/company/contact/index.html index 8819143..d567fab 100644 --- a/company/contact/index.html +++ b/company/contact/index.html @@ -1,14 +1,31 @@ --- layout: page title: — Алло, Инженерная? +description: Напишите нам или просто оставьте свой контакт. padded_footer: false --- -
- phone -
-
- Пишите письма на {{ site.email }} -
+
+
+
+
+ +
+
+
+ + +
Ответим или перезвоним на следующий рабочий день
+
+
+ + +
+
+ +
+
+ Пишите письма на {{ site.email }} +
{% include drift.html app_id=site.integrations.drift.app_id %}