fixes to projects
This commit is contained in:
@@ -14,10 +14,10 @@ logo: ./logo.png
|
||||
author: kristine_vilnite
|
||||
members: vasily_gnuchev
|
||||
websites: https://artheon.co/
|
||||
tags: tfgrid
|
||||
tags: tfgrid, grid
|
||||
private: 0
|
||||
potential:
|
||||
|
||||
linkedin: ''
|
||||
---
|
||||
|
||||
# Artheon
|
||||
|
||||
@@ -30,14 +30,17 @@
|
||||
<time :datetime="record.datetime">{{ record.humanTime }}</time>
|
||||
</g-link>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<div class="ml-3 pl-3 border-l flex flex-col text-xs leading-none uppercase">
|
||||
<p>
|
||||
<g-link :to="record.path">
|
||||
<time :datetime="record.datetime">{{ record.startDate }}</time>
|
||||
</g-link>
|
||||
{{ record.status }}
|
||||
{{record.status}}
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -22,7 +22,11 @@ query($page:Int) {
|
||||
title
|
||||
members
|
||||
rank
|
||||
|
||||
linkedin
|
||||
startDate : startdate(format:"MM YYYY")
|
||||
humanTime : created(format:"DD MMMM YYYY")
|
||||
datetime : created(format:"ddd MMM DD YYYY hh:mm:ss zZ")
|
||||
status
|
||||
excerpt
|
||||
image(width:800)
|
||||
path
|
||||
|
||||
@@ -12,26 +12,8 @@
|
||||
<h1 class="pb-0 mb-0 mt-0 text-4xl font-medium">{{ $page.project.title }}</h1>
|
||||
<p class="text-gray-700 text-xl" v-if="$page.project.bio">{{ $page.project.bio }}</p>
|
||||
<div class="author-social">
|
||||
{{ $page.project.belongsTo.totalCount }} Projects
|
||||
·
|
||||
<!-- <a
|
||||
:href="$page.project.facebook"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="text-gray-400 hover:text-black"
|
||||
>
|
||||
<font-awesome :icon="['fab', 'facebook']" />
|
||||
</a>
|
||||
|
||||
<a
|
||||
:href="$page.project.twitter"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="text-gray-400 hover:text-black"
|
||||
>
|
||||
<font-awesome :icon="['fab', 'twitter']" />
|
||||
</a>
|
||||
-->
|
||||
|
||||
<a
|
||||
:href="$page.project.linkedin"
|
||||
target="_blank"
|
||||
@@ -54,13 +36,20 @@
|
||||
<div class="pt-8 border-b mx-4 sm:-mx-4"></div>
|
||||
|
||||
<div class="flex flex-wrap pt-8 pb-8 mx-4 sm:-mx-4">
|
||||
<PostListItem
|
||||
<ProjectListItem
|
||||
v-for="edge in $page.project.belongsTo.edges"
|
||||
:key="edge.node.id"
|
||||
:record="edge.node"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<section class="post-tags container mx-auto relative py-10">
|
||||
<g-link
|
||||
v-for="tag in $page.project.tags"
|
||||
:key="tag.id"
|
||||
:to="tag.path"
|
||||
class="text-xs bg-transparent hover:text-blue-700 py-2 px-4 mr-2 border hover:border-blue-500 border-gray-600 text-gray-700 rounded-full"
|
||||
>{{ tag.title }}</g-link>
|
||||
</section>
|
||||
<div class="pagination flex justify-center mb-8">
|
||||
<Pagination
|
||||
:baseUrl="$page.project.path"
|
||||
@@ -81,6 +70,9 @@
|
||||
title
|
||||
status
|
||||
countries
|
||||
startDate : startdate(format:"MM YYYY")
|
||||
humanTime : created(format:"DD MMMM YYYY")
|
||||
datetime : created(format:"ddd MMM DD YYYY hh:mm:ss zZ")
|
||||
image(width:150, height:150)
|
||||
image_caption
|
||||
logo
|
||||
@@ -88,13 +80,12 @@
|
||||
timeToRead
|
||||
path
|
||||
timeToRead
|
||||
linkedin
|
||||
tags {
|
||||
id
|
||||
title
|
||||
path
|
||||
}
|
||||
|
||||
|
||||
members
|
||||
websites
|
||||
private
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
A collection of
|
||||
<span
|
||||
class="self-center"
|
||||
>{{ $page.tag.belongsTo.totalCount }} {{ postLabel }}</span>
|
||||
>{{ $page.tag.belongsTo.totalCount }} items</span>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -92,12 +92,7 @@ export default {
|
||||
Pagination,
|
||||
PostListItem
|
||||
},
|
||||
computed: {
|
||||
postLabel: function() {
|
||||
var pluralize = require("pluralize");
|
||||
return pluralize("post", this.$page.tag.belongsTo.totalCount);
|
||||
}
|
||||
},
|
||||
|
||||
metaInfo() {
|
||||
return {
|
||||
title: this.$page.tag.title
|
||||
|
||||
Reference in New Issue
Block a user