removed post-list component

This commit is contained in:
Yves Gatesoupe 2020-07-16 22:28:02 +02:00
parent 25b05c26c7
commit 4da92b87f2
4 changed files with 0 additions and 40 deletions

View File

@ -10,7 +10,6 @@
<main id="main-content" class="home" tabindex="-1"> <main id="main-content" class="home" tabindex="-1">
{% include "partials/components/intro.njk" %} {% include "partials/components/intro.njk" %}
{% include "partials/components/posts-list-home.njk" %} {% include "partials/components/posts-list-home.njk" %}
{% include "partials/components/post-list.njk" %}
{% include "partials/components/presentation.njk" %} {% include "partials/components/presentation.njk" %}
{% include "partials/components/customers.njk" %} {% include "partials/components/customers.njk" %}
{% include "partials/components/contact-form.njk" %} {% include "partials/components/contact-form.njk" %}

View File

@ -1,21 +0,0 @@
{% if postListItems.length %}
<section class="[ post-list ] [ pad-top-700 gap-bottom-900 ]">
<div class="[ inner-wrapper ] [ sf-flow ]">
<h2 class="[ post-list__heading ]">{{ postListHeading }}</h2>
<ol class="[ post-list__items ] [ sf-flow ] [ pad-top-300 ]" reversed>
{% for item in postListItems %}
{% if item.date.getTime() <= global.now %}
<li class="post-list__item">
<h3 class="font-base leading-tight text-600 weight-mid">
<a href="{{ item.url }}" class="post-list__link" rel="bookmark">{{ item.data.title }}</a>
</h3>
<p class="text-500 gap-top-300 weight-mid">
<time datetime="{{ item.date | w3DateFilter }}">{{ item.date | dateFilter }}</time>
</p>
</li>
{% endif %}
{% endfor %}
</ol>
</div>
</section>
{% endif %}

View File

@ -1,17 +0,0 @@
.post-list {
&__item {
--flow-space: #{get-size(700)};
}
&__link {
&,
&:visited {
color: var(--color-theme-primary);
text-decoration: none;
}
&:hover {
text-decoration: underline;
}
}
}

View File

@ -66,7 +66,6 @@ img {
@import 'components/nav'; @import 'components/nav';
@import 'components/posts'; @import 'components/posts';
@import 'components/post'; @import 'components/post';
@import 'components/post-list';
@import 'components/member'; @import 'components/member';
@import 'components/member-list'; @import 'components/member-list';
@import 'components/posts-list'; @import 'components/posts-list';