Ondsel-Development / website

Docusaurus website
1 stars 0 forks source link

Problem: User Can't browse Ondsel team #17

Closed sliptonic closed 10 months ago

sliptonic commented 1 year ago

We would like to add a 'team' page to show who the Ondsel team members are. This needs to be easy to maintain with individual markdown files for each team member, ability to publish/depublish pages quickly.

patdavid commented 1 year ago

I'll start working on a "TeamMember" component that can be included on a page. Individual markdown files should be possible, but I'll need to figure out how react parses markdown frontmatter and makes the properties available to components.

patdavid commented 12 months ago

This was fun.

I've got something working in the pat/team-page branch.

image

If we've have consistent user contact channels, I can modify the component to handle them. I haven't tested providing a list item as a YAML key in frontmatter, but that's next (then it'll just render each item no matter what it is).

Try out this branch to see the results.

patdavid commented 12 months ago

I think this is pretty much done unless there's some feedback.

@prokoudine @sliptonic - if you want to add the relevant team member information, avatar, etc. I can test one last time, tweak, and issue a PR for this.

Ah, how to. :) Add a team member .mdx page under src/pages/team named with a leading underscore (ie: _pat-david.mdx). Just copy my test entry _pat-david.mdx and add pertinent information.

To have it parsed and show up, edit the src/pages/team/index.js and add an import

import Pat from "./_pat-david.mdx"

Then include it as a component in the Team function

<section className="col">
    <Pat/>
    ...
</section>

or just add the markdown file for each person and I'll do the rest. ;)

prokoudine commented 12 months ago

Oh, I did not expect there to be this much text at all. I wast thinking of no more than twice as much text as e.g. here: https://flowfuse.com/team/.

patdavid commented 12 months ago

Oh, I did not expect there to be this much text at all. I wast thinking of no more than twice as much text as e.g. here: https://flowfuse.com/team/.

@prokoudine ah, no worries. This is really just a placeholder for broader styling. Fill out what you think is appropriate and I can adjust things to suit. (Otherwise I'm just working in a vacuum).

patdavid commented 11 months ago

I added the content on the team members from the google doc: image

@prokoudine mentioned that there were team member images, but I didn't see where they were located. If you get me a link I can add them to the site where appropriate.

sliptonic did we want to include any further links? Github links for each person if it's available might be nice if they all have one.

Once I have the images, and if y'all are ok with the layout I can issue a PR for this.

prokoudine commented 11 months ago

@patdavid sent you some photos in the chat

patdavid commented 11 months ago

PR https://github.com/Ondsel-Development/website/pull/35 has the content @prokoudine sent me.

patdavid commented 10 months ago

Closing this with the PR being merged last night (6628609).