eliminate community page

This commit is contained in:
Matthias Kretschmann 2017-06-15 19:16:45 +02:00
parent fe3e1a192a
commit 16a63001f0
Signed by: m
GPG Key ID: 606EEEF3C479A91F
8 changed files with 73 additions and 109 deletions

View File

@ -1,52 +1,56 @@
//=include is-in-viewport/lib/isInViewport.js
//=include bigchain/smoothscroll.js
//=include bigchain/newsletter.js
//=include bigchain/testimonials.js
//=include is-in-viewport/lib/isInViewport.js
jQuery(function($) {
//
// init modules
//
Newsletter.init()
Testimonials.init()
//
// Wrigley
//
var wrigley = $('#wrigley'),
wrigleyArm = wrigley.find('#arm'),
wrigleyHead = wrigley.find('#head'),
wrigleyEye = wrigley.find('#eye');
wrigleyEye = wrigley.find('#eye')
var wrigleyAnimationStart = function() {
// set utility classes
if (wrigley.is( ':in-viewport( -180 )' ) ) {
wrigley.addClass('is-ready');
wrigley.addClass('is-ready')
// toggle paused class so the :hover interaction can fire animation again
wrigleyArm.on('animationend webkitAnimationEnd oAnimationEnd', function(e) {
wrigleyArm.addClass('paused');
wrigleyHead.addClass('paused');
wrigleyArm.addClass('paused')
wrigleyHead.addClass('paused')
wrigley.on('mouseover', function() {
wrigleyArm.removeClass('paused');
wrigleyHead.removeClass('paused');
});
wrigleyArm.removeClass('paused')
wrigleyHead.removeClass('paused')
})
// fire eye blinking once other animations have finished
wrigleyEye.addClass('is-ready');
wrigleyEye.addClass('is-ready')
wrigleyEye.on('animationend webkitAnimationEnd oAnimationEnd', function(e) {
wrigleyEye.removeClass('is-ready');
});
wrigleyEye.removeClass('is-ready')
})
}
);
)
} else {
wrigley.removeClass('is-ready').removeClass('paused');
wrigleyArm.removeClass('paused');
wrigleyHead.removeClass('paused');
wrigleyEye.removeClass('is-ready').removeClass('paused');
wrigley.removeClass('is-ready').removeClass('paused')
wrigleyArm.removeClass('paused')
wrigleyHead.removeClass('paused')
wrigleyEye.removeClass('is-ready').removeClass('paused')
}
}
// fire all the viewport things
wrigleyAnimationStart();
$(window).on('load resize scroll', wrigleyAnimationStart);
});
wrigleyAnimationStart()
$(window).on('load resize scroll', wrigleyAnimationStart)
})

View File

@ -1,14 +0,0 @@
//=include bigchain/smoothscroll.js
//=include bigchain/github.js
//=include bigchain/meetup.js
//=include bigchain/newsletter.js
jQuery(function($) {
//
// init modules
//
Newsletter.init()
});

View File

