Skip to content

Commit

Permalink
Add archive section to index page, so this closes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
grypania committed Oct 26, 2016
1 parent 3d063e7 commit 9521762
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions source/assets/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ body {
}
.archive{
width: 60%;
margin-bottom: 40px;
}
.archive h2{
font-size: 2.8em;
Expand Down Expand Up @@ -658,6 +659,10 @@ body {
margin: 30px 0;
float: none;
}
.archive {
width: 100%;
margin: 0;
}
.event-box {
margin: 0 auto;
width: 90%;
Expand Down
8 changes: 7 additions & 1 deletion source/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,13 @@
sharing with others is most welcome to join. Whether you are a thinker, builder, designer,
founder or funder – Web Monday is your chance to present your product, your service, your
startup, or your next big idea to a growing audience of web aficionados.

.archive
h2 Archive
ul
-past_events.each_with_index do |past_event|
li
a href="#"
="#{past_event.date}"
#content-de.content lang="de" style=("display: none;")
.event-box
.event-box-inner
Expand Down

0 comments on commit 9521762

Please sign in to comment.