1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-25 03:03:16 +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"
cla: troy@ascribe.io
cla_cc: sylvain@bigchaindb.com
enterprise: ikytz6br@robot.zapier.com
enterprise_cc: "kamal@bigchaindb.com,ricardo@bigchaindb.com,gautam@bigchaindb.com"
services: ikytz6br@robot.zapier.com
services_cc: "kamal@bigchaindb.com,ricardo@bigchaindb.com,gautam@bigchaindb.com"
social:
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');
},
// Enterprise form
gaEventEnterpriseSuccess: function() {
ga('send', 'event', 'enterprise', 'enterprise_form', 'success');
// Services form
gaEventServicesSuccess: function() {
ga('send', 'event', 'services', 'services_form', 'success');
},
gaEventEnterpriseError: function() {
ga('send', 'event', 'enterprise', 'enterprise_form', 'error');
gaEventServicesError: function() {
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';
var app, _private, _config;
_config = {
form: $('#form-enterprise'),
formBtn: $('#form-enterprise').find('.btn'),
formURL: $('#form-enterprise').attr('action'),
formMethod: $('#form-enterprise').attr('method')
form: $('#form-services'),
formBtn: $('#form-services').find('.btn'),
formURL: $('#form-services').attr('action'),
formMethod: $('#form-services').attr('method')
};
_private = {
@ -35,7 +35,7 @@ var FormEnterprise = (function(w, d, $) {
// send GA event
if (!_dntEnabled()) {
GoogleAnalytics.gaEventEnterpriseSuccess();
GoogleAnalytics.gaEventServicesSuccess();
}
},
error: function(err) {
@ -46,7 +46,7 @@ var FormEnterprise = (function(w, d, $) {
// send GA event
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
//
@ -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,
.feature {
margin-bottom: 0;
@ -93,7 +102,7 @@
}
}
.section--enterprisetestimonial {
.section--servicestestimonial {
.testimonial {
@extend .large;
margin: 0 auto;
@ -110,16 +119,7 @@
}
}
.section--enterprisesupport {
.actions {
text-align: center;
margin-top: $spacer * 2;
padding-top: $spacer * 2;
border-top: 1px solid darken($brand-main-green, 5%);
}
}
.form--enterprise {
.form--services {
background: darken($brand-main-blue, 5%);
.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">
<input class="form-control" type="text" id="name" name="name" required>
@ -101,6 +101,6 @@
</p>
</div>
<input type="hidden" name="_subject" value="New enterprise form submission" />
<input type="hidden" name="_cc" value="{{ site.email.enterprise_cc }}" />
<input type="hidden" name="_subject" value="New services form submission" />
<input type="hidden" name="_cc" value="{{ site.email.services_cc }}" />
</form>

View File

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