Skip to content
Browse files

Started on homepage design

  • Loading branch information...
1 parent 503e5a1 commit 1d5b373de28fa74e91ac9fa8eafcd9f40f85a335 @blakeshall committed Jan 24, 2012
Showing with 36 additions and 4 deletions.
  1. +6 −1 public/styles/main.css
  2. +23 −1 views/index.erb
  3. +7 −2 views/layout.erb
View
7 public/styles/main.css
@@ -18,4 +18,9 @@ ul{}
li{}
-
+.nav ul{
+ list-style: none;
+}
+.nav li{
+ display: inline;
+}
View
24 views/index.erb
@@ -1 +1,23 @@
-<h3>Landing Page</h3>
+<div class="row">
+ <div class="span16">
+ <h1>Some big image or statement. I'm thinking KY map with form to search for your address (whenever we make that)</h1>
+
+ </div>
+</div>
+<div class="row">
+ <div class="span6">
+ <h2>Legislators</h2>
+ <p>Search for your legislator and see what bills they are taking part in.</p>
+ <a class="btn" href="/legislator_search">Search Legislators</a>
+ </div>
+ <div class="span5">
+ <h2>Bills</h2>
+ <p>Search for bills relating to your interests and see the legislators sponsoring them.</p>
+ <a class="btn" href="/bill_search">Search Bills</a>
+ </div>
+ <div class="span5">
+ <h2>Committees</h2>
+ <p>See the House and Senate committees and what legislators are on them.</p>
+ <a class="btn" href="/committees">Search</a>
+ </div>
+</div>
View
9 views/layout.erb
@@ -8,19 +8,24 @@
<div class="container">
<div class="row">
<div class="span6">
- <h1>OpenKY</h1>
+ <a href="/"><h1>OpenKY</h1></a>
</div>
</div>
<div class="row">
<div class="span12">
- <ul>
+ <ul class="nav">
<li><a href="/bill_search">Bills</a></li>
<li><a href="/legislator_search">Legislators</a></li>
<li><a href="/committees">Committees</a></li>
</ul>
</div>
</div>
<%= yield %>
+ <div class="row">
+ <div class="span16">
+ <footer>Made by <a href="www.blakeshall.com">Blake Hall</a> and Drew Fitzpatrick</footer>
+ </div>
+ </div>
</div>
</body>
</html>

0 comments on commit 1d5b373

Please sign in to comment.
Something went wrong with that request. Please try again.