Added skills
25
source/_includes/project-company.html.twig
Normal 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 %}
|
14
source/_includes/project-skills.html.twig
Normal 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 %}
|
|
@ -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 %}
|
||||
|
|
|
@ -7,4 +7,5 @@ tags:
|
|||
image: cattery.png
|
||||
role: Freelance Developer
|
||||
freelance: true
|
||||
skills: [drupal, php, jenkins]
|
||||
---
|
||||
|
|
|
@ -7,4 +7,5 @@ tags:
|
|||
image: handc.png
|
||||
company: horse_country
|
||||
role: Developer
|
||||
skills: [drupal, php, git]
|
||||
---
|
||||
|
|
|
@ -7,4 +7,5 @@ tags:
|
|||
image: avon-motorsport.png
|
||||
company: proctors
|
||||
role: Developer
|
||||
skills: [drupal, php, less, svn]
|
||||
---
|
||||
|
|
|
@ -8,4 +8,5 @@ image: rathbone-greenbank.png
|
|||
company: proctors
|
||||
slug: rathbone-greenbank
|
||||
role: Developer
|
||||
skills: [drupal, php, less, svn]
|
||||
---
|
||||
|
|
|
@ -8,4 +8,5 @@ tags:
|
|||
image: source-for-searches.png
|
||||
company: proctors
|
||||
role: Developer
|
||||
skills: [drupal, php, less, svn]
|
||||
---
|
||||
|
|
|
@ -7,4 +7,5 @@ tags:
|
|||
image: wlsquared.png
|
||||
role: Freelance Developer
|
||||
freelance: true
|
||||
skills: [drupal, php, git]
|
||||
---
|
||||
|
|
|
@ -8,4 +8,5 @@ tags:
|
|||
image: accessible-bristol.png
|
||||
role: Freelance Developer
|
||||
freelance: true
|
||||
skills: [drupal, php, less, git]
|
||||
---
|
||||
|
|
|
@ -7,4 +7,5 @@ tags:
|
|||
image: aspira.png
|
||||
company: proctors
|
||||
role: Developer
|
||||
skills: [drupal, php, svn]
|
||||
---
|
||||
|
|
|
@ -8,4 +8,5 @@ tags:
|
|||
image: daylight-photo-awards.png
|
||||
role: Freelance Developer
|
||||
freelance: true
|
||||
skills: [drupal, drupal-commerce, git, sass, compass, jenkins]
|
||||
---
|
||||
|
|
|
@ -8,4 +8,5 @@ tags:
|
|||
image: digital-theatre-plus.png
|
||||
company: nomensa
|
||||
role: Developer
|
||||
skills: [drupal, php]
|
||||
---
|
||||
|
|
|
@ -9,4 +9,5 @@ image: door-decor-more.png
|
|||
company: zooba
|
||||
role: Freelance Developer
|
||||
freelance: true
|
||||
skills: [drupal, drupal-commerce, php, git]
|
||||
---
|
||||
|
|
|
@ -7,4 +7,5 @@ tags:
|
|||
image: vikisports.png
|
||||
role: Freelance Developer
|
||||
freelance: true
|
||||
skills: [drupal, php, git, jenkins]
|
||||
---
|
||||
|
|
|
@ -7,4 +7,5 @@ image: hutch-paving.png
|
|||
role: Freelance Developer
|
||||
company: trent
|
||||
freelance: true
|
||||
skills: [drupal, php]
|
||||
---
|
||||
|
|
|
@ -8,4 +8,5 @@ image: ifoa.png
|
|||
company: precedent
|
||||
role: Lead Developer
|
||||
slug: ifoa
|
||||
skills: [drupal, php, git]
|
||||
---
|
||||
|
|
|
@ -8,4 +8,5 @@ image: mfvc.png
|
|||
slug_title: my-favourite-voucher-codes
|
||||
role: Freelance Developer
|
||||
freelance: true
|
||||
skills: [drupal, php, git]
|
||||
---
|
||||
|
|
|
@ -8,4 +8,5 @@ image: wattstvc.png
|
|||
company: lab_class
|
||||
role: Freelance Developer
|
||||
freelance: true
|
||||
skills: [drupal, php, git, sass, compass]
|
||||
---
|
||||
|
|
|
@ -7,4 +7,5 @@ tags:
|
|||
image: drupalorg.png
|
||||
company: drupal_association
|
||||
role: Drupal.org Developer
|
||||
skills: [drupal, php, git, sass, compass, jenkins]
|
||||
---
|
||||
|
|
|
@ -7,4 +7,5 @@ tags:
|
|||
image: roadcc.png
|
||||
company: microserve
|
||||
role: Lead Developer
|
||||
skills: [drupal, php, git, less]
|
||||
---
|
||||
|
|
BIN
source/assets/images/skills/compass.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
source/assets/images/skills/drupal-commerce.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
source/assets/images/skills/drupal.png
Normal file
After Width: | Height: | Size: 296 KiB |
BIN
source/assets/images/skills/git.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
source/assets/images/skills/jenkins.png
Normal file
After Width: | Height: | Size: 124 KiB |
BIN
source/assets/images/skills/less.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
source/assets/images/skills/php.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
source/assets/images/skills/sass.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
source/assets/images/skills/svn.jpg
Normal file
After Width: | Height: | Size: 22 KiB |