Skip to content

Commit

Permalink
Started on homepage design
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeshall committed Jan 24, 2012
1 parent 503e5a1 commit 1d5b373
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
7 changes: 6 additions & 1 deletion public/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,9 @@ ul{}

li{}


.nav ul{
list-style: none;
}
.nav li{
display: inline;
}
24 changes: 23 additions & 1 deletion views/index.erb
Original file line number Diff line number Diff line change
@@ -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>
9 changes: 7 additions & 2 deletions views/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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.