Skip to content

Commit

Permalink
Move contact section content into settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
travisneilson committed Aug 21, 2014
1 parent 1212387 commit 9da29c7
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 8 deletions.
20 changes: 20 additions & 0 deletions _data/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,23 @@ clients:
title: 'VP of Helmut, Lorem Sorem LLC.',
quote: '<p><strong>Back in old country</strong> only nerds who is playing on computers. Now all bros is wanting to make codes and junk. I lost foot in war. You dont see girls asking me about homework.</p>',
logo: 'logo4.png'}


#-------------------------------
# Contact Section

social:
- {icon: 'twitter', link: 'http:twitter.com/devtipsshow'}
- {icon: 'dribbble', link: 'https://dribbble.com/travisneilson'}
- {icon: 'behance', link: 'https://www.behance.net/travisneilson'}
- {icon: 'youtube', link: 'https://www.youtube.com/DevTipsForDesigners'}
- {icon: 'linkedin', link: 'www.linkedin.com/in/travisneilson/'}


# can be: 'twitter' / 'facebook' / 'github' / 'pinterest' 'google-plus' / 'linkedin' / 'youtube' / 'instagram' / 'dribbble' / 'behance' / 'soundcloud' / 'vine'






13 changes: 5 additions & 8 deletions _includes/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@

<h3 id="contact">Contact</h3>


<div class="social-links">
<a href="" class="icon-twitter"></a>
<a href="" class="icon-dribbble"></a>
<a href="" class="icon-behance"></a>
<a href="" class="icon-youtube"></a>
<a href="" class="icon-linkedin"></a>
{% for link in site.data.settings.social %}
<a href="{{ link.link }}" class="icon-{{ link.icon }}"></a>
{% endfor %}
</div>

<hr class="bar">

<a class="biglink" href="mailto:artist@gmail.com">artist@gmail.com</a>

</section>
<a class="biglink" href="mailto:{{ site.data.settings.email }}">{{ site.data.settings.email }}</section>
2 changes: 2 additions & 0 deletions assets/css/3-sections/_contact.sass
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
margin: 0px auto 50px
+display(flex)
+justify-content(space-around)
+flex-wrap(wrap)

a
display: block
Expand All @@ -15,6 +16,7 @@
color: white
border-radius: 50%
font-size: 28px
margin: 20px
+transition()

&:hover
Expand Down

0 comments on commit 9da29c7

Please sign in to comment.