You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a component named Events in the components folder that implements the screenshots below.
It should render a section tag with an id of events.
It should make use of the existing DisplayRC component - feel free to adjust the DisplayRC component to match the requirements in this ticket.
Use the events.json data shown below.
Obtain the images from the Figma design. Use THIS VIDEO as a guide
The images should use the Next Image component.
Include the component in index.page.tsx
Create a new test file in the e2e folder named events.spec.ts and add a test that verifies that clicking the "See More" link in the component navigates to the correct URL HERE.
events.json
{
"events": [
{
"id": 1,
"title": "Physical Meetups",
"description": "Physical meetups where we share, learn and network.",
"image_url": "https://photos.google.com/share/AF1QipMYzi5M1zTfsp9BYW6Rb1uF7_5gC3PrbTwS-xJuwVMYd9LUFXFUJbDW4-tap8SFEw/photo/AF1QipNcrZfA-7tCsE0x6kU9isgBsDgwq633uuDUGZXW?key=bkVyajFIM3BsdWtpdUY2UEVVTXhDOXZVckZtZlFR",
"target": "https://kommunity.com/reactjs-developer-community-kenya-reactdevske/events"
},
{
"id": 2,
"title": "Weekly Online Standups",
"description": "Weekly open calls in the community’s Telegram group discussing industry-related topics.",
"image_url": "https://images.unsplash.com/photo-1619490287893-862fd1808407?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1974&q=80",
"target": "https://bit.ly/joinreactdevske"
},
{
"id": 3,
"title": "Community Power Sessions",
"description": "Community members meet and share technical concepts with other members of the community.",
"image_url": "https://drive.google.com/file/d/1k23Ey4zXg45XoAxrcQ1k24YBkJXBI-vQ/view?usp=sharing",
"target": "https://www.youtube.com/channel/UC9_eVcPBk4T-DcZLHpQfy4w/videos"
},
{
"id": 4,
"title": "Joint Meetups",
"description": "Meetups hosted in collaboration with other tech communities.",
"image_url": "https://photos.google.com/u/3/search/_tra_/photo/AF1QipOh6FM771-Q4oga0ge8kVoKsK2fEok3pE1eBjfk",
"target": "https://kommunity.com/reactjs-developer-community-kenya-reactdevske/events"
},
{
"id": 5,
"title": "Monthly Online Standups",
"description": "Monthly open calls on Google Meet bringing together people from different communities.",
"image_url": "https://photos.google.com/share/AF1QipMYzi5M1zTfsp9BYW6Rb1uF7_5gC3PrbTwS-xJuwVMYd9LUFXFUJbDW4-tap8SFEw/photo/AF1QipNcrZfA-7tCsE0x6kU9isgBsDgwq633uuDUGZXW?key=bkVyajFIM3BsdWtpdUY2UEVVTXhDOXZVckZtZlFR",
"target": "https://kommunity.com/reactjs-developer-community-kenya-reactdevske/events"
},
{
"id": 6,
"title": "Community Challenges",
"description": "We organize open source challenges to keep the community engaged.",
"image_url": "https://photos.google.com/share/AF1QipMYzi5M1zTfsp9BYW6Rb1uF7_5gC3PrbTwS-xJuwVMYd9LUFXFUJbDW4-tap8SFEw/photo/AF1QipNcrZfA-7tCsE0x6kU9isgBsDgwq633uuDUGZXW?key=bkVyajFIM3BsdWtpdUY2UEVVTXhDOXZVckZtZlFR",
"target": "https://github.com/reactdeveloperske/community-coding-challenges"
}
]
}
@orama254 . A clarification needed, looking at the project requirements and the design, the Events component should be a section on the home page and not a page on its own as previously done? So I should get rid of the pages/events folder?
What feature are you adding?
Events Section
Describe your issue
Requirements
Events
in thecomponents
folder that implements the screenshots below.section
tag with anid
ofevents
.DisplayRC
component - feel free to adjust theDisplayRC
component to match the requirements in this ticket.events.json
data shown below.index.page.tsx
e2e
folder namedevents.spec.ts
and add a test that verifies that clicking the "See More" link in the component navigates to the correct URL HERE.events.json
SCREENSHOT
![event-section](https://user-images.githubusercontent.com/50571688/194322041-2cf29cae-8fa0-475c-a452-764b02b72ad2.png)
Figma Design
Acceptance Criteria
TODO:
in a new tab.events.spec.ts
test should pass on both Chrome, Firefox and Safari.The text was updated successfully, but these errors were encountered: