From 516a94a78e946b9abf95761db04c8881f7b2fc13 Mon Sep 17 00:00:00 2001 From: fatih toker Date: Tue, 7 Jun 2022 23:04:00 +0300 Subject: [PATCH] feat: add success modal images --- .../src/assets/img/crabada-item-claimed.png | Bin 0 -> 3738 bytes .../src/assets/img/reward-item-qmark.png | Bin 0 -> 4062 bytes .../src/assets/img/reward-item-to-claim01.png | Bin 0 -> 3541 bytes .../src/assets/img/reward-item-to-claim02.png | Bin 0 -> 3592 bytes .../src/assets/img/reward-item-to-claim03.png | Bin 0 -> 2519 bytes .../src/assets/img/sharapnel-item-claimed.png | Bin 0 -> 2932 bytes .../src/pages/Content/components/App/App.tsx | 4 ++- .../Screens/NftClaimed/NftClaimed.tsx | 30 +++++++++++++++--- .../src/pages/Content/constants/index.ts | 20 ++++++++++++ 9 files changed, 49 insertions(+), 5 deletions(-) create mode 100644 packages/browserExtension/src/assets/img/crabada-item-claimed.png create mode 100644 packages/browserExtension/src/assets/img/reward-item-qmark.png create mode 100644 packages/browserExtension/src/assets/img/reward-item-to-claim01.png create mode 100644 packages/browserExtension/src/assets/img/reward-item-to-claim02.png create mode 100644 packages/browserExtension/src/assets/img/reward-item-to-claim03.png create mode 100644 packages/browserExtension/src/assets/img/sharapnel-item-claimed.png diff --git a/packages/browserExtension/src/assets/img/crabada-item-claimed.png b/packages/browserExtension/src/assets/img/crabada-item-claimed.png new file mode 100644 index 0000000000000000000000000000000000000000..ab43fc0960bd177e229a65bd75ace5d12c2736dd GIT binary patch literal 3738 zcmV;L4rTF)P)Uv14-@2qaKqSkjPCHVK6-flilfH_eum>9py#O~|o3 znc2+-Lc?wdBwU5WpZ92dmuzkxT@NqQJM0f$3_4P}_sE!@Q5)s_A?N4;c@|b@v?D_vVUOG2gSFdKdb~ zqw))X^aFST9waDf@bo?i6D9BpC7{d{VkPkyj?+Wpmcu>df>bJnB)b4MxdPUqSz*-& zpSMQV%t=X!SfO}UVceF^ZqvVJYZGUM!0N7{u4^y_Oq*zSQc_7A-}b$f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tIj*U;cdA$%do-DOq_`Ou6I* zQYwo7axz4Wr#>n{p0_&8cDijdStNJi$8F0I~VGgaKGZ&+sk+?Bu2f1NCQ5Ztd^yuY8b5h*&K0dJxW> zITIcn96W=+G}6-2WZBu-ya$bQxm+2Mbms6Bz%WdB=FFKl@NEHUfL9(la%9pZUw{4e zNG~Y^-zE_EeC_bz!^|W}7USCpLbmdymtInnvclXWbU#6&n3(G7>dTm*B_G+p-%JrZ zRy4>17P=(+yDRo07*qoM6N<$ Ef>ES1^#A|> literal 0 HcmV?d00001 diff --git a/packages/browserExtension/src/assets/img/reward-item-qmark.png b/packages/browserExtension/src/assets/img/reward-item-qmark.png new file mode 100644 index 0000000000000000000000000000000000000000..0fbc7c0c5bc65cb3a8d98c7070fd4cbf24aa4c5e GIT binary patch literal 4062 zcmV<442{rSdb+jKwOzNhQ%WmZYw=3Gp(2Wa2mxYeK9Vn2_W63Yb7rPkptb%nze5hm zcX_|(_rA~N_dW^mHx2>rA|83eb&jk)-qf6uB9~sw&DC}yIfbKBC5VPMwq58H5$xI7nP)b?@OlsKAVl~P&|O!j zF#CM9W|s9Bo_@MFm)nvdgZ z_hlqY6zDevuz>#8Y8WtdO)%kuEl-4Z+gK<>43g^lErORKTd`<%M=M|%)--$3I#dVPo zCc7Wnh!lEf1p06ci>mSvoRcB=kdBXVVNq^eqgWOe&3^A+Ud>%Ff4=d&)f$_QJ$IDg zx$WDNeQj-9LXk*vgjOc?XAdHpEXIGn`!RGXDON3Ah-(7@+*6T@$2J4 z2NsoOBSEI@c>N?YgfeX1v<2A}3!zqcAWYb>^NmC3wfL}M?N6|zCNF)Mbz7B@1>tVLug2~d0EUgf_91RNfYCN;03Uc8% zJ~?28K7wV73-QOpHe5D3ux?oqT!}1ncMqekRF4%k zIw&;h_~)I?IC9>EUH`Zi5_J|VCO6W^v@>VUz(|=_&PkwB$srPj!5-+sK8*>s-k!m! z*gd5rbD^p#jSB{!EMR2%eaDurx0x^wtHB*5>s}-N@ zKY+5L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g`;_wL>2@jb}#xSIs|RKI`i z+Oj(>$c2{^mm-a!SO|5Ziy?Mec_%DZ;$;V}`eg*Ec QVgLXD07*qoM6N<$g21@5DgXcg literal 0 HcmV?d00001 diff --git a/packages/browserExtension/src/assets/img/reward-item-to-claim01.png b/packages/browserExtension/src/assets/img/reward-item-to-claim01.png new file mode 100644 index 0000000000000000000000000000000000000000..3b00dcc0512a4845d00b04c9fbbf533af942eaa3 GIT binary patch literal 3541 zcmV;`4Jz`9P)@J{4_{U9>=pV(SIkX6rOScNex3$B7-=QDj?|W$OQrrbwEkMx)ViIPCd8#_cwJ zXl+rOKI9sLrQytIzVn@X?zwjad>LQH|JMlM3yeMcEQC4PW54`-sbJ^=NGo~Ij zBbiL!f873_rCXc z^Vq{^D-atSmpf->Hjge%-+OW5)`WJ~QV{EkL(>)H?|lkGRpHt|G-}}f{dwPZTq~@q z)qoQ4p#aX78+LZKd-m_&A1o9K0M9piQ!rJ)jK<%t>7x2dA94}&i3%^ z>Vwg>N-Y%(Dv@uT90+Kthky9NPw@8JKjwN=c&dhEOoQk8n7TfL@$nHjo`;#4IUaN2 z`vk&q;PU&iu@NjStwGZ?RICb2Q^&y3;pS7>;kiFM`^JqWJ2O)wN3Wf-ngH${k*sN|O6fHE` z-<2IX`SLGCRNG&lnwn~$4e>;bICt)xcKC?-yXUXn+gEd$|1lGaqQK#9ClWCjx(>^> zxnKj1W#gxR^L_O9$DoA?gl?cWy&si)1s}YB73E@uEO3}Uy1chfmXI9G6opJucrOFx zS_OkoXPF)bbi>3~fBRd=7xRdkhPAY?cZ zPoC*bqOT{4NTd^e$zB|O>M4w-51~*g;ns~w3}p9_>S5Bn1L?jDMxQx`u7ruv>>xtn zPHa|-XowpL5CTC20s%C+O&agt-P4IA@9pzvmjE~Q2&&FDN|mbC+tYXGYrpZ*)K7kR zepjiY;4x$5^l7tHC>}AGw<7oB(I`w!f#4Jd#E%!37J!ATI=?`m-@S{YP)$$k)&ExF*?h z_v**kSkH486%Xn;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git a/packages/browserExtension/src/assets/img/reward-item-to-claim02.png b/packages/browserExtension/src/assets/img/reward-item-to-claim02.png new file mode 100644 index 0000000000000000000000000000000000000000..53412b6dffa1a1d745b97666b2cd7b119b83a31d GIT binary patch literal 3592 zcmV+j4)^hiP)VvD~Cdob1K{0`IM8(F?F>yD0WypBB3h z28!LqJ}kETun&FMZm?Kvi!BQG-lm0{xK5lzj$&E16uoe20>{q^!NRE&i`CS01xbeJ+MEVQRCw$`JG(Iz{k)|ojOJT^oW{+5Z)6F0RLG_`0u!7sO8Q-u9kMmYr*%X;lZ`A+Pe1*#&v0=2q-=VqGt}AL-P30uIdm9AuNQK88KUtF zxLht+4$nYxWeIee2GC7N#=;0Ihp|O{duDQS1(#toTidRK8a{cFWm2h5p@ln8E@>m( z1ASaHJP)yO7#M~Fm%v+`%S8o(J&=w?A(u{qY3e}J46uwd(-GS1WNCMCPcYyYJA&Zx zh)~vbDCRTZ^NYZ6UXUaekGt@C6W)F6EFdDtK|>o%|2 z{m@&Db!l?>vy!G!1VSPj0T<7M7zhIE5@0ywrxaY~JbD!YMdQz2u?qx`2LgeRD0tcs zDBFV00di3Ticx@NS#WSHtmX3X&_DnmwiG~sc-p&#NM^wBST6$ZQa!MhU^ z(6w(ri0yu`+Z~|m2GDjF?urJNg9n?P1;5w^0}pk9uT6kdYzaQNdKu*Pb!cgA1xv3$ zG8u>2*%^pL7r{+>7Mc^^6gQpGc$&BsDB+)d!|=3_x;0{MF@oU z!%u$jHoPMCF#np+!1=}-kXlKBEJ+wfc_J;)+t&{|RzNJnK!@K4{x%PSQy>*zfD3P* z!=E+i>mLN3cSAU`1nSIXAW>zSCJY@I16PZO{08UGoCcTM^D9Ut7}yBA+S+b`wd~Ip!b7!K=t>*Z)Ro@i~*&x0&D3s>XWNVTF2~WqbXn=EVN*V8K_y&=sYYh zUdNNl>eS?$XTEykSS;9**>||Vi*gw#^rycmrLFYD*T+^b|9PL{_`FM_|2wQ!75&DG zln1xL`pC)y(qH}0kK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1CjV3EK6UCPZRO> zrY2*EbGDy^Dl-`*N3X)$+e;C#(A?O_2wG6&Al06&iV<{_-0$`C0fb20&lXlCDI46B zpi9$G|9viuYWB)h;lQmB{fSS%=-Cb+&?6c3_$tm#88}8rl97m5H z-L-r7?(vb4kAG1{d0(Uj6B&&os1Fa+TWGUb*NTo|8kuY%iBL33L7RcVdRM3$-+$t9?Ay2RBdzDa zfdl!cpMKhj{Lp;YUEOR6shNkC3WpC8Xx3hGu}t^UcjSk*ji!OO|a zN5{r3CH}NX+N7vCTTwde-)jn(Rz0|`m`GP?S7i&my}k2(|K7cOYeM&7uyyO!jq{yf z5aRD4Etm7kqlR4h9fxjPpki|n=gvxyYR-r|0|_Hvw4H|{z)zc+EwWcD{K>;MtW=!y z{e0-}@BgriKr|Yi*YGSLaR)O>Ie+nCTQm0Cnwf*fQG*7?W@8puaWE-j z5=U1j@~TH-_WOTW7(d%zm^}ZRxw*O0xpU{naf=uo9UaG~1Va4w9Y0HKdCG46`VZ{8 zHt(}nZhYKczV5Nt=K1Wt!NEcMX5e+3B6rj4)B)!+o90~vJ|Q&Tv->fsT*NXBgRwU} zwsmH1;FTNAM%~VxI|mOPI@E>#1Iv~zbL?w3KBL%l@ZdrFqk_&Y$KUP3XB@je3i@6 { const hostname = window.location.hostname; const reward = REWARD_DATA.find((i) => i.host === hostname); if (reward) { - setRewardToDisplay(reward); + setTimeout(() => { + setRewardToDisplay(reward); + }, 2000); } }; diff --git a/packages/browserExtension/src/pages/Content/components/Screens/NftClaimed/NftClaimed.tsx b/packages/browserExtension/src/pages/Content/components/Screens/NftClaimed/NftClaimed.tsx index 1e6b563652..204338a234 100644 --- a/packages/browserExtension/src/pages/Content/components/Screens/NftClaimed/NftClaimed.tsx +++ b/packages/browserExtension/src/pages/Content/components/Screens/NftClaimed/NftClaimed.tsx @@ -1,9 +1,16 @@ import React from "react"; -import { Typography } from "@material-ui/core"; +import { Box, Typography } from "@material-ui/core"; import SuccessModal, { useGenericModalStyles } from "../../Modals/SuccessModal"; -import { EAPP_STATE, IRewardItem } from "../../../constants"; +import { + EAPP_STATE, + IRewardItem, + rewardItemQMarkImg, + rewardItemToClaim01Img, + rewardItemToClaim02Img, + rewardItemToClaim03Img, +} from "../../../constants"; interface INftClaimedProps { changeAppState: (state: EAPP_STATE) => void; @@ -15,7 +22,17 @@ const NftClaimed: React.FC = ({ rewardItem, }: INftClaimedProps) => { const modalClasses = useGenericModalStyles(); - const onPrimaryButtonClick = () => {}; + + const imgArr = [ + rewardItemQMarkImg, + rewardItemToClaim01Img, + rewardItem.nftClaimedImage, + rewardItemToClaim02Img, + rewardItemToClaim03Img, + ]; + const onPrimaryButtonClick = () => { + changeAppState(EAPP_STATE.DISMISSED); + }; const onSecondaryButtonClick = () => { changeAppState(EAPP_STATE.DISMISSED); @@ -26,7 +43,7 @@ const NftClaimed: React.FC = ({ onCloseButtonClick={onSecondaryButtonClick} onSecondaryButtonClick={onSecondaryButtonClick} onPrimaryButtonClick={onPrimaryButtonClick} - primaryButtonText="More Offers" + primaryButtonText="Done!" secondaryButtonText="Go to Game" topContent={ <> @@ -60,6 +77,11 @@ const NftClaimed: React.FC = ({ > {rewardItem.rewardName} + + {imgArr.map((i) => ( + + ))} + } /> diff --git a/packages/browserExtension/src/pages/Content/constants/index.ts b/packages/browserExtension/src/pages/Content/constants/index.ts index 6dd64ce98f..85f9a9e047 100644 --- a/packages/browserExtension/src/pages/Content/constants/index.ts +++ b/packages/browserExtension/src/pages/Content/constants/index.ts @@ -21,6 +21,7 @@ export interface IRewardItem { primaryButtonText: string; secondaryButtonText: string; rewardName: string; + nftClaimedImage: string; } export const REWARD_DATA: Array = [ @@ -33,6 +34,9 @@ export const REWARD_DATA: Array = [ primaryButtonText: "Claim Reward", secondaryButtonText: "Back to Game", rewardName: "Crabada 761", + nftClaimedImage: chrome.runtime.getURL( + "assets/img/crabada-item-claimed.png", + ), }, { host: EAVAILABLE_HOSTS.SHRAPNEL, @@ -43,5 +47,21 @@ export const REWARD_DATA: Array = [ primaryButtonText: "Claim Reward", secondaryButtonText: "Back to Game", rewardName: "ATG-36 Helmet", + nftClaimedImage: chrome.runtime.getURL( + "assets/img/sharapnel-item-claimed.png", + ), }, ]; + +export const rewardItemQMarkImg = chrome.runtime.getURL( + "assets/img/reward-item-qmark.png", +); +export const rewardItemToClaim01Img = chrome.runtime.getURL( + "assets/img/reward-item-to-claim01.png", +); +export const rewardItemToClaim02Img = chrome.runtime.getURL( + "assets/img/reward-item-to-claim02.png", +); +export const rewardItemToClaim03Img = chrome.runtime.getURL( + "assets/img/reward-item-to-claim03.png", +);