From 890b1d2d7abd541fce2c9a505b28d99b966d4d2c Mon Sep 17 00:00:00 2001 From: Srishty M Date: Mon, 15 Apr 2024 02:19:02 +0530 Subject: [PATCH] feat: added receipt submission form --- src/assets/images/receiptSubmit.png | Bin 0 -> 3235 bytes src/components/payment/Final.jsx | 8 +++++--- src/components/payment/Payment.jsx | 25 +++++++++++++++++++++++- src/components/payment/input.styles.css | 18 +++++++++++++++++ src/components/payment/uploadReceipt.js | 0 5 files changed, 47 insertions(+), 4 deletions(-) create mode 100644 src/assets/images/receiptSubmit.png create mode 100644 src/components/payment/input.styles.css create mode 100644 src/components/payment/uploadReceipt.js diff --git a/src/assets/images/receiptSubmit.png b/src/assets/images/receiptSubmit.png new file mode 100644 index 0000000000000000000000000000000000000000..618c188c4a9adc5e76c3ed76c0f9db985f8b0087 GIT binary patch literal 3235 zcmV;U3|#YxP);IA^;r#sk*U{0@NDKypVFhtTFhU^Sy?b}}&Ye3weQe2carFNE`{!aX7z`_h zJO0DHd-p!6P|RidLJ{cg@9+O527|${Vi;?TdwYAEYinx-AG@l}eUT+W>)O@2j&Of* zanbqk;lnpE7z~CL!B}HdLAA}>!7_y+pn~u->Iv#K7z~D$z+HEv0;;9j8*Ybk19*PQ zu9i1~W|$DPsAn7XioswotPt+Vf}wuOzv!pTROq!e?89^xgTY|9C0M9nq@S{bdkwL( zoiiziCMkaaI-SlZy-xLN%Zg%aYipA>q8B&;q+ZQdxU4bugqgzJqmyIn5S%4mi9yG>X?*A z85NWFiOZu*@C|W#4?3aoeoNG~spVsmW20+058Yv3#Ogp8ODBz>0b#YOE3MyS^*nz3 z_&=nzjM3@p3ES$&d;N4Wtxp}a&S7jq!8}u1z^l1FevajhjmxaGy61Vv#~=S$c*q9? zV5}}Ja|ePEt}eYlh?VK;1>F*~dlFn*8|Im5u6TVh3i*qDUd8*gqt7+`Hi@U@a?yMU zQ{C}qBf$tCq6S?yqKNG_YutefM-aZr_xgv2hu>xO028aD*OqoB7{8~qRteah*SNmk zK5x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vj@3m!uW<7026gSsVTM#7la^c*a?s|S(E%VdE8Ym{=43$L zSiif8y6yK7$12*^Wr7p1gL{9%yMB;*!e8N6wyz^g0w-^^`Nr{`c>}OP`9Ld(FNMBM zy}~vl4s;amXpL9aIFCQ3%=0>C!cLnjtfwo@P=dw?4acl&(4egA8l&e=EY+0m%yKY0 z)ErePLgQ%pWoSAYoa@!w+uQ3<Q@+X*uHV=Cz|s5OSLSfX6vn%vUiM zHOlIYmc-lc>T>7$@a`j;f`!cYOG#q~_9SM4=8L*0NI|drrKD=LkM%nQsyANFR4v)o zpQ*M^h@S{87rVek>f%w6D34&Qy!MU9MUy(zC>zr{fpw`wAlh9-tpM2~K9ll_6w)^(1znwUbP-H%oU-=Z& z7c!3@Y!S%$3D6HQR9LG&;zyr!#bCG{81c+zPZo%=kCBJ5Atb7e6A8YJO`t2Dukd2V z-%7*om2-}&Fl{g4C&>&3gJEu5IWM!nzmM~P*ja95PS1%Ee#zqS@bE+o27_URaP1)B zt5>fw6 Payment method we have -
-
+
+
+ +
diff --git a/src/components/payment/Payment.jsx b/src/components/payment/Payment.jsx index 4bc1989..2480a26 100644 --- a/src/components/payment/Payment.jsx +++ b/src/components/payment/Payment.jsx @@ -1,10 +1,11 @@ import { Paragraph } from '../shared'; +import './input.styles.css'; import { Paymentdata, UPIdata } from '../../data/paymentData'; export const PaymentCont = () => { return ( <> -
+
Preferred method: Transfer funds from your bank to our CURRENT account @@ -49,3 +50,25 @@ export const UPI = () => { ); }; + +export const SubmissionForm = () => { + return ( +
+ + +
+ ); +}; diff --git a/src/components/payment/input.styles.css b/src/components/payment/input.styles.css new file mode 100644 index 0000000..acc3e3b --- /dev/null +++ b/src/components/payment/input.styles.css @@ -0,0 +1,18 @@ +input[type='file']::file-selector-button { + background-color: #ff7647; + background: url('https://res.cloudinary.com/djl2ulktr/image/upload/v1713122470/receiptSubmit_fhbpjx.png') no-repeat; + cursor: pointer; + color: rgba(0, 0, 0, 0); + border: none; + width: 490px; + padding: 0.2em; + margin: 0vw 0.3vw; + transition: 1s; + + @media only screen and (max-width: 970px) { + width: 60px; + } + @media only screen and (max-width: 768px) { + width: 110px; + } +} diff --git a/src/components/payment/uploadReceipt.js b/src/components/payment/uploadReceipt.js new file mode 100644 index 0000000..e69de29