You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2019/12/31 09:04:18 UTC
[incubator-streampipes-website] 20/28: Add some missing ASF links
to website
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes-website.git
commit 9fa1d3038fcb9948c9052025af15143309a7bbd3
Author: Dominik Riemer <ri...@fzi.de>
AuthorDate: Mon Dec 9 10:45:54 2019 +0100
Add some missing ASF links to website
---
documentation/website/core/Footer.js | 3 ++-
documentation/website/siteConfig.js | 2 ++
website/css/buttons.css | 4 ++--
website/css/custom.css | 2 +-
website/css/footer.css | 1 -
website/partials/_footer.ejs | 11 +++++++++++
website/partials/_index-teaser.ejs | 7 ++++++-
website/partials/_nav.ejs | 1 +
8 files changed, 25 insertions(+), 6 deletions(-)
diff --git a/documentation/website/core/Footer.js b/documentation/website/core/Footer.js
index 76c8e08..7009d5b 100644
--- a/documentation/website/core/Footer.js
+++ b/documentation/website/core/Footer.js
@@ -88,6 +88,7 @@ class Footer extends React.Component {
<h5>More</h5>
<a href={this.props.config.baseUrl + 'blog'}>Blog</a>
<a href="https://streampipes.apache.org.org">Website</a>
+ <a href="https://www.apache.org/foundation/policies/privacy.html">Privacy</a>
<a
className="github-button"
href={this.props.config.repoUrl}
@@ -101,7 +102,7 @@ class Footer extends React.Component {
</div>
</section>
- <section className="copyright">{this.props.config.copyright}</section>
+ <section className="copyright">{this.props.config.copyright}<p style={{marginBottom:'0px', marginLeft:'20px', marginRight:'20px'}}>Disclaimer: Apache StreamPipes (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner co [...]
</footer>
</div>
diff --git a/documentation/website/siteConfig.js b/documentation/website/siteConfig.js
index daae084..21df5e1 100644
--- a/documentation/website/siteConfig.js
+++ b/documentation/website/siteConfig.js
@@ -40,6 +40,8 @@ const siteConfig = {
indexName: 'streampipes',
algoliaOptions: {} // Optional, if provided by Algolia
},
+ gaTrackingId: 'UA-154181944-1',
+ gaGtag: true,
disableHeaderTitle: true,
diff --git a/website/css/buttons.css b/website/css/buttons.css
index c95ff9f..3444877 100644
--- a/website/css/buttons.css
+++ b/website/css/buttons.css
@@ -35,8 +35,8 @@
}
.sp-button-large {
- font-size: 1.2em;
- padding: 1em 1.5em;
+ font-size: 1.0em;
+ padding: 1em 1.0em;
}
.sp-button.sp-button-blue:hover {
diff --git a/website/css/custom.css b/website/css/custom.css
index c9b63ad..a60d452 100644
--- a/website/css/custom.css
+++ b/website/css/custom.css
@@ -276,7 +276,7 @@ img {
.container-header {
padding-left:80px;
- padding-right:80px;
+ padding-right:20px;
width:100%;
}
diff --git a/website/css/footer.css b/website/css/footer.css
index fca6689..74bf9c1 100644
--- a/website/css/footer.css
+++ b/website/css/footer.css
@@ -29,7 +29,6 @@
.footer-section {
background-color: #1b1464;
- height: 150px;
padding: 20px 40px;
}
diff --git a/website/partials/_footer.ejs b/website/partials/_footer.ejs
index 4567304..cb1e828 100644
--- a/website/partials/_footer.ejs
+++ b/website/partials/_footer.ejs
@@ -7,6 +7,7 @@
incubation status is not necessarily a reflection of the completeness or stability of the code, it does
indicate that the project has yet to be fully endorsed by the ASF.
</div>
+ <div class="footer-content-part"><a href="https://www.apache.org/foundation/policies/privacy.html">Privacy</a></div>
<p class="footer-content-part">Copyright © 2019 The Apache Software Foundation. Apache and the Apache feather
logo are trademarks of The Apache Software Foundation
<br/>Home screen image taken from <a
@@ -20,3 +21,13 @@
<script src="/js/jquery-2.2.4.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/scripts.js"></script>
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-154181944-1"></script>
+<script>
+ window.dataLayer = window.dataLayer || [];
+ function gtag(){dataLayer.push(arguments);}
+ gtag('js', new Date());
+
+ gtag('config', 'UA-154181944-1');
+</script>
+
diff --git a/website/partials/_index-teaser.ejs b/website/partials/_index-teaser.ejs
index cf80c98..07c6fb1 100644
--- a/website/partials/_index-teaser.ejs
+++ b/website/partials/_index-teaser.ejs
@@ -39,7 +39,7 @@
</div>
</div>
<div class="row">
- <div class="col-12">
+ <div class="d-flex col-12 justify-content-center">
<a href="/download.html" class="sp-button sp-button-large sp-button-blue sp-button-margin"><i
class="fas fa-rocket"></i> Get started
</a>
@@ -47,9 +47,14 @@
</a>
<a href="https://www.github.com/apache/incubator-streampipes" class="sp-button sp-button-large sp-button-gray sp-button-margin"><i class="fab fa-github"></i> Github
</a>
+ <a href="/mailinglists.html" class="sp-button sp-button-large sp-button-gray sp-button-margin"><i class="fas fa-envelope"></i> Mailing Lists
+ </a>
</div>
</div>
</div>
+ <a href="https://www.apache.org/events/current-event.html">
+ <img src="https://www.apache.org/events/current-event-125x125.png" style="float:right;margin-left:20px;margin-right:-30px;"/>
+ </a>
</div>
</div>
</div>
diff --git a/website/partials/_nav.ejs b/website/partials/_nav.ejs
index f9872eb..7be62dd 100644
--- a/website/partials/_nav.ejs
+++ b/website/partials/_nav.ejs
@@ -80,6 +80,7 @@
<li class="nav-item"><a class="nav-link" href="https://www.apache.org/">Apache Software Foundation</a></li>
<li class="nav-item"><a class="nav-link" href="https://www.apache.org/foundation/how-it-works.html">How Apache Works</a></li>
<li class="nav-item"><a class="nav-link" href="https://www.apache.org/licenses">License</a></li>
+ <li class="nav-item"><a class="nav-link" href="https://www.apache.org/security">Security</a></li>
<li class="nav-item"><a class="nav-link" href="https://www.apache.org/foundation/sponsorship.html">Sponsoring Apache</a></li>
<li class="nav-item"><a class="nav-link" href="https://www.apache.org/foundation/thanks.html">Thanks</a></li>
</div>