diff --git a/_src/_assets/styles/_page-enterprise.scss b/_src/_assets/styles/_page-enterprise.scss index 0f88a15..793b3f5 100644 --- a/_src/_assets/styles/_page-enterprise.scss +++ b/_src/_assets/styles/_page-enterprise.scss @@ -4,7 +4,12 @@ // bigchaindb.com // .page-enterprise { - + .section--partners { + @extend .background--darker; + .partner { + pointer-events: none; + } + } } .hero--enterprise { diff --git a/_src/_assets/styles/_page-front.scss b/_src/_assets/styles/_page-front.scss index ad29655..18e162e 100644 --- a/_src/_assets/styles/_page-front.scss +++ b/_src/_assets/styles/_page-front.scss @@ -5,7 +5,7 @@ // .page-front { - .section-partners { + .section--partners { @extend .background--darker } } diff --git a/_src/_assets/styles/_sections/_section-partners.scss b/_src/_assets/styles/_sections/_section-partners.scss index 69d22c2..244c136 100644 --- a/_src/_assets/styles/_sections/_section-partners.scss +++ b/_src/_assets/styles/_sections/_section-partners.scss @@ -1,4 +1,4 @@ -.section-partners { +.section--partners { .grid__col { padding-right: $gutter-space; } diff --git a/_src/_includes/sections/section-partners.html b/_src/_includes/sections/section-partners.html index 2ed07dc..f96dd7b 100644 --- a/_src/_includes/sections/section-partners.html +++ b/_src/_includes/sections/section-partners.html @@ -1,26 +1,70 @@ -
+ + +
-

Partners

-

We are proud to partner and collaborate with

+

+ {% if page.partners.title %} + {{ page.partners.title }} + {% else %} + Partners + {% endif %} +

+

+ {% if page.partners.description %} + {{ page.partners.description }} + {% else %} + We are proud to partner and collaborate with + {% endif %} +

- {% assign partners_sorted = (site.partners | sort: 'date') %} + {% if page.partners.logos %} + {% assign partners_sorted = page.partners.logos %} + {% else %} + {% assign partners_sorted = (site.partners | sort: 'date') %} + {% endif %} + + {% assign partners_page = page.partners %} {% for partner in partners_sorted %} - diff --git a/_src/enterprise.html b/_src/enterprise.html index 4a01a6f..e142092 100644 --- a/_src/enterprise.html +++ b/_src/enterprise.html @@ -29,6 +29,10 @@ intro: description: "Real-time data triggers business logic" - title: "Share the Story" description: "Trust and identity out-of-the-box with verifiable audit trails, provenance and tracking" + +partners: + title: "Proudly Trusted By" + description: "La la la" ---
@@ -74,40 +78,7 @@ intro:
-
-
-
-

Proudly trusted by

-

La la la.

-
-
- -
-
- - {% assign partners_sorted = (site.partners | sort: 'date') %} - - {% for partner in partners_sorted %} - - - - {% endfor %} - -
- -
- - -
+{% include sections/section-partners.html %}