Closed sliptonic closed 10 months 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.
This was fun.
I've got something working in the pat/team-page branch.
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.
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. ;)
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/.
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).
I added the content on the team members from the google doc:
@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.
Once I have the images, and if y'all are ok with the layout I can issue a PR for this.
@patdavid sent you some photos in the chat
PR https://github.com/Ondsel-Development/website/pull/35 has the content @prokoudine sent me.
Closing this with the PR being merged last night (6628609).
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.