Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

[Task]: Adding Teams and Community Narratives Section #8

@yashsehgal

Description

@yashsehgal

Right now the data for team-members and community narratives is coming from Strapi CMS which is having some issues regarding cloud deployments thus we've no data to test and implement our frontend as of now.

To don't affect the interaction with the website of the users, we're "temporarily" using JSON data for showing team-members and community-narratives data. Things to make sure while working on this feature,

  1. To make sure that the new "temporary" JSON data schema follows the schema of Strapi REST APIs. For both the components,
  • Teams
  • Community Narratives

Data Schema

1. Teams Members

type TeamMemberCardType = {
  picture?: string | any;
  fullName?:
    | any
    | {
        firstName?: string | any;
        lastName?: string | any;
      };
  isAvenger?: boolean;
  directWebsite?:
    | {
        label?: string | any;
        link?: string | any;
      }
    | any;
  socialProfile?:
    | {
        twitterUsername?: string | any;
        instagramUsername?: string | any;
        linkedInUsername?: string | any;
        githubUsername?: string | any;
      }
    | any;
  description?: string | any;
};

2. Community Narratives

type CommunityNarrativesType = {
  content?: any,
  author: {
    picture?: string,
    name?: string,
    website?: string,
    tagline?: string
  }
};
  • Refer to the above provided types to create new JSON schema for data.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions