Skip to content

Commit

Permalink
Merge pull request #7 from atlp-rwanda/ft-add-product-#187419125
Browse files Browse the repository at this point in the history
#187419125  A seller should be able to create/add products
  • Loading branch information
teerenzo authored Jun 26, 2024
2 parents da31e7d + ebae8f5 commit 1b6ad2e
Show file tree
Hide file tree
Showing 32 changed files with 2,435 additions and 569 deletions.
10 changes: 10 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,16 @@ module.exports = {
"react/react-in-jsx-scope": "off",
"react/jsx-props-no-spreading": "off",
"react/require-default-props": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off",
"react/button-has-type": "off",
"no-param-reassign": "off",
"react/prop-types": "off",
"import/no-extraneous-dependencies": "off",
"no-nested-ternary": "off",
"import/prefer-default-export": "off",
"no-return-assign": "off",
"jsx-a11y/label-has-associated-control": "off",
"react/function-component-definition": [
"warn",
{
Expand All @@ -35,6 +44,7 @@ module.exports = {
"no-undef": "off",
"@typescript-eslint/ban-ts-comment": "off",
"react/no-unescaped-entities": "off",
'@typescript-eslint/no-explicit-any': 0,
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ The front-end of Eagle E-commerce utilizes React for a modern, user-friendly int

[![Maintainability](https://api.codeclimate.com/v1/badges/81fa30232b27b1482f4f/maintainability)](https://codeclimate.com/github/atlp-rwanda/eagles-ec-fe/maintainability)
![Github Actions](https://github.com/atlp-rwanda/eagles-ec-fe/actions/workflows/deploy.yml/badge.svg)
[![codecov](https://codecov.io/gh/atlp-rwanda/eagles-ec-fe/graph/badge.svg?token=MZAXZNVDXC)](https://codecov.io/gh/atlp-rwanda/eagles-ec-fe)
[![Coverage Status](https://coveralls.io/repos/github/atlp-rwanda/eagles-ec-fe/badge.svg?branch=dev)](https://coveralls.io/github/atlp-rwanda/eagles-ec-fe?branch=dev)

## Tech Stack
Expand Down
1,430 changes: 895 additions & 535 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@
"jest-mock-extended": "^3.0.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-dropzone": "^14.2.3",
"react-hook-form": "^7.51.5",
"react-icons": "^5.2.1",
"react-jwt": "^1.2.1",
"react-redux": "^9.1.2",
"react-router-dom": "^6.23.1",
"react-toastify": "^10.0.5",
Expand All @@ -48,6 +50,7 @@
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/jest": "^29.5.12",
"@types/node": "^20.14.8",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@types/react-redux": "^7.1.33",
Expand Down
23 changes: 23 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,26 @@ body {
background-color: #f8f9fa;
color: #333;
}

.active {
color: #eb5757;
}

input[type="date"]::-webkit-calendar-picker-indicator {
filter: invert(29%) sepia(93%) saturate(5115%) hue-rotate(330deg)
brightness(97%) contrast(96%);
opacity: 1;
}

.category-options {
-ms-overflow-style: none;
scrollbar-width: none;
}

input[type="date"]::-webkit-datetime-edit-day-field:focus,
input[type="date"]::-webkit-datetime-edit-month-field:focus,
input[type="date"]::-webkit-datetime-edit-year-field:focus {
background-color: red;
color: white;
outline: none;
}
1 change: 1 addition & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import * as React from "react";
import "react-toastify/dist/ReactToastify.css";
import "./App.css";
import "react-toastify/dist/ReactToastify.css";

Expand Down
Loading

0 comments on commit 1b6ad2e

Please sign in to comment.