Create Card
Component
#6033
Labels
good first issue
Issues for newcomers
hacktoberfest
This Issue is meant for Hacktoberfest 2023
help wanted
website redesign
Issue/PR part of the Node.js Website Redesign
Create a
Card
component using the figma design (direct link).This component is a card that previews other content, usually a blog post.
Before You Start...
Details
❓ Not sure where to start breaking down the figma? Read this short guide
Card
within theCommon
directory that contains all the new code.Preview
component introduced within CreatePreview
Component #6011AvatarGroup
component introduced within CreateAvatarGroup
Component #5910Suggested Props
heading
string
Node.js March 17th Infrastructure Incident Post-mortem
per figma, passes through toPreview
subheading
string
Vulnerabilities
per figmatype
announcement
|release
|vulnerability
announcement
, passes through toPreview
- this enum is already in preview - reuse itsupportingText
string
Starting on March 15th and going through to March 17th (with much of the issue being mitigated on the 16th), users were receiving intermittent 404 responses when trying to download Node.js from nodejs.org, or even accessing parts of the website.
per figmaavatars
Avatar[]
alt
value from Avatar as the author's full name, such asHayden Bleasel
per figmadate
Date
20 Jan 2024
per figmaStorybook
Add a storybook story file
components/Common/Cards/index.stories.tsx
which exercises each of the compnent's states.There are 2 states to capture within styles and stories:
The text was updated successfully, but these errors were encountered: