4
0
mirror of https://git.coop/cotech/website.git synced 2025-06-26 16:40:52 +00:00

Replace technology, service and client logos with text

This commit is contained in:
Chris Lowis
2025-06-20 12:42:00 +01:00
parent 5eb1b74c99
commit 56bc5a9612

View File

@ -82,17 +82,12 @@
<section>
<h2 id="services">Services</h2>
<div class="row small-up-3 medium-up-4 large-up-4 small-collapse">
<ul>
{% for service in page.services %}
{% assign s = site.services | where: "slug", service | first %}
<div class="column">
<a href="{{ s.url | relative_url }}" class="service-thumb">
<div class="service-thumb-img float-center" style="background-image: url(/images/services/{{ s.slug }})"></div>
<div>{{ s.name }}</div>
</a>
</div>
<li><a href="{{ s.url | relative_url }}">{{ s.name }}</a></li>
{% endfor %}
</div>
</ul>
</section>
<!-- /Services -->
{% endif %}
@ -102,17 +97,12 @@
<section>
<h2 id="tech">Technologies</h2>
<div class="row small-up-3 medium-up-4 large-up-4 small-collapse">
<ul>
{% for technology in page.technologies %}
{% assign t = site.technologies | where: "slug", technology | first %}
<div class="column">
<a href="{{ t.url | relative_url }}" class="technology-thumb">
<div class="technology-thumb-img float-center" style="background-image: url(/images/technologies/{{ t.slug }})"></div>
<div>{{ t.name }}</div>
</a>
</div>
{% endfor %}
</div>
{% assign t = site.technologies | where: "slug", technology | first %}
<li><a href="{{ t.url | relative_url }}">{{ t.name }}</a></li>
{% endfor %}
</ul>
</section>
<!-- /Technologies -->
{% endif %}
@ -122,15 +112,12 @@
<section>
<h2 id="clients">Clients</h2>
<div class="row small-up-2 medium-up-3 large-up-3">
<ul>
{% for client in page.clients %}
{% assign c = site.clients | where: "slug", client | first %}
<div class="column client-thumb-container">
<div class="client-thumb" style="background-image: url(/images/clients/{{ c.slug }})"></div>
<div class="client-thumb-header">{{ c.title }}</div>
</div>
{% assign c = site.clients | where: "slug", client | first %}
<li>{{ c.title }}</li>
{% endfor %}
</div>
</ul>
</section>
<!-- /Clients -->
{% endif %}