|
1 | 1 | import React from 'react'
|
2 | 2 |
|
| 3 | +import tick_svg from '../assets/SVG/tick.svg' |
| 4 | +import email_svg from '../assets/SVG/email.svg' |
| 5 | +import fingerprint_svg from '../assets/SVG/fingerprint.svg' |
| 6 | +import clock_svg from '../assets/SVG/clock.svg' |
| 7 | + |
3 | 8 | const ReceiptPage: React.FC = () => {
|
4 | 9 | return (
|
5 |
| - <div> |
| 10 | + <main className='h-screen w-screen bg-primary-800 flex justify-center items-center'> |
| 11 | + |
| 12 | + {/* --- CONFIRMATION CONTAINER --- */} |
| 13 | + <div className='w-full h-full sm:max-w-2xl sm:max-h-[70%] flex flex-col shadow-xl rounded-t-xl'> |
| 14 | + |
| 15 | + {/* --- HEADER --- */} |
| 16 | + <div className='w-full bg-accent-500 flex flex-col justify-start items-center px-11 py-10 rounded-t-xl'> |
| 17 | + {/* <div> |
| 18 | + <svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" |
| 19 | + preserveAspectRatio="none"> |
| 20 | + <path |
| 21 | + d="M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z" |
| 22 | + className="shape-fill"></path> |
| 23 | + </svg> |
| 24 | + </div> */} |
| 25 | + <img className='w-32 h-32 mb-margin-s' src={tick_svg} /> |
| 26 | + <h1 className='text-text-950 font-semibold text-4xl'>Adoption Success!</h1> |
| 27 | + </div> |
| 28 | + |
| 29 | + {/* --- DETAILS ---- */} |
| 30 | + <div className=' |
| 31 | + w-full h-full flex flex-col justify-start items-start |
| 32 | + text-text-50 bg-background-900 px-10 py-8 |
| 33 | + '> |
| 34 | + <h2 className='text-3xl font-medium mb-margin-m'> |
| 35 | + Pickup ID: <strong className='underline underline-offset-4'>#jslifjslefj</strong> |
| 36 | + </h2> |
| 37 | + |
| 38 | + <div className='flex justify-start items-center mb-margin-s'> |
| 39 | + <img className='w-10 h-10 mr-margin-s' src={email_svg} /> |
| 40 | + <p className='font-medium text-xl text-text-50'>An email will be sent to you with the adoption details</p> |
| 41 | + </div> |
| 42 | + |
| 43 | + <div className='flex justify-start items-center mb-margin-s'> |
| 44 | + <img className='w-10 h-10 mr-margin-s' src={clock_svg} /> |
| 45 | + <p className='font-medium text-lg text-text-50'>Be sure to arrive on time to collect your pet</p> |
| 46 | + </div> |
6 | 47 |
|
7 |
| - </div> |
| 48 | + <div className='flex justify-start items-center mb-margin-s'> |
| 49 | + <img className='w-10 h-10 mr-margin-s' src={fingerprint_svg} /> |
| 50 | + <p className='font-medium text-lg text-text-50'>Be sure to bring your Pickup ID</p> |
| 51 | + </div> |
| 52 | + </div> |
| 53 | + </div> |
| 54 | + </main> |
8 | 55 | )
|
9 | 56 | }
|
10 | 57 |
|
|
0 commit comments