mirror of
https://git.coop/cotech/website.git
synced 2025-06-26 16:40:52 +00:00
The site had around 7000 lines of CSS and 23,000 lines of JS. It also used a framework called "Zurb" to build the layout. We're planning to rebrand the website and to make that work easier I think it would help me (and hopefully those that come after me) to strip out all of these technologies and recreate the site with a simple stylesheet. By doing so I think we lose a couple of features, such as the zooming hover states on the grids of images. Some features, like the "sticky" header are probably better implemented nowadays in pure CSS. Given that the site is maintained by volunteers I think the simpler we can make it the better.
31 lines
678 B
HTML
31 lines
678 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
|
|
{% include head.html %}
|
|
|
|
<body>
|
|
{% include header.html %}
|
|
|
|
<section>
|
|
<h1>Coops that offer <span>{{ page.name }}</span></h1>
|
|
{% if page.description %}
|
|
<p>{{ page.description }}</p>
|
|
{% endif %}
|
|
</section>
|
|
|
|
<section>
|
|
{% for coop in site.coops %}
|
|
{% if coop.services contains page.slug %}
|
|
<div>
|
|
<a href="{{ coop.url | relative_url }}" class="coop-thumb" id="#{{ coop.slug }}">
|
|
<img src="/images/coops/{{ coop.slug }}" alt="{{ coop.name }}">
|
|
</a>
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</section>
|
|
|
|
{% include footer.html %}
|
|
</body>
|
|
</html>
|