mirror of
https://git.coop/cotech/website.git
synced 2025-07-13 00:30:48 +00:00
Strip out CSS, JS and extra markup
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.
This commit is contained in:
@ -1,46 +1,23 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
{% include head.html %}
|
||||
<body>
|
||||
{% include header.html %}
|
||||
|
||||
{% include head.html %}
|
||||
<section>
|
||||
<h1>{{ page.heading }}</h1>
|
||||
</section>
|
||||
|
||||
<body>
|
||||
<section>
|
||||
{{ content }}
|
||||
</section>
|
||||
|
||||
{% include header.html %}
|
||||
|
||||
<div>
|
||||
|
||||
<div id="page-banner">
|
||||
<div class="row">
|
||||
<div class="small-centered small-12 medium-10 large-8 columns">
|
||||
<h1>{{ page.heading }}</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="page-content">
|
||||
<div class="row">
|
||||
<div class="small-centered small-12 medium-10 large-8 columns">
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if page.append_email_form %}
|
||||
<section id="join-form">
|
||||
<div class="row">
|
||||
<div class="small-12 medium-6 small-centered columns">
|
||||
<p>Contact us <a href="{{ site.forum }}">using our forum</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
{% include footer.html %}
|
||||
|
||||
{% include javascripts.html %}
|
||||
</body>
|
||||
{% if page.append_email_form %}
|
||||
<section>
|
||||
<p>Contact us <a href="{{ site.forum }}">using our forum</a>.</p>
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
{% include footer.html %}
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user