Skip to content

Commit

Permalink
Fixes #9 - Adds "get this app in your city link"
Browse files Browse the repository at this point in the history
- Adds link in footer for directing users to github repository and
ohanapi.org.
- Adjusts padding of paragraphs in footer to only add padding on the
top so as to not double up padding against each other.
- Removes “This website is a” text from footer as the current website
is implied.
- Wraps the google translate drop-down in a paragraph element so that
it participates in paragraph-applied styling in the footer.
  • Loading branch information
anselmbradford committed Apr 1, 2014
1 parent d6d6051 commit 281ac50
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/main.css.scss
Expand Up @@ -1267,7 +1267,7 @@ button.big-btn:hover

p
{
padding:20px;
padding-top:20px;
font-size:14px;
font-family:$san_serif_font;
color:$greyscale_midtone;
Expand Down
20 changes: 14 additions & 6 deletions app/views/layouts/application.html.erb
Expand Up @@ -96,14 +96,22 @@
<a href='http://www.co.sanmateo.ca.us/portal/site/humanservices' target='_blank' title='San Mateo County Human Services Agency'><img src="/assets/smc_hsa_logotype.png" width="200" height="38" alt="San Mateo County Human Services Agency" /></a>
</p>

<p>This website is a <a href='http://codeforamerica.org' target='_blank' title='Code for America'>Code for America</a> project <span class='cfaflag'></span> in partnership with the <a href='http://www.co.sanmateo.ca.us/portal/site/humanservices' target='_blank' title='San Mateo County Human Services agency'>San Mateo County Human Services Agency</a>
<p>A <a href='http://codeforamerica.org' target='_blank' title='Code for America'>Code for America</a> project <span class='cfaflag'></span> in partnership with the <a href='http://www.co.sanmateo.ca.us/portal/site/humanservices' target='_blank' title='San Mateo County Human Services agency'>San Mateo County Human Services Agency</a>
</p>

<div id="google_translate_element"></div><script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'af,ar,az,be,bg,bn,bs,ca,ceb,cs,da,de,el,en,es,et,eu,fa,fi,fr,ga,gl,gu,hi,hmn,hr,ht,hu,hy,id,is,it,iw,ja,jv,ka,km,kn,ko,lo,lt,lv,mk,mr,ms,mt,nl,no,pl,pt,ro,ru,sk,sl,sq,sr,sv,sw,ta,te,th,tl,tr,uk,ur,vi,yi,zh-CN,zh-TW', autoDisplay: false}, 'google_translate_element');
}
</script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<p>
<i class="fa fa-bullhorn"></i> <a href="https://github.com/codeforamerica/ohana-web-search">Get this app</a> for your city or <a href="http://ohanapi.org">view project details</a>.
</p>

<p>
<div id="google_translate_element"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'af,ar,az,be,bg,bn,bs,ca,ceb,cs,da,de,el,en,es,et,eu,fa,fi,fr,ga,gl,gu,hi,hmn,hr,ht,hu,hy,id,is,it,iw,ja,jv,ka,km,kn,ko,lo,lt,lv,mk,mr,ms,mt,nl,no,pl,pt,ro,ru,sk,sl,sq,sr,sv,sw,ta,te,th,tl,tr,uk,ur,vi,yi,zh-CN,zh-TW', autoDisplay: false}, 'google_translate_element');
}
</script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</p>

</footer>

Expand Down

0 comments on commit 281ac50

Please sign in to comment.