Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions _includes/apache-promo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div class="alert alert-info alert-dismissible alert-event" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<div class="container">
<div class="media">
<a href="https://www.apache.org/events/current-event.html" class="pull-right">
<img class="media-object" src="https://www.apache.org/events/current-event-234x60.png" alt="Next Apache event">
</a>
<div class="media-body">
<h4 class="media-heading">Apache events</h4>
<p>Apache runs events all around the world. Want to know more? Just click on the image <i class="fa fa-fw fa-arrow-right"></i></p>
</div>
</div>
</div>
</div>
6 changes: 5 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ children:
menu_customization: {type: button}
---

<section class="text-center hero" markdown="1">
{% include apache-promo.html %}

<section class="hero">
<div class="container text-center" markdown="1">

# <span class="text-apache">apache</span> <span class="text-brooklyn">brooklyn</span>

Expand All @@ -79,6 +82,7 @@ children:
<a href="#get-started" class="btn btn-primary btn-lg">Get started</a>
<a href="https://github.com/apache/brooklyn" class="btn btn-link btn-lg"><i class="fa fa-fw fa-github"></i> View code</a>

</div>
</section>

<section class="container about">
Expand Down
9 changes: 9 additions & 0 deletions style/css/_landing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
top: -80px;
}

.alert-event {
margin: 0;
border-radius: 0;

p {
margin-bottom: 0;
}
}

.hero {
background-color: #ffffff;
background-image: url("data:image/svg+xml,%3Csvg width='84' height='48' viewBox='0 0 84 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h12v6H0V0zm28 8h12v6H28V8zm14-8h12v6H42V0zm14 0h12v6H56V0zm0 8h12v6H56V8zM42 8h12v6H42V8zm0 16h12v6H42v-6zm14-8h12v6H56v-6zm14 0h12v6H70v-6zm0-16h12v6H70V0zM28 32h12v6H28v-6zM14 16h12v6H14v-6zM0 24h12v6H0v-6zm0 8h12v6H0v-6zm14 0h12v6H14v-6zm14 8h12v6H28v-6zm-14 0h12v6H14v-6zm28 0h12v6H42v-6zm14-8h12v6H56v-6zm0-8h12v6H56v-6zm14 8h12v6H70v-6zm0 8h12v6H70v-6zM14 24h12v6H14v-6zm14-8h12v6H28v-6zM14 8h12v6H14V8zM0 8h12v6H0V8z' fill='%23eeeeee' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
Expand Down