diff --git a/_config.yml b/_config.yml index 2ccbbd7..e125490 100644 --- a/_config.yml +++ b/_config.yml @@ -15,9 +15,7 @@ email: contact_formspree: xgkblajx contact_cc: "contact@bigchaindb.com" cla: xwojnopx - cla_cc: "troy@bigchaindb.com,upod-team@bigchaindb.com" - services: mdgvledx - services_cc: "contact@bigchaindb.com" + cla_cc: "upod-team@bigchaindb.com" gdpr: gdpr@bigchaindb.com social: diff --git a/_src/_assets/javascripts/bigchain/analytics.js b/_src/_assets/javascripts/bigchain/analytics.js index 3c4fa3d..1a2fc4b 100644 --- a/_src/_assets/javascripts/bigchain/analytics.js +++ b/_src/_assets/javascripts/bigchain/analytics.js @@ -157,14 +157,6 @@ var GoogleAnalytics = (function(w,d,$) { }, gaEventClaError: function() { ga('send', 'event', 'cla', 'cla_form', 'error'); - }, - - // Services form - gaEventServicesSuccess: function() { - ga('send', 'event', 'services', 'services_form', 'success'); - }, - gaEventServicesError: function() { - ga('send', 'event', 'services', 'services_form', 'error'); } }; diff --git a/_src/_assets/javascripts/bigchain/form-services.js b/_src/_assets/javascripts/bigchain/form-services.js deleted file mode 100644 index ff2961d..0000000 --- a/_src/_assets/javascripts/bigchain/form-services.js +++ /dev/null @@ -1,66 +0,0 @@ - -var FormServices = (function(w, d, $) { - - 'use strict'; - - var app, _private, _config; - - _config = { - form: $('#form-services'), - formBtn: $('#form-services').find('.btn'), - formURL: $('#form-services').attr('action'), - formMethod: $('#form-services').attr('method') - }; - - _private = { - formSubmit: function() { - _config.form.submit(function(e) { - e.preventDefault(); - - if ( $(this).parsley().isValid() ) { - $.ajax({ - url: _config.formURL, - method: _config.formMethod, - data: $(this).serialize(), - dataType: 'json', - beforeSend: function() { - _config.formBtn - .addClass('disabled') - .attr('value', 'Sending...'); - }, - success: function(data) { - _config.form.find('.form-group').addClass('hide'); - _config.form.find('.alert--success').removeClass('hide'); - _config.formBtn.removeClass('disabled'); - - // send GA event - if (!_dntEnabled()) { - GoogleAnalytics.gaEventServicesSuccess(); - } - }, - error: function(err) { - _config.form.find('.alert--danger').removeClass('hide'); - _config.formBtn - .removeClass('disabled') - .attr('value', 'Send'); - - // send GA event - if (!_dntEnabled()) { - GoogleAnalytics.gaEventServicesError(); - } - } - }); - } - }); - } - }; - - app = { - init: function() { - _private.formSubmit() - } - }; - - return app; - -})(window, document, jQuery) diff --git a/_src/_assets/javascripts/page-services.js b/_src/_assets/javascripts/page-services.js deleted file mode 100644 index 1d9de07..0000000 --- a/_src/_assets/javascripts/page-services.js +++ /dev/null @@ -1,6 +0,0 @@ -//=include bigchain/form-services.js - -jQuery(function($) { - - FormServices.init() -}) diff --git a/_src/_assets/styles/_page-services.scss b/_src/_assets/styles/_page-services.scss deleted file mode 100644 index 0fb74c7..0000000 --- a/_src/_assets/styles/_page-services.scss +++ /dev/null @@ -1,142 +0,0 @@ -// -// Page: Services -// --- -// bigchaindb.com -// -.page-services { - // Different Features unit layout - .feature { - display: block; - } - - .feature__title { - margin-bottom: $spacer; - display: block; - - // the bottom line - &:after { - content: ''; - height: 2px; - width: 3rem; - display: block; - margin-top: $spacer * $line-height; - } - } - - .feature__icon { - margin-top: 0; - margin-bottom: $spacer / 6; - width: 2.2rem; - height: 2.2rem; - } -} - -.hero--services { - .logo--services { - display: inline-block; - opacity: .75; - fill: $brand-main-blue-light; - } - - .hero__title { - margin-top: $spacer; - } - - .hero__subtitle { - margin-bottom: $spacer * 3; - font-size: $font-size-h5; - - @media ($screen-sm) { - font-size: $font-size-h4; - } - } - - .hero__content { - margin-top: $spacer * 2; - margin-bottom: $spacer * 6; - } - - .btn { - min-width: 220px; - } -} - -.section--servicesdetail { - .feature__icon { - stroke: rgba($brand-main-gray, .65); - color: rgba($brand-main-violet, .65); - } - - .feature__title { - // the bottom line - &:after { - background: rgba($brand-main-gray, .2); - } - } - - .feature__text { - color: rgba($brand-main-blue, .65); - } - - .actions { - text-align: center; - padding-top: $spacer * 3; - border-top: 2px solid rgba($brand-main-gray, .1); - } -} - -.section--servicesintro { - .grid, - .feature { - margin-bottom: 0; - } - - .btn { - margin-top: $spacer * 2; - } - - h2 { - @extend .h3; - margin-bottom: $spacer; - } - - .feature__title { - // the bottom line - &:after { - background: rgba($gray-light, .4); - } - } -} - -.section--servicestestimonial { - .testimonial { - @extend .large; - margin: 0 auto; - - @media ($screen-sm) { - max-width: 66%; - } - } - - .testimonial__quote { - &:before { - margin-left: -1.3rem; - } - } -} - -.form--services { - background: darken($brand-main-blue, 5%); - - .grid { - @media ($screen-sm) { - justify-content: space-between; - } - } - - .grid__col { - @media ($screen-sm) { - flex-basis: 48%; - } - } -} diff --git a/_src/_assets/styles/_sections.scss b/_src/_assets/styles/_sections.scss index 44c0fbb..229205a 100644 --- a/_src/_assets/styles/_sections.scss +++ b/_src/_assets/styles/_sections.scss @@ -86,7 +86,6 @@ // Specific sections // @import '_sections/section-cta-whitepaper'; -@import '_sections/section-cta-services'; @import '_sections/section-partners'; @import '_sections/section-blog'; @import '_sections/section-getstarted'; diff --git a/_src/_assets/styles/_sections/_section-cta-services.scss b/_src/_assets/styles/_sections/_section-cta-services.scss deleted file mode 100644 index 6e74cc9..0000000 --- a/_src/_assets/styles/_sections/_section-cta-services.scss +++ /dev/null @@ -1,28 +0,0 @@ - -.section-cta--services { - @media ($screen-md) { - padding-top: $spacer * 7; - padding-bottom: $spacer * 7; - } - - .logo--services { - margin-bottom: $spacer; - transform: scale(.8); - transform-origin: left; - color: $brand-main-violet; - fill: rgba($brand-main-blue, .5); - } - - .section-header { - margin-bottom: 0; - } - - .section-title { - text-align: left; - margin-bottom: $spacer * 2.5; - - &:after { - display: none; - } - } -} diff --git a/_src/_assets/styles/bigchain.scss b/_src/_assets/styles/bigchain.scss index a678716..773d6ed 100644 --- a/_src/_assets/styles/bigchain.scss +++ b/_src/_assets/styles/bigchain.scss @@ -62,7 +62,6 @@ @import 'page-contact'; @import 'page-cla'; @import 'page-partners'; -@import 'page-services'; @import 'oceanprotocol'; @import 'page-guide'; @import 'page-newsletter'; diff --git a/_src/_includes/form-services.html b/_src/_includes/form-services.html deleted file mode 100644 index 944e2a9..0000000 --- a/_src/_includes/form-services.html +++ /dev/null @@ -1,116 +0,0 @@ - -
- -

- - -

- -
-
-

- - -

-
-
-

- - -

-
-
-

- - -

-
-
-

- - -

-
-
-

- - -

-
-
-

- - -

-
-
- -

- - -

-

- Fields marked with * are required. -

-

- -

- -
- - - -

- Great to hear you’re interested! - We’ll get in touch soon. -

-
-
- - - -

- Ops, there was an error - Would you mind trying again? -

-
- - - - - -
- - - -
- {{ site.data.gdpr.general | markdownify }} -
-
-
diff --git a/_src/_includes/sections/section-cta-services.html b/_src/_includes/sections/section-cta-services.html deleted file mode 100644 index 761e97b..0000000 --- a/_src/_includes/sections/section-cta-services.html +++ /dev/null @@ -1,17 +0,0 @@ -
-
-
- - - -

Hands-on consulting and production support by blockchain experts.

-
- - - Explore Services - -
-
diff --git a/_src/_layouts/partner.html b/_src/_layouts/partner.html index c97c34a..a253d54 100644 --- a/_src/_layouts/partner.html +++ b/_src/_layouts/partner.html @@ -29,6 +29,4 @@ cta: -{% include sections/section-cta-services.html %} - {% include sections/section-cta.html %} diff --git a/_src/_layouts/usecase.html b/_src/_layouts/usecase.html index 511507a..0d3d901 100644 --- a/_src/_layouts/usecase.html +++ b/_src/_layouts/usecase.html @@ -89,6 +89,4 @@ cta: -{% include sections/section-cta-services.html %} - {% include sections/section-cta.html %} diff --git a/_src/services.html b/_src/services.html deleted file mode 100644 index d3659a6..0000000 --- a/_src/services.html +++ /dev/null @@ -1,37 +0,0 @@ ---- -layout: base - -title: Services -description: "Support for BigchainDB Software" - -header: hero-services.jpg -image: share-image-services.jpg -js: page-services.min.js - -hero: - title: "Support for BigchainDB software" - description: "To learn about service providers for BigchainDB software, please contact IPDB Foundation." - cta: - - name: IPDB Homepage - link: "https://www.ipdb.io" ---- - -
- - {% include menu-main.html %} - -
-
- -

{{ page.hero.title }}

-

{{ page.hero.description }}

- - {% for cta in page.hero.cta %} - {{ cta.name }} - {% endfor %} -
-
- -
diff --git a/docs/forms.md b/docs/forms.md index 8b337c0..2f8f5d3 100644 --- a/docs/forms.md +++ b/docs/forms.md @@ -6,7 +6,6 @@ Form | Actions ------------ |------------- `/newsletter` | send data to MailChimp and subscribe to newsletter list (double opt-in) `/contact` | send data to CC emails, Slack message -`/services` | send data to CC emails, Slack message, add new row to Google Sheets `/cla` | 2 different forms, send data to CC emails Initial form sending, except for newsletter, is handled via formspree.io with a Gold account. As form submissions arrive there, Formspree sends out the received data to the email addresses setup as CC in [our site config](../_config.yml).