import DocsLayout from "@components/layouts/DocsLayout.js"; import Link from "@components/Link"; import ClipboardCopy from "@components/ClipboardCopy.js"; import data from "@config/community-resources.json";
- Put the json as shown in the example in the
config/community-resources.json
file.
These are from pairing sessions or creating content for example github repos, blogs, videos, livestreams etc (not Twitter).
PAIRING on Discord
```json { "username": "stevenovak123", "name": "Steve Dsouza", "contribution": "Pair programmed on Discord", "date": "2022/10/22", "resource": { "name": "#2060", "url": "#2060" } } ```YouTube (or blog)
```json { "username": "eddiejaoude", "name": "Eddie Jaoude", "contribution": "YouTube", "date": "2022/10/22", "resource": { "name": "Contributing Open Source", "url": "https://www.youtube.com/watch?v=8B_JWf7pG20" } } ```
{data.map((item, index) => {
return (
);
})}
CONTRIBUTOR | CONTRIBUTION | DATE (YYYY/MM/DD) | RESOURCE LINK (PR, Blog, Video) |
---|---|---|---|
{item.name} | {item.contribution} | {item.date} | {item.resource.name ? item.resource.name : item.resource.url} |
export default ({ children }) => { data.sort((a, b) => new Date(b.date) - new Date(a.date)); return ( {children} ); };