Skip to content

Commit

Permalink
implement stage 1 design of otp form (#58) (#94) (#106)
Browse files Browse the repository at this point in the history
rebase from dev and fix eslint errors

implement nextSibling functiion

implement previousSibling while you delete

rebase from develop

resolve deployment errors

implement 2fa functionality

working on verify otp codes and redirect

rebasing from develop

resolve vendor token must be string

implement 2fa verfication

users can now signup with facebook (#74)

side bar implementation (#75)

implement stage 1 design of otp form (#58) (#61)

rebase from dev and fix eslint errors

implement nextSibling functiion

implement previousSibling while you delete

rebase from develop

resolve deployment errors

implement 2fa functionality

working on verify otp codes and redirect

rebasing from develop

resolve vendor token must be string

implement 2fa verfication

Co-authored-by: Rurangwa Leo <[email protected]>

implementation of dashboard nav bar (#79)

added Admin Dashboard Home (#85)

fix bannerSection (#87)

feat(dashboard-metrics): implement visitor insights chart and top categories (#84)

- implement visitor insights chart
- implement top categories section

[Delivers #73]

Fix image and routing (#92)

fix lint error

finall fix lint

finall fix lint

show message when product deleted

fix the commit

fix console lint error

Fix image and routing (#92)

finall fix lint

show message when product deleted

fix the commit

fix console lint error

fix the store

fix the husky

add created at column

Co-authored-by: Rurangwa Leo <[email protected]>

vendor should add product (#67)

Co-authored-by: Pray Eddy SHIMWA <[email protected]>

feat(product-details-page): implement product details page (#108)

- implement product details ui components
-write appropriate tests

[Delivers #101]

Co-authored-by: AMBROISE Muhayimana <[email protected]>

implemented add to cart and cart (#112)

added Seller Dashboard (#110)

feat(wishlist): implement buyer wishlist (#100)

- implement wishlist UI components

[Delivers #96]

implement stage 1 design of otp form (#58) (#61) (#88)

working on orders page

rebase from dev and fix eslint errors

implement nextSibling functiion

implement previousSibling while you delete

rebase from develop

resolve deployment errors

implement 2fa functionality

working on verify otp codes and redirect

rebasing from develop

resolve vendor token must be string

implement 2fa verfication

Co-authored-by: Rurangwa Leo <[email protected]>

fix the image on popular section on langing page

fix the image on popular section on langing page

add exclude for caverage

feat(wishlist): implement buyer wishlist (#100)

- implement wishlist UI components

[Delivers #96]

implement stage 1 design of otp form (#58) (#61) (#88)

working on orders page

rebase from dev and fix eslint errors

implement nextSibling functiion

implement previousSibling while you delete

rebase from develop

resolve deployment errors

implement 2fa functionality

working on verify otp codes and redirect

rebasing from develop

resolve vendor token must be string

implement 2fa verfication

Co-authored-by: Rurangwa Leo <[email protected]>

fix the image on popular section on langing page

fix the image on popular section on langing page

add exclude for caverage

fix the add new product button

fix the add new product button
  • Loading branch information
niyibi250 authored Jul 22, 2024
1 parent 9056e3d commit f971084
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/Popular/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ interface MostPopularItemProps {
function SingleItem({ product }: MostPopularItemProps) {
return (
<div className=" flex flex-row hover:scale-105 hover:translate-y-0.5 hover:translate-x-0.5">
<div className=" max-h-20 max-w-20 ">
<img src={product.image} alt={product.name} className=" rounded" />
<div className=" flex flex-row items-center justify-center h-20 w-20 ">
<img
src={product.image}
alt={product.name}
className=" max-h-20 max-w-20 rounded"
/>
</div>
<div className=" flex flex-col justify-between py-2 pl-1">
<div>
Expand Down
1 change: 1 addition & 0 deletions src/components/dashBoard/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ function Table() {
<div className=" font-bold text-lg mr-[15px]">Product List</div>
<button
type="button"
onClick={() => navigate(`/dashboard/addProduct/`)}
className="border-[2px] border-primary text-primary px-[5px] py-[5px] rounded-md flex justify-center items-center gap-2 text-sm
hover:shadow-lg hover:scale-105 transition-all duration-300 ease-in-out hover:bg-primary hover:text-white"
>
Expand Down
11 changes: 11 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ export default defineConfig({
globals: true,
environment: 'jsdom',
setupFiles: ['./src/__test__/setupTests.ts'],
coverage: {
exclude: [
'tailwind.config.js',
'.prettierrc.cjs',
'postcss.config.js',
'src/App.tsx',
'src/main.tsx',
'src/components/dashBoard/Admin.tsx',
'src/components/dashBoard/Table.tsx',
],
},
},
resolve: {
alias: {
Expand Down

0 comments on commit f971084

Please sign in to comment.