Link to the deployed version of the landing page:
https://h2bvqmupci.us-east-1.awsapprunner.com
AWS App runner was used to deploy the application as it is easy and quick to deploy for demo purposes.
To install dependencies:
npm install
To run the application:
npm start
Application is running on port 8080. View the application at http://localhost:8080/
#Project Description
You will be tested on your knowledge of HTML, JS and CSS, It's encouraged to keep the solution as lightweight and simple as possible. Expected time for this test should be around 2 hours. Your final code should be hosted on Github which displays a live version along with the original source code.
Recreate the highlighted module in the design folder
- Needs to be responsive
- The content comes from a collection retrieved via 2 api endpoints. For the purpose of this test you can mock these JSON responses locally
First api endpoint returns collection info like the following. For this test use the “landing” collectiontype
[ { collectiontype: “home” collectionid:< use any unique key you wish> }, { collectiontype: “landing” collectionid:< use any unique key you wish> } ……….. mock more entries if you wish ]
Second API call passes through the collection id from the first api call Example: localhost/api/collection/ and returns a collection of articles belonging to the corresponding collection id. Note you should have at least 4 dummy articles in the result.
[ { Title: “live: Greg Inglis to announce nrl retirement….” Imageurl: <local image url> Intro: “Rabbitohs star Greg……” Published: 2 }, ………. mock more entries ]
These should map to the title, image, introduction paragraph and the publish time between the clock and speech bubble icon
- Faded areas of the screenshot you can leave it as white space but the module is still expected to sit in its current position within the layout
- Font family just get as color and size as close as you can
- Image content doesn’t have to reflect the screenshot as long as their aspect ratio is close.
- Spacing doesn’t have to be pixel perfect as long as its close