Update content from team to people

This commit is contained in:
samaradel
2021-04-12 14:55:38 +02:00
parent e666655084
commit 8480012e6d
7 changed files with 22 additions and 22 deletions

View File

@@ -73,8 +73,8 @@ items:
link: /news
- name: Forum
link: https://forum.threefold.io/
- name: Team
link: /team
- name: People
link: /people
- name: Contact Us
link: 'mailto:info@threefold.io'
---

View File

@@ -123,8 +123,8 @@ navLinks:
path: https://forum.threefold.io
external: true
- title: Team
path: /team
- title: People
path: /people
- title: Contact Us
path: "mailto:info@threefold.io"

View File

@@ -6,9 +6,9 @@
module.exports = {
siteName: 'ThreeFold',
pathPrefix: "threefold",
plugins: [
pathPrefix: "threefold",
plugins: [
// Local models
{
@@ -460,7 +460,7 @@ module.exports = {
}],
Membership: [{
path: '/team/memberships/:id',
path: '/people/memberships/:id',
component: '~/templates/Membership.vue'
}],
@@ -475,11 +475,11 @@ module.exports = {
}],
Person: [{
path: '/team/:id',
path: '/people/:id',
component: '~/templates/Person.vue'
}],
PersonTag: [{
path: '/team/tags/:id',
path: '/people/tags/:id',
component: '~/templates/Tag.vue'
}],
@@ -495,9 +495,9 @@ module.exports = {
externalLinksTarget: '_blank',
externalLinksRel: ['nofollow', 'noopener', 'noreferrer'],
anchorClassName: 'icon icon-link',
pathPrefix: "threefold",
plugins: [
pathPrefix: "threefold",
plugins: [
['gridsome-plugin-remark-prismjs-all', {
highlightClassName: "gridsome-highlight",
codeTitleClassName: "gridsome-code-title",

View File

@@ -184,8 +184,8 @@ module.exports = function(api) {
api.createPages(({ createPage }) => {
createPage({
path: '/team',
component: './src/templates/Team.vue',
path: '/people',
component: './src/templates/People.vue',
context: {
private: private
}

View File

@@ -88,7 +88,7 @@ export default {
computed: {
memberships() {
var res = [{ title: "All", path: "/team" }];
var res = [{ title: "All", path: "/people" }];
this.$page.allMembership.edges.forEach((edge) =>
res.push({ title: edge.node.title, path: edge.node.path })
);

View File

@@ -68,7 +68,7 @@ export default {
},
computed: {
memberships() {
var res = [{ title: "All", path: "/team" }];
var res = [{ title: "All", path: "/people" }];
this.$page.memberships.edges.forEach((edge) =>
res.push({ title: edge.node.title, path: edge.node.path })
);

View File

@@ -50,11 +50,11 @@
</div>
</div>
<g-link
v-for="edge in $page.memberships.edges"
:key="edge.node.id"
:to="edge.node.path"
v-for="membership in $page.person.memberships"
:key="membership.id"
:to="membership.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"
>{{ edge.node.title }}</g-link
>{{ membership.title }}</g-link
>
</section>
</div>
@@ -148,7 +148,7 @@
}
}
memberships: allMembership(filter: {title: {in: ["foundation", "tech", "farmers", "ambassadors"]}}){
memberships: allMembership{
edges{
node{
id