Skip to content

Next.js | TypeScript | Tailwind | Work challenge for an insurance company

Notifications You must be signed in to change notification settings

innoVeraz/forlustanmalan-demo

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, install dependencies and run the development server:

npm install
npm run dev

Open http://localhost:3000 with your browser to see the result.

Project description

This project is a demo webpage designed to help customers with information about various types of loss reports such as lost cards, IDs, and other documents. The primary goal is to provide a clear and user-friendly interface that retrieves and displays menus and content from specific API endpoints.

Execution

Fetching Data:

Implemented API calls using Next.js built-in API routing and fetch to retrieve menus and content from the given endpoints. Created separate functions to fetch data. Note: Due to time constraints, I prioritized content over functionality and some styling of the navigation and header.

Component Structure:

Broke down the page into smaller, reusable components, inspired by file structure from bulletproof React Utilized the Radix.ui component library.

Styling and UX:

Most of the styling is based upon the preconfigured themes package from the Radix.ui library, sprinkled with a small amount of Tailwind CSS. Focused on creating a user-friendly layout with clear navigation and readable content. Strived for accessibility by following best practices in link naming, JSX structuring, color usage, sizing, and content division into sections with clear headings.

Tech Stack

Notes

Due to time constraints, I prioritized certain aspects of the project. The primary focus was on the content and ensuring the core functionality was present, with less emphasis on the navigation and header styling. Future improvements would include more detailed styling and additional functionality.

About

Next.js | TypeScript | Tailwind | Work challenge for an insurance company

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published