Skip to content

Commit

Permalink
Merge pull request #137 from SimplementeCao/main
Browse files Browse the repository at this point in the history
Refactor: Migrate Icons to React Icons
  • Loading branch information
zleypner authored Dec 23, 2024
2 parents 47b49a2 + 554ba29 commit a46c27f
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 14 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react-dropzone": "^14.3.5",
"react-hook-form": "^7.53.1",
"react-i18next": "^15.1.3",
"react-icons": "^5.3.0",
"react-icons": "^5.4.0",
"react-leaflet": "^5.0.0-rc.1",
"react-router-dom": "^6.28.0",
"react-toastify": "^10.0.6",
Expand Down
3 changes: 0 additions & 3 deletions public/img/Icon.svg

This file was deleted.

Binary file removed public/img/icon1.jpg
Binary file not shown.
Binary file removed public/img/icon2.jpg
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/auth/ForgotPassword/ForgotPasswordCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,4 @@ const ForgotPasswordCard: React.FC = () => {
);
};

export default ForgotPasswordCard;
export default ForgotPasswordCard;
2 changes: 1 addition & 1 deletion src/components/auth/NewPassword/PasswordHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ export function PasswordHeader({ title, subtitle }: PasswordHeaderProps) {
</p>
</div>
);
}
}
8 changes: 4 additions & 4 deletions src/components/bids/ProcessTimeline/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import React from 'react';
import { FaHome, FaMoneyBill, FaBell } from 'react-icons/fa';
import { GiReceiveMoney } from 'react-icons/gi';
import { GrDocumentLocked } from 'react-icons/gr';

const Process: React.FC = () => {
return (
Expand All @@ -14,14 +16,12 @@ const Process: React.FC = () => {
text: 'Step 2 description',
},
{
// Use icon1.jpg for Step 3
image: '/img/icon1.jpg',
icon: GrDocumentLocked,
color: 'bg-gray-400',
text: 'Step 3 description',
},
{
// Use icon2.jpg for Step 4
image: '/img/icon2.jpg',
icon: GiReceiveMoney,
color: 'bg-gray-400',
text: 'Step 4 description',
},
Expand Down

0 comments on commit a46c27f

Please sign in to comment.