Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/partners/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ partners_list:
-
name: Vehikl
logo: vehikl.png
description:
Vehikl is a software consultancy specialising in PHP and JavaScript.
proficiencies:
- VueJs
- Laravel
Expand Down
28 changes: 15 additions & 13 deletions themes/vue/layout/partners-page.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,12 @@
<% for (let partner of page.partners_list) { %>
<div class="partner">
<div class="logo">
<img src="<%- url_for(`/images/${partner.logo}`) %>" alt="<%= partner.name %>">
<img src="<%- partner.logo.startsWith(`http`) ? partner.logo : url_for(`/images/${partner.logo}`) %>" alt="<%= partner.name %>">
</div>
<div class="profile">
<h3> <%= partner.name %> </h3>
<!-- <h3> <%= partner.name %> </h3> -->
<p class="description"><%= partner.description %></p>
<dl>
<dt>Proficiencies</dt>
<dd>
<ul>
<% for (let proficiency of partner.proficiencies) { %>
<li>
<a href="<%- page.proficiencies_urls[proficiency] %>" target=_blank> <%= proficiency %></a>
</li>
<% } %>
</ul>
</dd>

<dt>
<i class="fa fa-map-marker"></i>
<span class="sr-only">Location</span>
Expand Down Expand Up @@ -52,6 +42,18 @@
<dd>
<a href="https://<%- partner.url_link %>" target=_blank><%- partner.url_text %></a>
</dd>

<dt>Proficiencies</dt>
<dd>
<ul>
<% for (let proficiency of partner.proficiencies) { %>
<li>
<a href="<%- page.proficiencies_urls[proficiency] %>" target=_blank> <%= proficiency %></a>
</li>
<% } %>
</ul>
</dd>

<footer class="social">
<% if (partner.email) { %>
<a href="mailto:<%- partner.email %>?subject=Hire <%- partner.name %>">
Expand Down
4 changes: 3 additions & 1 deletion themes/vue/source/css/_partners.styl
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
.logo
flex: 0 0 125px
.profile
padding-left: 26px
padding: 0 26px
flex: 1
h3
margin: 0
font-size: 1.3em
p
margin-top: 0
dl
margin: .6em 0 0
dt, dd, ul, li
Expand Down