-
Notifications
You must be signed in to change notification settings - Fork 0
Ecosystem pagination #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ecosystem/ecosystem.html
Outdated
<div id="ecosystem-index-cards"> | ||
<div class="list row ecosystem-cards-wrapper"> | ||
{% assign ecosystem = site.ecosystem | sort_natural: "title" %} | ||
|
||
{% for item in ecosystem %} | ||
<div class="col-md-6 ecosystem-card-wrapper" data-categories="{{ item.category | join: "," }}"> | ||
<div class="card ecosystem-card"> | ||
<a href="{{ item.link }}" target="_blank"> | ||
<div class="card-body {{ item.logo-class }} {% if item.experimental %}experimental{% endif %}"> | ||
<div class="ecosystem-card-title-container"> | ||
<h4>{{ item.title }}</h4> | ||
{% if item.experimental %} | ||
<div class="experimental-badge"> | ||
Experimental | ||
</div> | ||
{% endif %} | ||
</div> | ||
<p class="card-summary">{{ item.summary }}</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like a lot of this is changed from the ecosystem-stars-final
branch. It doesn't have any of the new data attributes we added. Can you make sure you're branching off of ecosystem-stars-final
?
_sass/ecosystem.scss
Outdated
.ecosystem .pagination { | ||
.page { | ||
border: 1px solid #dee2e6; | ||
padding: 0.5rem 0.75rem; | ||
} | ||
|
||
.active .page { | ||
background-color: #dee2e6; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you're missing some closing curly braces.
92089db
to
4715778
Compare
ecosystem/ecosystem.html
Outdated
<script src="//cdnjs.cloudflare.com/ajax/libs/list.js/1.5.0/list.min.js"></script> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/numeral.js/2.0.6/numeral.min.js"></script> | ||
<script id="filter-script" ecosystem="true" star-count-call-date="ecosystemStarCountCallDate" star-count-data="ecosystemStarCountData" src="{{ site.baseurl }}/assets/github-stars.js"></script> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/list.js/1.5.0/list.min.js"></script> | ||
<script list-id="ecosystem-index-cards" display-count="100" pagination="false" src="{{ site.baseurl }}/assets/filter-hub-tags.js"></script> | ||
<script list-id="ecosystem-index-cards" display-count="10" pagination="true" src="{{ site.baseurl }}/assets/filter-hub-tags.js"></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you have a merge conflict related to these scripts. Once you address the conflict then this should be good to go.
This PR adds pagination to the Ecosystem