Skip to content

Commit

Permalink
Remove Interactive EU from frontpage (#909)
Browse files Browse the repository at this point in the history

* Refactored CSS and simplified HTML.

Now that there's only one event and the logo remaining, there's no
need for two logo's which is hidden/displayed responsively.

* <img> wrapped in <span> again
  • Loading branch information
phillipj authored and lpinca committed Sep 23, 2016
1 parent 89a8a5b commit 8a32f54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions layouts/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -83,41 +83,24 @@
justify-content: space-around;
}
.interactive-item {
#interactive > * {
border: 20px solid transparent;
min-width: 1px;
}
@media (max-width: 480px) {
#logo-center {
display:none;
}
#interactive {
flex-wrap: wrap;
}
}
@media (min-width: 481px) {
#logo-first {
display:none;
}
}
</style>

<div id="interactive-wrapper">
<div id="interactive">
<span id="logo-first" class="interactive-item">
<span>
<img src="/static/images/interactive/nodejs-interactive-logo-center.png" />
</span>
<a class="interactive-item" href="http://events.linuxfoundation.org/events/node-interactive-europe">
<img src="/static/images/interactive/nodejs-interactive-hero-banner-left-eu.png"
alt="Node.js Interactive Europe, Amsterdam, Netherlands, September 15-18, 2016"/>
</a>
<span id="logo-center" class="interactive-item">
<img src="/static/images/interactive/nodejs-interactive-logo-center.png"
alt="Node.js Interactive" />
</span>
<a class="interactive-item" href="http://events.linuxfoundation.org/events/node-interactive">
<a href="http://events.linuxfoundation.org/events/node-interactive">
<img src="/static/images/interactive/nodejs-interactive-hero-banner-right-na.png"
alt="Node.js Interactive North America, Austin, Texas, November 29 - Dec 2, 2016" />
</a>
Expand Down
Binary file not shown.

0 comments on commit 8a32f54

Please sign in to comment.