Sort by rank
This commit is contained in:
@@ -11,7 +11,6 @@ blockquote {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'Lato', sans-serif;
|
font-family: 'Lato', sans-serif;
|
||||||
}
|
}
|
||||||
@@ -26,7 +25,7 @@ h1 {
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
padding-top: 60px;
|
padding-top: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
body p {
|
body p {
|
||||||
font-family: 'Lato', sans-serif;
|
font-family: 'Lato', sans-serif;
|
||||||
@@ -96,7 +95,6 @@ ul {
|
|||||||
height: 30px;
|
height: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.text-3xl {
|
.text-3xl {
|
||||||
font-size: 2.50rem
|
font-size: 2.50rem
|
||||||
}
|
}
|
||||||
@@ -111,7 +109,8 @@ ul {
|
|||||||
@apply flex-col;
|
@apply flex-col;
|
||||||
@apply w-full;
|
@apply w-full;
|
||||||
.post-card-image {
|
.post-card-image {
|
||||||
@apply h-56;
|
// @apply h-56;
|
||||||
|
@apply h-full;
|
||||||
@apply w-full;
|
@apply w-full;
|
||||||
@apply object-cover;
|
@apply object-cover;
|
||||||
@apply rounded;
|
@apply rounded;
|
||||||
@@ -141,15 +140,12 @@ button:focus {
|
|||||||
|
|
||||||
.post-content a {
|
.post-content a {
|
||||||
color: #4ec48f;
|
color: #4ec48f;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-8xl {
|
.text-8xl {
|
||||||
font-size: 5rem;
|
font-size: 5rem;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
font-family: 'Lato', sans-serif !important;
|
font-family: 'Lato', sans-serif !important;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
text-6xl {
|
text-6xl {
|
||||||
@@ -160,12 +156,12 @@ text-5xl {
|
|||||||
font-family: 'Lato', sans-serif !important;
|
font-family: 'Lato', sans-serif !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media (min-width: 375px) {
|
@media (min-width: 375px) {
|
||||||
.text-3xl {
|
.text-3xl {
|
||||||
font-size: 2.25rem
|
font-size: 2.25rem
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
.with-large>.flex-post:nth-child(5n),
|
.with-large>.flex-post:nth-child(5n),
|
||||||
.with-large>.flex-post:nth-child(5n-1) {
|
.with-large>.flex-post:nth-child(5n-1) {
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<Layout>
|
<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="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">
|
<div class="flex flex-wrap with-large pt-8 pb-8 mx-4 sm:-mx-4">
|
||||||
<PostListItem
|
<PostListItem
|
||||||
@@ -16,7 +20,7 @@
|
|||||||
|
|
||||||
<page-query>
|
<page-query>
|
||||||
query ($private: Int){
|
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
|
totalCount
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<page-query>
|
<page-query>
|
||||||
query ($private: Int){
|
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
|
totalCount
|
||||||
edges {
|
edges {
|
||||||
node {
|
node {
|
||||||
|
|||||||
Reference in New Issue
Block a user