Merge branch 'development' of https://github.com/threefoldtech/www_partners_v2 into development

This commit is contained in:
2020-11-17 14:26:08 +02:00
3 changed files with 115 additions and 150 deletions

View File

@@ -1,5 +1,4 @@
@tailwind base; @tailwind base;
blockquote { blockquote {
@apply border-l; @apply border-l;
@apply border-l-4; @apply border-l-4;
@@ -7,7 +6,6 @@ blockquote {
@apply pl-4; @apply pl-4;
@apply italic; @apply italic;
@apply my-8; @apply my-8;
p { p {
padding: 0 !important; padding: 0 !important;
} }
@@ -40,18 +38,14 @@ ul {
} }
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
@responsive { @responsive {
.pxi-0 { .pxi-0 {
@apply px-0 #{!important}; @apply px-0 #{!important};
} }
.pyi-0 { .pyi-0 {
@apply py-0 #{!important}; @apply py-0 #{!important};
} }
.pi-0 { .pi-0 {
@apply p-0 #{!important}; @apply p-0 #{!important};
} }
@@ -83,7 +77,6 @@ ul {
@apply border-b-gray-300; @apply border-b-gray-300;
@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 w-full; @apply w-full;
@@ -91,13 +84,11 @@ ul {
@apply rounded; @apply rounded;
@apply relative; @apply relative;
} }
.post-card-title { .post-card-title {
@apply leading-none; @apply leading-none;
@apply text-2xl; @apply text-2xl;
@apply font-medium; @apply font-medium;
} }
.post-card-excerpt { .post-card-excerpt {
@apply font-serif; @apply font-serif;
} }
@@ -108,17 +99,17 @@ ul {
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.with-large>.flex-post:nth-child(6n+1) { .with-large>.flex-post:nth-child(5n),
@apply flex-100; .with-large>.flex-post:nth-child(5n-1) {
@apply flex-row; // @apply flex-100;
flex: 1 1 50%;
@apply flex-col;
.post-card-image-link { .post-card-image-link {
@apply flex-auto; @apply flex-auto;
@apply relative; @apply relative;
min-height: 380px; min-height: 380px;
@apply mr-6; @apply mr-6;
} }
.post-card-image { .post-card-image {
@apply absolute; @apply absolute;
@apply h-full; @apply h-full;
@@ -126,63 +117,50 @@ ul {
@apply object-cover; @apply object-cover;
@apply rounded-lg; @apply rounded-lg;
} }
.post-card-content { .post-card-content {
@apply flex-post-large-content; // @apply flex-post-large-content;
flex: 0 1 auto;
@apply self-center @apply self-center
} }
.post-card-title { .post-card-title {
@apply text-4xl; @apply text-4xl;
} }
.post-card-excerpt { .post-card-excerpt {
@apply text-xl; @apply text-xl;
} }
} }
} }
body[data-theme="dark"] { body[data-theme="dark"] {
background-color: #191b1f; background-color: #191b1f;
@apply text-gray-300; @apply text-gray-300;
.post-content-text { .post-content-text {
@apply text-gray-300; @apply text-gray-300;
} }
.post-card-excerpt { .post-card-excerpt {
@apply text-gray-500; @apply text-gray-500;
} }
.pagination li { .pagination li {
@apply bg-gray-700; @apply bg-gray-700;
@apply text-gray-200; @apply text-gray-200;
@apply border-gray-600; @apply border-gray-600;
&:hover { &:hover {
@apply bg-gray-600; @apply bg-gray-600;
@apply text-gray-900; @apply text-gray-900;
} }
} }
.pagination li.border-l-black { .pagination li.border-l-black {
@apply border-l-gray-300; @apply border-l-gray-300;
} }
pre { pre {
@apply text-gray-500; @apply text-gray-500;
} }
.flex-post { .flex-post {
@apply border-b-gray-800; @apply border-b-gray-800;
} }
.author-list-item img { .author-list-item img {
border-color: #191b1f; border-color: #191b1f;
} }
.author-social { .author-social {
a { a {
&:hover { &:hover {
@@ -190,5 +168,4 @@ body[data-theme="dark"] {
} }
} }
} }
} }

View File

@@ -70,9 +70,6 @@ export default {
default: true, default: true,
}, },
}, },
mounted() {
// console.log(this.record)
},
}; };
</script> </script>

View File

@@ -5,15 +5,6 @@
<PostListItem v-for="edge in $page.entries.edges" :key="edge.node.id" :record="edge.node" /> <PostListItem v-for="edge in $page.entries.edges" :key="edge.node.id" :record="edge.node" />
</div> </div>
</div> </div>
<div class="pagination flex justify-center mb-8">
<Pagination
:baseUrl="baseurl"
:currentPage="$page.entries.pageInfo.currentPage"
:totalPages="$page.entries.pageInfo.totalPages"
:maxVisibleButtons="5"
v-if="$page.entries.pageInfo.totalPages > 1"
/>
</div>
</Layout> </Layout>
</template> </template>