Add footer

This commit is contained in:
Guillaume Dott 2013-01-31 19:36:09 +01:00
parent 020fd621f1
commit e48d7decb8
5 changed files with 23 additions and 2 deletions

View File

@ -4,3 +4,6 @@ en:
english: "English"
developer: "Developer"
download_resume: "Download my resume"
find_me_github: "Find me on github at %{link}"
created_with: "Generated with %{link}."
find_site_github: "Want to see the source ? Go on %{link}."

View File

@ -4,3 +4,6 @@ fr:
english: "Anglais"
developer: "Développeur"
download_resume: "Télecharger mon CV"
find_me_github: "Contactez moi sur Github à %{link}"
created_with: "Généré avec %{link}."
find_site_github: "Want to see the source ? Go on %{link}."

View File

@ -31,3 +31,7 @@
.content
= yield
%footer
%p= I18n.t(:created_with, link: link_to('Middleman', 'http://middlemanapp.com/'))
%p= I18n.t(:find_site_github, link: link_to('Github', 'https://github.com/gdott9/guillaume.dott.fr'))

View File

@ -5,5 +5,4 @@ title: Welcome to Middleman
%section.welcome
= image_tag 'github-original.png'
%p
= I18n.t(:find_me_github)
= link_to 'gdott9', 'https://github.com/gdott9'
= I18n.t(:find_me_github, link: link_to('gdott9', 'https://github.com/gdott9'))

View File

@ -82,3 +82,15 @@ nav
background-color: rgba(0, 0, 0, 0.7)
border: 2px solid white
padding: 1.2em
&.welcome
text-align: center
footer
padding: 10px
margin-top: 2em
background-color: rgba(0, 0, 0, 0.7)
border: white solid
border-width: 2px 0
text-align: center