@ -1,15 +1,10 @@
//
// Page: Community
// Page: Get started
// ---
// bigchaindb.com
//
.page-community {
.header {
background-position: center top;
}
}
.section-community {
.section--community {
text-align: center;
position: relative;
// make room for wrigely
@ -33,7 +28,6 @@
.icon {
@include transition;
}
display: inline-block;
box-shadow: none;
padding: $btn-padding-y-sm $btn-padding-x-sm;

View File

@ -1,5 +0,0 @@
//
// Page: Get started
// ---
// bigchaindb.com
//

View File

@ -49,14 +49,13 @@
// specific page styles
@import 'page-front';
@import 'page-start';
@import 'page-getstarted';
@import 'page-whitepaper';
@import 'page-404';
@import 'page-styleguide';
@import 'page-about';
@import 'page-features';
@import 'page-usecases';
@import 'page-community';
@import 'page-contact';
@import 'page-cla';
@import 'page-partners';

View File

@ -14,20 +14,22 @@ main:
secondary:
- title: Whitepaper
url: "/whitepaper/"
- title: Blog
url: https://blog.bigchaindb.com
- title: About
url: "/about/"
- title: Contact
url: "/contact/"
- title: Blog
url: https://blog.bigchaindb.com
community:
- title: Gitter
url: https://gitter.im/bigchaindb/bigchaindb
- title: GitHub
url: https://github.com/bigchaindb
- title: Twitter
url: https://twitter.com/BigchainDB
- title: Gitter
url: https://gitter.im/bigchaindb/bigchaindb
- title: Meetup
url: https://www.meetup.com/BigchainDB-IPDB-Meetup
legal:
- title: Terms

View File

@ -1,48 +0,0 @@
---
layout: page
title: Community
tagline: "Get Involved"
description: 'There are many ways you can contribute to the BigchainDB project, some very easy and others more involved.'
image: photo2.jpg
js: page-community.min.js
quotes: set3
---
<section class="section section-community">
<div class="row">
<header class="section-header">
<p class="section-description">There are many ways you can contribute to the BigchainDB project, some very easy and others more involved. We welcome all potential contributors, so we ask that everyone participating abide by some simple guidelines.</p>
<a href="{{ site.social.github.url }}/{{ site.social.github.repo }}/blob/master/CONTRIBUTING.md" class="btn btn-primary btn-sm">Read The Guidelines</a>
</header>
<div class="grid grid--full grid-small--fit grid--gutters">
<div class="grid__col">
<h1>Follow</h1>
<p>Follow us for the latest updates</p>
{% for link in site.social %}
<a class="social-link js-social-link" href="{{ link[1].url }}" title="{{ link[1].title }}">
<svg class="icon icon--social icon--{{ link[0] }}" aria-labelledby="title">
<title>{{ link.title }}</title>
<use xlink:href="/assets/img/sprite.svg#{{ link[0] }}"></use>
</svg>
<span class="social-link__title">{{ link[1].title }}</span>
</a>
{% endfor %}
</div>
</div>
</div>
{% include svg/wrigley-with-stage.svg %}
</section>
{% include sections/section-newsletter.html %}
{% include sections/section-testimonials.html %}

View File

@ -4,7 +4,10 @@ layout: page
title: Get started
description: ""
js: page-start.min.js
js: page-getstarted.min.js
redirect_from:
- /community/
---
<section class="section section--architecture">
@ -31,26 +34,55 @@ js: page-start.min.js
</div>
</nav>
<section class="section section--server" id="#server">
<section class="section section--server" id="server">
<div class="row">
</div>
</section>
<section class="section section--drivers" id="#drivers">
<section class="section section--drivers background--darker" id="drivers">
<div class="row">
</div>
</section>
<section class="section section--drivers" id="#docs">
<section class="section section--docs" id="docs">
<div class="row">
</div>
</section>
<section class="section section--drivers" id="#community">
<section class="section section--community" id="community">
<div class="row">
<header class="section-header">
<h1 class="section-title">Get Involved</h1>
<p class="section-description">There are many ways you can contribute to the BigchainDB project, some very easy and others more involved. We welcome all potential contributors, so we ask that everyone participating abide by some simple guidelines.</p>
<a href="{{ site.social.github.url }}/{{ site.social.github.repo }}/blob/master/CONTRIBUTING.md" class="btn btn-primary btn-sm">Read The Guidelines</a>
</header>
<div class="grid grid--full grid-small--fit grid--gutters">
<div class="grid__col">
<h1>Follow</h1>
<p>Follow us for the latest updates</p>
{% for link in site.social %}
<a class="social-link js-social-link" href="{{ link[1].url }}" title="{{ link[1].title }}">
<svg class="icon icon--social icon--{{ link[0] }}" aria-labelledby="title">
<title>{{ link.title }}</title>
<use xlink:href="/assets/img/sprite.svg#{{ link[0] }}"></use>
</svg>
<span class="social-link__title">{{ link[1].title }}</span>
</a>
{% endfor %}
</div>
</div>
</div>
{% include svg/wrigley-with-stage.svg %}
</section>
{% include sections/section-newsletter.html %}