From 8cf81b1231867078a9b34d21613baceb6582101c Mon Sep 17 00:00:00 2001 From: LeandroCarvajal Date: Sat, 14 Dec 2024 02:59:58 -0300 Subject: [PATCH 1/3] add reactIcon + remove images --- package-lock.json | 8 ++++---- package.json | 2 +- public/img/Icon.svg | 3 --- public/img/icon1.jpg | Bin 1845 -> 0 bytes public/img/icon2.jpg | Bin 1762 -> 0 bytes .../auth/ForgotPassword/ForgotPasswordCard.tsx | 9 ++------- .../auth/NewPassword/PasswordHeader.tsx | 9 ++------- src/components/bids/ProcessTimeline/index.tsx | 8 ++++---- 8 files changed, 13 insertions(+), 26 deletions(-) delete mode 100644 public/img/Icon.svg delete mode 100644 public/img/icon1.jpg delete mode 100644 public/img/icon2.jpg diff --git a/package-lock.json b/package-lock.json index 7e55640..55d89fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,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", @@ -17808,9 +17808,9 @@ } }, "node_modules/react-icons": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.3.0.tgz", - "integrity": "sha512-DnUk8aFbTyQPSkCfF8dbX6kQjXA9DktMeJqfjrg6cK9vwQVMxmcA3BfP4QoiztVmEHtwlTgLFsPuH2NskKT6eg==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/react-icons/-/react-icons-5.4.0.tgz", + "integrity": "sha512-7eltJxgVt7X64oHh6wSWNwwbKTCtMfK35hcjvJS0yxEAhPM8oUKdS3+kqaW1vicIltw+kR2unHaa12S9pPALoQ==", "license": "MIT", "peerDependencies": { "react": "*" diff --git a/package.json b/package.json index e7982b5..1b5ce47 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/public/img/Icon.svg b/public/img/Icon.svg deleted file mode 100644 index c7849f8..0000000 --- a/public/img/Icon.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/public/img/icon1.jpg b/public/img/icon1.jpg deleted file mode 100644 index b741079c7b1980f4540d07739df5fe16d92167ff..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1845 zcmb7C3pA8z7=Gu1`Nv>pSW&7`Q!7QKb;)Jh*f65d=wenanna8-OtrO%$z_+-MJ{bA zx{#rJ#z=`RwOuxs8CsV}%-IbkDWjxjzdvVB?b*|wv(IMH7%MhpnJJ< z+<`yj>kOWX(|3UlkCc1lWrpU8Mk@>=fe$R;fB-_l8ZjG~2lK&B(++MxBI3X;34yFl#zE26*3!l( zR4PWnFe=S}M%C5V#V|dFp1uK{&Y)9iOhYE!5OF$Qgn(y~$P|=F*Tr;^`ahwm0R{yP zHIGD?21Evd#2{#DVG_DIkwp0Ws_4|AkhMS?BO<3g9q_hjY785XAP`ApEo}zqm{XXB z^B24N1y7hZ-F}rg@uJemlpiD6msO}hiAMOJ{ZHU3MAK==api ztbKR2Exor%%^ge4&7>y|n(coKs!UKEvM;StRYwf9wECR3>1_;<^q)I&K)v8v?jxy1 z^z_z+@4~*eu9(TmxIpEna+8*p*7Cbt%0QN|Q;IE0Dc$H)8u{|6GJ6--u2yPl zLIW<-#3Mt@#yM`gy(mmaNT%sW$PX z$5&o9U3R=9k4l-l>0q|E+(h8ypU*AlMfn*Q7z8`iZ}odxqsq6^D>o2U?z${kIA|Xl z-RMzhORKD{Z^=tLYi7l=Pc9yjWFD{Sk=Gw4k9KvW$M+TcN6ro@yX2m1=~r5wRBXcz zE-OFsY=(4^x4sR*p)R&yj)1)5aNm%XW4mmNPtNC!d`r)$`NosQ$MPJQ%Fc<|H9A!b zv0)v@ZwqQ8$QFaEEv;^b(+Y}J>JzZwdCxa(C2M&;;R79oTc4;RIvn?LM6+dN?-|QZ zdkRz2L^7uF@8tEgOdtgrmRY~q_C|iR!%nuuPb|uf?I2V2;p*TyvAjDUg zdu3ms#yeRCnm2blk0v~#m~SMHIpyqol_7X*e}9(j^xm?`MR(kK(|sZ){laFp-_yTw z)U83{vV-!a2k+kX=*EE(vvyInmf@^sV{UEADplFkA5@G#C@MNd74Ds@up3?-ux450 z)jpH5OV*#gntf!<{``|vQuqo1-C>}olj%aZu5eR`_iud2%c#)nT&bceLQgp~9K04p z@z0N~*!^rpVqFGLM}By5puN#($`gUEIE{Di?wsojg0jv|tztV+6;9yk+m$!+olrle z`CZmXQB&1y+k3gyJxXbFYSwd3-pf@D)U+$M>Vo9L86MQS<;7D9d^!*3wnbPgI+`Pv zb@)#6`O!1;g~3HFjJMPaqjE?R{gQ1a{=4ruW9*r73xkBgwuZi=%8}Ipx8^qXPdYip z+cYC*z0F&ZYkQ20W>ma2jJ3x*JiVo=#J%pRYN<;Axh}W+l67PfG0SSW#~g;3%&ZgJ L-^3>7fu{8@m3(<# diff --git a/public/img/icon2.jpg b/public/img/icon2.jpg deleted file mode 100644 index e685f323f300c7635852ad29c1d1b4151c7b7a60..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1762 zcmb7Cdo+}39DZlMnK8p)#*9nR<}%9Vw3tm(TdL(GBaw00&~CX5xoeDDv{_0~AxmpZ zktvg0B2gnMDq;2vxnHMADok3*BozC7***Nzp0m$;-rxIt&+q!a=UeDmkN}dcHPafP zPynFd1r~--JxnXB{d-sr)=aw{i;hMB17iw6a0r*f+G(l1*Uep9PO_MR_&mMC!;teU zfa`wfLaGDMzV0hA|0NTA*x}xAzy!Q$9Jo0=EEVQdzeR3sTLFfJUk2jLuN zmKDr>U~b^IjC(EP-eDXh{xlr3B{(Po>4gB9n8*%sae_}gytP0$V1b>$61hM84I?xk zfQ>Q$p!6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| z_jBYLfX?wjf^&>9ADk+nGZ51 z%{~R@Iws~C_|CZX$`9r|?R45d?DR{AGF4Wt)7-9W93A%h9bG2y+RQGa;~ZiGW4L{v ouUrtXJlwATQ#YS4X2? { const [email, setEmail] = useState(''); @@ -38,13 +39,7 @@ const ForgotPasswordCard: React.FC = () => {
- Password Icon +

Forgot password? diff --git a/src/components/auth/NewPassword/PasswordHeader.tsx b/src/components/auth/NewPassword/PasswordHeader.tsx index f2107b0..891a91e 100644 --- a/src/components/auth/NewPassword/PasswordHeader.tsx +++ b/src/components/auth/NewPassword/PasswordHeader.tsx @@ -1,4 +1,5 @@ import Image from 'next/image'; +import { CgPassword } from 'react-icons/cg'; interface PasswordHeaderProps { title: string; @@ -9,13 +10,7 @@ export function PasswordHeader({ title, subtitle }: PasswordHeaderProps) { return (
- Password Icon +

{title} diff --git a/src/components/bids/ProcessTimeline/index.tsx b/src/components/bids/ProcessTimeline/index.tsx index 3b18179..a6cd473 100644 --- a/src/components/bids/ProcessTimeline/index.tsx +++ b/src/components/bids/ProcessTimeline/index.tsx @@ -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 ( @@ -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', }, From 7890df8a0f749fb5a333df70ac4b19558411b629 Mon Sep 17 00:00:00 2001 From: LeandroCarvajal Date: Sat, 14 Dec 2024 03:18:57 -0300 Subject: [PATCH 2/3] fix --- src/components/auth/ForgotPassword/ForgotPasswordCard.tsx | 2 +- src/components/auth/NewPassword/PasswordHeader.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/auth/ForgotPassword/ForgotPasswordCard.tsx b/src/components/auth/ForgotPassword/ForgotPasswordCard.tsx index 9546c65..94e890b 100644 --- a/src/components/auth/ForgotPassword/ForgotPasswordCard.tsx +++ b/src/components/auth/ForgotPassword/ForgotPasswordCard.tsx @@ -39,7 +39,7 @@ const ForgotPasswordCard: React.FC = () => {
- +

Forgot password? diff --git a/src/components/auth/NewPassword/PasswordHeader.tsx b/src/components/auth/NewPassword/PasswordHeader.tsx index 891a91e..ddeeee2 100644 --- a/src/components/auth/NewPassword/PasswordHeader.tsx +++ b/src/components/auth/NewPassword/PasswordHeader.tsx @@ -10,7 +10,7 @@ export function PasswordHeader({ title, subtitle }: PasswordHeaderProps) { return (
- +

{title} From 2b7cf08b1fdd0d7ad13619e76969a791d85fa50a Mon Sep 17 00:00:00 2001 From: LeandroCarvajal Date: Mon, 16 Dec 2024 17:17:02 -0300 Subject: [PATCH 3/3] =?UTF-8?q?refactor:=20replace=20image=20files=20with?= =?UTF-8?q?=20react=20icons=20=E2=99=BB=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/auth/NewPassword/PasswordHeader.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/auth/NewPassword/PasswordHeader.tsx b/src/components/auth/NewPassword/PasswordHeader.tsx index ddeeee2..15c59f2 100644 --- a/src/components/auth/NewPassword/PasswordHeader.tsx +++ b/src/components/auth/NewPassword/PasswordHeader.tsx @@ -1,4 +1,3 @@ -import Image from 'next/image'; import { CgPassword } from 'react-icons/cg'; interface PasswordHeaderProps {