BendJS / website

BendJS website - Built with NextJS and open for the community to hack on!
13 stars 7 forks source link

[Proposal] Profile Interface #3

Open ctsstc opened 5 years ago

ctsstc commented 5 years ago

[WIP] Let me sleep on this, wake up, and realize the bad choices I've made.

We should aim to have a standard between profiles for anyone who would like to implement one.

Questions

interface Profile {
    name: string;
    alias?: string;
    avatar: string;
    socialProfiles: SocialProfile[];
}

interface SocialProfile {
    network: SocialNetwork;
    handle: string;
}

enum SocialNetwork {
    Github,
    Twitter,
    Email,
    ...
}

Additional Stories

There are additional stories that should be created if we decide to move forward with this. Please reference this issue if you create them.

paularmstrong commented 5 years ago

Alternative from slack discussion: we could pull profiles from the Meetup API and rotate them based on recent attendees.