Alina-Khmilevska / UPSA-React

This repository contains the source code for the UPSA Pharmaceutical Organization's website, developed using the React library.
1 stars 0 forks source link

Implementation of Essential Reusable Components #1

Closed Alina-Khmilevska closed 1 year ago

Alina-Khmilevska commented 1 year ago

Overview

In order to enhance the maintainability and consistency of our React-based codebase for the UPSA Pharmaceutical Organization website, we aim to develop a set of essential reusable components. These components should encapsulate common UI patterns and functionalities that are prevalent across different parts of our application, promoting a DRY (Don't Repeat Yourself) coding approach.

Objectives

Components to be Created

  1. Button: A customizable button component that can be reused for different actions across the site.
  2. Input Field: A generic input field component with integrated validation and error messaging.
  3. Card: A card component to display information in a structured format, which could be used for product listings, articles, etc.
  4. Modal: A modal component for displaying additional information or forms without navigating away from the current page.
  5. Navbar: A navigation bar component that can be customized and reused across different pages.
  6. Footer: A footer component with customizable links and information.

Acceptance Criteria

How to Contribute

  1. Choose a component from the list above that you would like to work on.
  2. Comment on this issue, stating which component you are working on to avoid duplication of work.
  3. Fork the repository and create a new branch for your component.
  4. Once the component is implemented and tested, submit a pull request for review.

We appreciate your contributions and are excited to see the positive impact this will have on our project’s development efficiency and consistency!

Alina-Khmilevska commented 1 year ago

I have started working on the Button component. After reviewing the entire layout, I noticed several variations of buttons throughout the design. My goal is to create a comprehensive and reusable Button component that can accommodate all these variations.

Alina-Khmilevska commented 1 year ago

Started working on the Input Field and MembershipForm

Alina-Khmilevska commented 1 year ago

Added Button, Input Field and Card. Other components were already available on the site