Added skills

This commit is contained in:
Oliver Davies 2016-02-07 00:24:32 +00:00
parent 1e61d99a1d
commit 0f2d5810d9
33 changed files with 88 additions and 25 deletions

View file

@ -6,6 +6,7 @@ sculpin_content_types:
projects:
permalink: portfolio/:slug_title/
taxonomies:
- skills
- tags
talks:
permalink: talks/:filename/

View file

@ -118,3 +118,14 @@ companies:
title: CTI Digital
website: https://www.ctidigital.com
logo: cti-digital.png
skills:
drupal: { title: Drupal, image: drupal.png }
drupal-commerce: { title: Drupal Commerce, image: drupal-commerce.png }
php: { title: PHP, image: php.png }
git: { title: Git, image: git.png }
svn: { title: Subversion, image: svn.jpg }
less: { title: Less, image: less.png }
sass: { title: Sass, image: sass.png }
compass: { title: Compass, image: compass.png }
jenkins: { title: Jenkins, image: jenkins.png }

View file

@ -0,0 +1,25 @@
{% if page.company %}
{% set company = site.companies[page.company] %}
<div class="project--company{% if company.logo %} project--company__has-logo{% endif %}">
{% if page.freelance %}
<h2>Built for</h2>
{% else %}
<h2>Built whilst at</h2>
{% endif %}
{% if company.logo %}
{% set name = '<img src="/assets/images/experience/' ~ company.logo ~ '" alt="' ~ company.title ~ '">' %}
{% else %}
{% set name = company.title %}
{% endif %}
{% if company.website %}
<a href="{{ company.website }}" title="{{ company.title }}">
{{ name|raw }}
</a>
{% else %}
{{ name|raw }}
{% endif %}
</div>
{% endif %}

View file

@ -0,0 +1,14 @@
{% if page.skills %}
<div class="project--skills">
<h2>Skills</h2>
<ul>
{% for item in page.skills %}
{% set skill = site.skills[item] %}
<li>
<img src="/assets/images/skills/{{ skill.image }}" alt="{{ skill.title }}" title="{{ skill.title }}">
</li>
{% endfor %}
</ul>
</div>
{% endif %}

View file

@ -25,29 +25,6 @@
</div>
{% endif %}
{% if page.company %}
{% set company = site.companies[page.company] %}
<div class="project--company{% if company.logo %} project--company__has-logo{% endif %}">
{% if page.freelance %}
<h2>Built for</h2>
{% else %}
<h2>Built whilst at</h2>
{% endif %}
{% if company.logo %}
{% set name = '<img src="/assets/images/experience/' ~ company.logo ~ '" alt="' ~ company.title ~ '">' %}
{% else %}
{% set name = company.title %}
{% endif %}
{% if company.website %}
<a href="{{ company.website }}" title="{{ company.title }}">
{{ name|raw }}
</a>
{% else %}
{{ name|raw }}
{% endif %}
</div>
{% endif %}
{{ include('project-skills') }}
{{ include('project-company') }}
{% endblock %}

View file

@ -7,4 +7,5 @@ tags:
image: cattery.png
role: Freelance Developer
freelance: true
skills: [drupal, php, jenkins]
---

View file

@ -7,4 +7,5 @@ tags:
image: handc.png
company: horse_country
role: Developer
skills: [drupal, php, git]
---

View file

@ -7,4 +7,5 @@ tags:
image: avon-motorsport.png
company: proctors
role: Developer
skills: [drupal, php, less, svn]
---

View file

@ -8,4 +8,5 @@ image: rathbone-greenbank.png
company: proctors
slug: rathbone-greenbank
role: Developer
skills: [drupal, php, less, svn]
---

View file

@ -8,4 +8,5 @@ tags:
image: source-for-searches.png
company: proctors
role: Developer
skills: [drupal, php, less, svn]
---

View file

@ -7,4 +7,5 @@ tags:
image: wlsquared.png
role: Freelance Developer
freelance: true
skills: [drupal, php, git]
---

View file

@ -8,4 +8,5 @@ tags:
image: accessible-bristol.png
role: Freelance Developer
freelance: true
skills: [drupal, php, less, git]
---

View file

@ -7,4 +7,5 @@ tags:
image: aspira.png
company: proctors
role: Developer
skills: [drupal, php, svn]
---

View file

@ -8,4 +8,5 @@ tags:
image: daylight-photo-awards.png
role: Freelance Developer
freelance: true
skills: [drupal, drupal-commerce, git, sass, compass, jenkins]
---

View file

@ -8,4 +8,5 @@ tags:
image: digital-theatre-plus.png
company: nomensa
role: Developer
skills: [drupal, php]
---

View file

@ -9,4 +9,5 @@ image: door-decor-more.png
company: zooba
role: Freelance Developer
freelance: true
skills: [drupal, drupal-commerce, php, git]
---

View file

@ -7,4 +7,5 @@ tags:
image: vikisports.png
role: Freelance Developer
freelance: true
skills: [drupal, php, git, jenkins]
---

View file

@ -7,4 +7,5 @@ image: hutch-paving.png
role: Freelance Developer
company: trent
freelance: true
skills: [drupal, php]
---

View file

@ -8,4 +8,5 @@ image: ifoa.png
company: precedent
role: Lead Developer
slug: ifoa
skills: [drupal, php, git]
---

View file

@ -8,4 +8,5 @@ image: mfvc.png
slug_title: my-favourite-voucher-codes
role: Freelance Developer
freelance: true
skills: [drupal, php, git]
---

View file

@ -8,4 +8,5 @@ image: wattstvc.png
company: lab_class
role: Freelance Developer
freelance: true
skills: [drupal, php, git, sass, compass]
---

View file

@ -7,4 +7,5 @@ tags:
image: drupalorg.png
company: drupal_association
role: Drupal.org Developer
skills: [drupal, php, git, sass, compass, jenkins]
---

View file

@ -7,4 +7,5 @@ tags:
image: roadcc.png
company: microserve
role: Lead Developer
skills: [drupal, php, git, less]
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View file

@ -1,3 +1,20 @@
.project--skills {
ul {
list-style: none;
margin-left: 0;
padding-left: 0;
}
li {
display: inline-block;
margin-right: 5px;
}
img {
max-height: 30px;
}
}
.project--company__has-logo {
a:link,
a:hover {