Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/hng 26 latest article card component #235

Conversation

Adufe-Obanijesu
Copy link
Collaborator

@Adufe-Obanijesu Adufe-Obanijesu commented Jul 20, 2024

What I was asked to do

Implement a reusable latest acticle card component that accepts props of the card content as seen in the design. Implement both the web and mobile view of the component.

349564423-091def26-31bd-4d38-a2f4-827104bb5174

Link to issue
Figma design - components page

What I did

Implemented the reusable latest article card component as seen in the figma design which receives the following props:

title: string;
description: string;
profileImage: string;
name: string;
time: string;
creationDate: string;
image: string;
link: string;
tag: string;
The component can be located at /app/components/article/LatestArticle.tsx

This is the link to the design
https://www.figma.com/design/VEItfX6St5NSAqqNHImcxD/HNG-Boilerplate-Designs?node-id=2202-25505&m=dev

Below are the images to the developed component and the lint image
developed design

lint

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good one

@SirhmVFX SirhmVFX merged commit 1ab8c90 into hngprojects:dev Jul 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants