1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 01:36:55 +01:00

more Enterprise -> Services renaming

This commit is contained in:
Matthias Kretschmann 2018-04-12 11:22:13 +02:00
parent dff66d6636
commit b62ddf3904
Signed by: m
GPG Key ID: 606EEEF3C479A91F
9 changed files with 45 additions and 48 deletions

View File

@ -15,8 +15,8 @@ email:
contact_cc: "kamal@bigchaindb.com,ricardo@bigchaindb.com,gautam@bigchaindb.com" contact_cc: "kamal@bigchaindb.com,ricardo@bigchaindb.com,gautam@bigchaindb.com"
cla: troy@ascribe.io cla: troy@ascribe.io
cla_cc: sylvain@bigchaindb.com cla_cc: sylvain@bigchaindb.com
enterprise: ikytz6br@robot.zapier.com services: ikytz6br@robot.zapier.com
enterprise_cc: "kamal@bigchaindb.com,ricardo@bigchaindb.com,gautam@bigchaindb.com" services_cc: "kamal@bigchaindb.com,ricardo@bigchaindb.com,gautam@bigchaindb.com"
social: social:
gitter: gitter:

View File

Before

Width:  |  Height:  |  Size: 385 KiB

After

Width:  |  Height:  |  Size: 385 KiB

View File

@ -159,12 +159,12 @@ var GoogleAnalytics = (function(w,d,$) {
ga('send', 'event', 'cla', 'cla_form', 'error'); ga('send', 'event', 'cla', 'cla_form', 'error');
}, },
// Enterprise form // Services form
gaEventEnterpriseSuccess: function() { gaEventServicesSuccess: function() {
ga('send', 'event', 'enterprise', 'enterprise_form', 'success'); ga('send', 'event', 'services', 'services_form', 'success');
}, },
gaEventEnterpriseError: function() { gaEventServicesError: function() {
ga('send', 'event', 'enterprise', 'enterprise_form', 'error'); ga('send', 'event', 'services', 'services_form', 'error');
} }
}; };

View File

@ -1,15 +1,15 @@
var FormEnterprise = (function(w, d, $) { var FormServices = (function(w, d, $) {
'use strict'; 'use strict';
var app, _private, _config; var app, _private, _config;
_config = { _config = {
form: $('#form-enterprise'), form: $('#form-services'),
formBtn: $('#form-enterprise').find('.btn'), formBtn: $('#form-services').find('.btn'),
formURL: $('#form-enterprise').attr('action'), formURL: $('#form-services').attr('action'),
formMethod: $('#form-enterprise').attr('method') formMethod: $('#form-services').attr('method')
}; };
_private = { _private = {
@ -35,7 +35,7 @@ var FormEnterprise = (function(w, d, $) {
// send GA event // send GA event
if (!_dntEnabled()) { if (!_dntEnabled()) {
GoogleAnalytics.gaEventEnterpriseSuccess(); GoogleAnalytics.gaEventServicesSuccess();
} }
}, },
error: function(err) { error: function(err) {
@ -46,7 +46,7 @@ var FormEnterprise = (function(w, d, $) {
// send GA event // send GA event
if (!_dntEnabled()) { if (!_dntEnabled()) {
GoogleAnalytics.gaEventEnterpriseError(); GoogleAnalytics.gaEventServicesError();
} }
} }
}); });

View File

@ -1,6 +0,0 @@
//=include bigchain/form-enterprise.js
jQuery(function($) {
FormEnterprise.init();
});

View File

@ -0,0 +1,6 @@
//=include bigchain/form-services.js
jQuery(function($) {
FormServices.init()
})

View File

@ -1,5 +1,5 @@
// //
// Page: enterprise // Page: Services
// --- // ---
// bigchaindb.com // bigchaindb.com
// //
@ -70,7 +70,16 @@
} }
} }
.section--enterpriseintro { .section--servicesdetail {
.actions {
text-align: center;
margin-top: $spacer * 2;
padding-top: $spacer * 2;
border-top: 1px solid darken($brand-main-green, 5%);
}
}
.section--servicesintro {
.grid, .grid,
.feature { .feature {
margin-bottom: 0; margin-bottom: 0;
@ -93,7 +102,7 @@
} }
} }
.section--enterprisetestimonial { .section--servicestestimonial {
.testimonial { .testimonial {
@extend .large; @extend .large;
margin: 0 auto; margin: 0 auto;
@ -110,16 +119,7 @@
} }
} }
.section--enterprisesupport { .form--services {
.actions {
text-align: center;
margin-top: $spacer * 2;
padding-top: $spacer * 2;
border-top: 1px solid darken($brand-main-green, 5%);
}
}
.form--enterprise {
background: darken($brand-main-blue, 5%); background: darken($brand-main-blue, 5%);
.grid { .grid {

View File

@ -1,5 +1,5 @@
<form id="form-enterprise" class="form form--enterprise js-parsley" action="//formspree.io/{{ site.email.enterprise }}" method="POST" accept-charset="UTF-8"> <form id="form-services" class="form form--services js-parsley" action="//formspree.io/{{ site.email.services }}" method="POST" accept-charset="UTF-8">
<p class="form-group"> <p class="form-group">
<input class="form-control" type="text" id="name" name="name" required> <input class="form-control" type="text" id="name" name="name" required>
@ -101,6 +101,6 @@
</p> </p>
</div> </div>
<input type="hidden" name="_subject" value="New enterprise form submission" /> <input type="hidden" name="_subject" value="New services form submission" />
<input type="hidden" name="_cc" value="{{ site.email.enterprise_cc }}" /> <input type="hidden" name="_cc" value="{{ site.email.services_cc }}" />
</form> </form>

View File

@ -2,14 +2,11 @@
layout: base layout: base
title: Services title: Services
description: "Hands-on consulting and production support" description: "Hands-on consulting and production support by blockchain experts"
header: hero-enterprise.jpg header: hero-services.jpg
image: share-image-enterprise.jpg image: share-image-services.jpg
js: page-enterprise.min.js js: page-services.min.js
redirect_from:
- /enterprise/
hero: hero:
title: "Hands-on consulting and production support" title: "Hands-on consulting and production support"
@ -104,7 +101,7 @@ contact:
</header> </header>
<section class="section section--enterprisesupport background--green"> <section class="section section--servicesdetail background--green">
<div class="row row--wide"> <div class="row row--wide">
<div class="grid grid--full grid-small--third grid--gutters"> <div class="grid grid--full grid-small--third grid--gutters">
@ -132,7 +129,7 @@ contact:
{% include sections/section-partners.html %} {% include sections/section-partners.html %}
<section class="section section--enterpriseintro background--darker"> <section class="section section--servicesintro background--darker">
<div class="row"> <div class="row">
<header class="section-header text-left"> <header class="section-header text-left">
<h1 class="section-title">{{ page.intro.title }}</h1> <h1 class="section-title">{{ page.intro.title }}</h1>
@ -164,7 +161,7 @@ contact:
</div> </div>
</section> </section>
<section class="section section--enterprisetestimonial"> <section class="section section--servicestestimonial">
<div class="row"> <div class="row">
<figure class="testimonial"> <figure class="testimonial">
@ -181,14 +178,14 @@ contact:
</div> </div>
</section> </section>
<section class="section section--enterprisecontact background--blue" id="contact"> <section class="section section--servicescontact background--blue" id="contact">
<div class="row"> <div class="row">
<header class="section-header"> <header class="section-header">
<h1 class="section-title">{{ page.contact.title }}</h1> <h1 class="section-title">{{ page.contact.title }}</h1>
<p class="section-description">{{ page.contact.description }}</p> <p class="section-description">{{ page.contact.description }}</p>
</header> </header>
{% include form-enterprise.html %} {% include form-services.html %}
</div> </div>
</section> </section>