Skip to content

Commit

Permalink
feat: Add social media to profile links, use SVGs for footer links
Browse files Browse the repository at this point in the history
  • Loading branch information
ripixel committed Jun 6, 2020
1 parent 99aa161 commit 9bdf2e0
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 12 deletions.
11 changes: 7 additions & 4 deletions assets/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -312,13 +312,16 @@ footer {
text-align: center;
}

footer a {
color: #777;
text-decoration: none;
border-color: #777;
footer a path {
fill: #777;
}

footer a:hover path {
fill: #ccc;
}

footer .copy {
padding-top: 10px;
font-size: 0.8em;
}

Expand Down
20 changes: 19 additions & 1 deletion pages/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h3>So who am I?</h3>
I&apos;m <span class="em">James King</span>, a 27 year old Software
Engineer from Lincolnshire, who has an affinity for Coca-Cola, bacon,
and being pretty bad at boardgames despite my intense love of them.
You want some more in detail stats?
You want some more info?
<span class="em2">Fine...</span>
</p>
</section>
Expand All @@ -28,6 +28,24 @@ <h4>Location</h4>
<h4>Birthday</h4>
<p>May, 1992</p>
</div>
<div class="item">
<h4>GitHub</h4>
<p><a href="https://github.com/ripixelcodes">@ripixelcodes</a></p>
</div>
<div class="item">
<h4>Twitter</h4>
<p><a href="https://www.twitter.com/ripixelcodes">@ripixelcodes</a></p>
</div>
<div class="item">
<h4>LinkedIn</h4>
<p>
<a href="https://www.linkedin.com/in/jameskingli/">jameskingli</a>
</p>
</div>
<div class="item">
<h4>Email</h4>
<p><a href="mailto:ripixel+website@gmail.com">ripixel@gmail.com</a></p>
</div>
<div class="item">
<h4>Laptop</h4>
<p>ASUS ROG Zephyrus M GM501GS</p>
Expand Down
52 changes: 45 additions & 7 deletions templates/footer.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,50 @@
<footer>
<div class="flexme">
<p>
<a href="https://github.com/ripixelcodes">GitHub @ripixelcodes</a>
</p>
<p><a href="https://gitlab.com/ripixel">Gitlab @ripixel</a></p>
<p>
<a href="https://www.twitter.com/ripixelcodes">Twitter @ripixelcodes</a>
</p>
<a href="https://github.com/ripixelcodes"
><svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
>
<path
d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
/></svg
></a>
<a href="https://www.twitter.com/ripixelcodes"
><svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
>
<path
d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm6.066 9.645c.183 4.04-2.83 8.544-8.164 8.544-1.622 0-3.131-.476-4.402-1.291 1.524.18 3.045-.244 4.252-1.189-1.256-.023-2.317-.854-2.684-1.995.451.086.895.061 1.298-.049-1.381-.278-2.335-1.522-2.304-2.853.388.215.83.344 1.301.359-1.279-.855-1.641-2.544-.889-3.835 1.416 1.738 3.533 2.881 5.92 3.001-.419-1.796.944-3.527 2.799-3.527.825 0 1.572.349 2.096.907.654-.128 1.27-.368 1.824-.697-.215.671-.67 1.233-1.263 1.589.581-.07 1.135-.224 1.649-.453-.384.578-.87 1.084-1.433 1.489z"
/></svg
></a>
<a href="https://www.linkedin.com/in/jameskingli/"
><svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
>
<path
d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-2 16h-2v-6h2v6zm-1-6.891c-.607 0-1.1-.496-1.1-1.109 0-.612.492-1.109 1.1-1.109s1.1.497 1.1 1.109c0 .613-.493 1.109-1.1 1.109zm8 6.891h-1.998v-2.861c0-1.881-2.002-1.722-2.002 0v2.861h-2v-6h2v1.093c.872-1.616 4-1.736 4 1.548v3.359z"
/></svg
></a>
<a href="mailto:ripixel+website@gmail.com">
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
>
<path
d="M12 .02c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm6.99 6.98l-6.99 5.666-6.991-5.666h13.981zm.01 10h-14v-8.505l7 5.673 7-5.672v8.504z"
/>
</svg>
</a>
</div>
<p class="copy">&copy; 2020 James King</p>
</footer>

0 comments on commit 9bdf2e0

Please sign in to comment.