hekors / website

Website for HEKORS Community. A single platform for developers and hackers to participate in hackathons in groups with peers, getting up-to-date with potential/upcoming programmes.
https://hekors.vercel.app
Apache License 2.0
14 stars 6 forks source link

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

Open yashsehgal opened 1 year ago

yashsehgal commented 1 year ago

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,
    • [x] 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
  }
};
yashsehgal commented 1 year ago

I will be updating the JSON Data Schema here in the description soon for both the components. Team Members and Community Narratives ✅

yashsehgal commented 1 year ago
Screenshot 2022-12-20 at 7 36 19 AM