Skip to content

Commit

Permalink
Separate headlines from search form
Browse files Browse the repository at this point in the history
Display headlines in separate div. This makes the form smaller, which
allows users to see more of the background img. Issue #23
  • Loading branch information
CodeWritingCow committed Apr 12, 2018
1 parent 09540e1 commit 2967abc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion views/home.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<div class="col s12 m4">
<div class="icon-block">
<h2 class="center teal-text text-lighten-2"><i class="material-icons medium">restaurant_menu</i></h2>
<h5 class="center">Is your food safe?</h5>
<h5 class="center">24,000 restaurants</h5>

<p class="light">New York City has about 24,000 restaurants. City health inspectors check them for compliance with food-safety regulations at least once a year. Find out if your favorite restaurant passes muster or not!</p>
</div>
Expand Down
8 changes: 6 additions & 2 deletions views/partials/searchFormParallax.hbs
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
<div class="container">
<div class="row">
<div class="col s4" style="background-color: rgba(255, 255, 255, 0.95); padding: 20px;">
<h4 class="teal-text text-lighten-2 hide-on-med-and-down" style="font-weight: bold;">IS YOUR FOOD SAFE?</h4>
<h5>Find a restaurant's inspection records</h5>
</div>
</div>
<div class="row">
<form class="col s12 card" action="/search" method="POST" style="border:20px solid teal;">
<h4 class="teal-text text-lighten-2 hide-on-med-and-down" style="font-weight: bold;">Is Your Food Safe?</h4>
<h5>Find a restaurant's inspection records</h5>
<div class="row">
<div class="input-field col s6">
{{!-- <i class="material-icons prefix">restaurant</i> --}}
Expand Down

0 comments on commit 2967abc

Please sign in to comment.