-
-
Notifications
You must be signed in to change notification settings - Fork 639
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into styleguide-grammar
- Loading branch information
Showing
14 changed files
with
412 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
import IconGettingStarted from '../icons/GettingStarted' | ||
import IconTutorials from '../icons/Tutorials' | ||
import IconUseCases from '../icons/UseCases' | ||
import IconGuide from '../icons/Guide' | ||
import IconSpec from '../icons/Spec' | ||
import IconUsers from '../icons/Users' | ||
|
||
export const buckets = [ | ||
{ | ||
name: 'concepts', | ||
title: 'Concepts', | ||
description: 'Our Concepts section defines the concepts of AsyncAPI features and capabilities.', | ||
link: '/docs/concepts', | ||
className: 'bg-secondary-200', | ||
borderClassName: 'border-secondary-200', | ||
Icon: IconGettingStarted, | ||
}, | ||
{ | ||
name: 'tutorials', | ||
title: 'Tutorials', | ||
description: 'Our Tutorials section teaches beginner processes with AsyncAPI, guiding you from Point A to Point B.', | ||
link: '/docs/tutorials', | ||
className: 'bg-pink-100', | ||
borderClassName: 'border-pink-100', | ||
Icon: IconTutorials, | ||
}, | ||
{ | ||
name: 'guides', | ||
title: 'Guides', | ||
description: "Our Guides section teaches AsyncAPI's capabilities at a high level.", | ||
link: '/docs/guides', | ||
className: 'bg-primary-200', | ||
borderClassName: 'border-primary-200', | ||
Icon: IconGuide, | ||
}, | ||
{ | ||
name: 'tools', | ||
title: 'Tools', | ||
description: 'Our Tools section documents the AsyncAPI tools ecosystem.', | ||
link: '/docs/tools', | ||
className: 'bg-green-200', | ||
borderClassName: 'border-green-200', | ||
Icon: IconUseCases, | ||
}, | ||
{ | ||
name: 'reference', | ||
title: 'Reference', | ||
description: 'Our Reference section documents the AsyncAPI specification.', | ||
link: '/docs/reference', | ||
className: 'bg-yellow-200', | ||
borderClassName: 'border-yellow-200', | ||
Icon: IconSpec, | ||
}, | ||
{ | ||
name: 'community', | ||
title: 'Community', | ||
description: 'Our Community section documents the community guidelines and resources.', | ||
link: '/docs/community', | ||
className: 'bg-orange-200', | ||
borderClassName: 'border-orange-200', | ||
Icon: IconUsers, | ||
}, | ||
].map(bucket => { | ||
// we need such a mapping for some parts of website, e.g navigation blocks use the `icon` property, not `Icon` etc. | ||
return { | ||
...bucket, | ||
href: bucket.link, | ||
icon: bucket.Icon, | ||
}; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
export default function IconUsers({ ...rest }) { | ||
return ( | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
width="24" | ||
height="24" | ||
viewBox="0 0 24 24" | ||
fill="none" | ||
stroke="currentColor" | ||
strokeWidth="1.3" | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
{...rest} | ||
> | ||
<path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path> | ||
<circle cx="9" cy="7" r="4"></circle> | ||
<path d="M23 21v-2a4 4 0 0 0-3-3.87"></path> | ||
<path d="M16 3.13a4 4 0 0 1 0 7.75"></path> | ||
</svg> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import FlyoutMenu from './FlyoutMenu' | ||
import learningItems from './learningItems' | ||
import { buckets } from '../data/buckets' | ||
|
||
export default function LearningPanel () { | ||
return ( | ||
<FlyoutMenu items={learningItems} /> | ||
<FlyoutMenu items={buckets} /> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,4 @@ export default function Tabs({ tabs = [], className = '' }) { | |
</div> | ||
</div> | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
[ | ||
{ | ||
"image_url": "https://i.ytimg.com/vi/52qqKE8jFlI/hqdefault.jpg", | ||
"title": "Spec 3.0 (June 7th 2023)", | ||
"description": "https://github.com/asyncapi/community/issues/734.", | ||
"videoId": "52qqKE8jFlI" | ||
"image_url": "https://i.ytimg.com/vi/mAISwYCZa2I/hqdefault.jpg", | ||
"title": "Studio planning", | ||
"description": "https://github.com/asyncapi/community/issues/745.", | ||
"videoId": "mAISwYCZa2I" | ||
}, | ||
{ | ||
"image_url": "https://i.ytimg.com/vi/cIK6V28Rv3g/hqdefault.jpg", | ||
"title": "Studio Vision & Plans (June 5th 2023)", | ||
"description": "https://github.com/asyncapi/community/issues/728.", | ||
"videoId": "cIK6V28Rv3g" | ||
"image_url": "https://i.ytimg.com/vi/V3Op2A08UQs/hqdefault.jpg", | ||
"title": "Headless Commerce: Streamlining Architecture", | ||
"description": "https://github.com/asyncapi/community/issues/716.", | ||
"videoId": "V3Op2A08UQs" | ||
}, | ||
{ | ||
"image_url": "https://i.ytimg.com/vi/0X7wnn41Vho/hqdefault.jpg", | ||
"title": "Community Meeting (May 30th 2023)", | ||
"description": "https://github.com/asyncapi/community/issues/715.", | ||
"videoId": "0X7wnn41Vho" | ||
"image_url": "https://i.ytimg.com/vi/LfKYDiqZDNA/hqdefault.jpg", | ||
"title": "Let's talk about contributing: Mentorship Program FAQ", | ||
"description": "https://github.com/asyncapi/community/issues/739.", | ||
"videoId": "LfKYDiqZDNA" | ||
}, | ||
{ | ||
"image_url": "https://i.ytimg.com/vi/e0pQClU6QqU/hqdefault.jpg", | ||
"title": "Spec 3.0 (May 24th 2023)", | ||
"description": "https://github.com/asyncapi/community/issues/714.", | ||
"videoId": "e0pQClU6QqU" | ||
"image_url": "https://i.ytimg.com/vi/_zdXm90KvF0/hqdefault.jpg", | ||
"title": "Community Meeting, Tuesday June 13th 2023", | ||
"description": "https://github.com/asyncapi/community/issues/738.", | ||
"videoId": "_zdXm90KvF0" | ||
}, | ||
{ | ||
"image_url": "https://i.ytimg.com/vi/l9Tp5eMTol4/hqdefault.jpg", | ||
"title": "Community Health in Open-source", | ||
"description": "Community health in open-source refers to the overall well-being of the individuals that contribute to a particular open-source ...", | ||
"videoId": "l9Tp5eMTol4" | ||
"image_url": "https://i.ytimg.com/vi/52qqKE8jFlI/hqdefault.jpg", | ||
"title": "Spec 3.0 (June 7th 2023)", | ||
"description": "https://github.com/asyncapi/community/issues/734.", | ||
"videoId": "52qqKE8jFlI" | ||
} | ||
] |
Oops, something went wrong.