Repository: kafka-site Updated Branches: refs/heads/asf-site 812da17c0 -> a1b78e7a3
Add learn more verbiage on ctas Added 'learn more' to the 3 CTAs at the very top of the homepage ![image](https://user-images.githubusercontent.com/271961/29133270-c7d7a93c-7ce7-11e7-8455-72db2105b993.png) Author: Derrick Or <derric...@gmail.com> Reviewers: Guozhang Wang <wangg...@gmail.com> Closes #70 from derrickdoo/home-ctas Project: http://git-wip-us.apache.org/repos/asf/kafka-site/repo Commit: http://git-wip-us.apache.org/repos/asf/kafka-site/commit/a1b78e7a Tree: http://git-wip-us.apache.org/repos/asf/kafka-site/tree/a1b78e7a Diff: http://git-wip-us.apache.org/repos/asf/kafka-site/diff/a1b78e7a Branch: refs/heads/asf-site Commit: a1b78e7a31a46795a0d584c6bb1d53ba95c74a5d Parents: 812da17 Author: Derrick Or <derric...@gmail.com> Authored: Wed Aug 9 15:37:57 2017 -0700 Committer: Guozhang Wang <wangg...@gmail.com> Committed: Wed Aug 9 15:37:57 2017 -0700 ---------------------------------------------------------------------- css/styles.css | 8 ++++++-- index.html | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kafka-site/blob/a1b78e7a/css/styles.css ---------------------------------------------------------------------- diff --git a/css/styles.css b/css/styles.css index 2ee80b2..92f03e4 100644 --- a/css/styles.css +++ b/css/styles.css @@ -444,7 +444,11 @@ nav .btn { } .desc-item p { margin: 0; - width: 18rem; + width: 20rem; +} +.desc-item__cta { + margin-top: .5rem; + display: block; } .desc-item p:before { content: ""; @@ -736,7 +740,7 @@ nav .btn { width: auto; margin-left: 0; display: block; - margin-bottom: 2rem; + margin-bottom: 4rem; } .desc-item p { width: auto; http://git-wip-us.apache.org/repos/asf/kafka-site/blob/a1b78e7a/index.html ---------------------------------------------------------------------- diff --git a/index.html b/index.html index cf8610d..05b15d3 100644 --- a/index.html +++ b/index.html @@ -7,14 +7,17 @@ <a href="/documentation/#producerapi" class="desc-item"> <h2>Publish & subscribe</h2> <p>to streams of data like a messaging system</p> + <span class="desc-item__cta">Learn more »</span> </a> <a href="/documentation/streams" class="desc-item"> <h2>Process</h2> <p>streams of data efficiently and in real time</p> + <span class="desc-item__cta">Learn more »</span> </a> <a href="/intro#kafka_storage" class="desc-item"> <h2>Store</h2> <p>streams of data safely in a distributed replicated cluster</p> + <span class="desc-item__cta">Learn more »</span> </a> </div> <div class="index">