create components for new layout

This commit is contained in:
Zachary Chai
2017-01-26 10:35:44 -05:00
parent 540ab7d369
commit ac74041aca
4 changed files with 29 additions and 25 deletions

View File

@ -0,0 +1,7 @@
<% title_class ||= '' %>
<div class="title-wrapper text-center">
<div class="title">
<h2 class="<%= title_class if title_class %>"><%= title %></h2>
<%= yield %>
</div>
</div>