Sort by rank

This commit is contained in:
samaradel
2021-04-07 12:42:13 +02:00
parent 861dbc3146
commit 11f27619eb
3 changed files with 13 additions and 13 deletions

View File

@@ -11,7 +11,6 @@ blockquote {
}
}
body {
font-family: 'Lato', sans-serif;
}
@@ -26,7 +25,7 @@ h1 {
body {
padding-top: 60px;
}
}
body p {
font-family: 'Lato', sans-serif;
@@ -96,7 +95,6 @@ ul {
height: 30px;
}
.text-3xl {
font-size: 2.50rem
}
@@ -111,7 +109,8 @@ ul {
@apply flex-col;
@apply w-full;
.post-card-image {
@apply h-56;
// @apply h-56;
@apply h-full;
@apply w-full;
@apply object-cover;
@apply rounded;
@@ -141,15 +140,12 @@ button:focus {
.post-content a {
color: #4ec48f;
}
}
.text-8xl {
font-size: 5rem;
line-height: 1;
font-family: 'Lato', sans-serif !important;
}
text-6xl {
@@ -160,12 +156,12 @@ text-5xl {
font-family: 'Lato', sans-serif !important;
}
@media (min-width: 375px) {
.text-3xl {
font-size: 2.25rem
}
}
@media (min-width: 768px) {
.with-large>.flex-post:nth-child(5n),
.with-large>.flex-post:nth-child(5n-1) {

View File

@@ -1,6 +1,10 @@
<template>
<Layout>
<TagFilterHeader :tags="tags" selected="all" v-if="$page.tags.edges.length > 1"/>
<TagFilterHeader
:tags="tags"
selected="all"
v-if="$page.tags.edges.length > 1"
/>
<div class="container mt-8 sm:pxi-0 mx-auto overflow-x-hidden">
<div class="flex flex-wrap with-large pt-8 pb-8 mx-4 sm:-mx-4">
<PostListItem
@@ -16,7 +20,7 @@
<page-query>
query ($private: Int){
entries: allProject (sortBy: "rank", order: DESC, filter: { private: { ne: $private }, tags: { id: {in: ["blockchain", "experience", "technology", "farming", "community", "infrastructure", "impact"]}}}){
entries: allProject (sortBy: "rank", order: ASC, filter: { private: { ne: $private }, category: { contains: ["foundation"]}}){
totalCount
edges {
node {

View File

@@ -15,7 +15,7 @@
<page-query>
query ($private: Int){
entries: allPerson (sortBy: "rank", order: DESC, filter: { private: { ne: $private }, memberships: { id: {in: ["cofounders", "tech", "foundation", "ambassadors", "matchmakers", "farmers", "aci_members", "partners", "wisdom_council", "technology_council", "grid_guardians"]}}}){
entries: allPerson (sortBy: "rank", order: ASC, filter: { private: { ne: $private }, category: { contains: ["foundation"]}, memberships: { id: {in: ["cofounders", "tech", "foundation", "ambassadors", "matchmakers", "farmers", "aci_members", "partners", "wisdom_council", "technology_council", "grid_guardians"]}}}){
totalCount
edges {
node {