Commit c60671c6010dc525abf975d2b3b9d5ec93cfb43b

Authored by Vu Bui
1 parent 75a4d66ee9
Exists in master

update

Showing 6 changed files with 39 additions and 0 deletions Side-by-side Diff

_scss/_icon-fonts.scss
... ... @@ -25,6 +25,18 @@
25 25 -moz-osx-font-smoothing: grayscale;
26 26 }
27 27  
  28 +.bw-icon-card:before {
  29 + content: "\e916";
  30 +}
  31 +.bw-icon-user-02:before {
  32 + content: "\e917";
  33 +}
  34 +.bw-icon-Group:before {
  35 + content: "\e919";
  36 +}
  37 +.bw-icon-leaf:before {
  38 + content: "\e918";
  39 +}
28 40 .bw-icon-alarm:before {
29 41 content: "\e909";
30 42 }
... ... @@ -8,6 +8,7 @@ import Services from '../../components/Steps/Services'
8 8 import PickTime from '../../components/Steps/PickTime'
9 9 import PickDoctor from '../../components/Steps/PickDoctor';
10 10 import Profile from '../../components/Steps/Profile';
  11 +import Payment from '../../components/Steps/Payment';
11 12 import './styles.scss'
12 13 import { useCommonState, useCommonDispatch } from '../../store/common'
13 14  
... ... @@ -126,6 +127,28 @@ function BookingWizard(props) {
126 127 </div>
127 128 </div>
128 129 </>
  130 + case 'step-payment':
  131 + return <>
  132 + <div className="bw-booking-modal-header">
  133 + <div className="bw-row">
  134 + <div className="bw-col-left">
  135 + <i className="bw-icon-health-doctor"></i>
  136 + <span>Payment information</span>
  137 + </div>
  138 + <div className="bw-col-right">
  139 + <button typ="button" className="bw-btn bw-btn-primary">
  140 + <i className="bw-icon-calling"></i>
  141 + Get Help
  142 + </button>
  143 + </div>
  144 + </div>
  145 + </div>
  146 + <div className="bw-booking-modal-content">
  147 + <div className="bw-booking-modal-inner">
  148 + <Payment/>
  149 + </div>
  150 + </div>
  151 + </>
129 152 case 'step-profile':
130 153 return <>
131 154 <Profile />
static/fonts/bw-icon-font.eot
No preview for this file type
static/fonts/bw-icon-font.svg
... ... @@ -29,4 +29,8 @@
29 29 <glyph unicode="&#xe913;" glyph-name="right-arrow" d="M777.638 480.926l-465.455 465.442c-18.174 18.178-47.647 18.178-65.825-0.003-18.174-18.178-18.174-47.647 0.003-65.825l432.541-432.531-432.544-432.553c-18.174-18.178-18.174-47.647 0.003-65.825 9.086-9.089 20.998-13.632 32.911-13.632s23.825 4.543 32.914 13.635l465.451 465.467c8.732 8.729 13.635 20.567 13.635 32.911s-4.903 24.185-13.635 32.914z" />
30 30 <glyph unicode="&#xe914;" glyph-name="SVG-Loaders-master" d="M345.097 447.988l432.544 432.553c18.178 18.178 18.178 47.647 0 65.825s-47.647 18.178-65.825-0.003l-465.455-465.467c-8.732-8.726-13.635-20.564-13.635-32.908 0-12.347 4.906-24.185 13.635-32.914l465.455-465.442c9.086-9.089 20.998-13.632 32.911-13.632s23.825 4.543 32.914 13.635c18.178 18.178 18.178 47.647 0 65.825l-432.544 432.528z" />
31 31 <glyph unicode="&#xe915;" glyph-name="text-document" d="M711.732 960h-515.382c-34.605 0-62.784-28.199-62.784-62.797v-898.394c0-34.651 28.179-62.806 62.784-62.806h631.295c34.636 0 62.789 28.155 62.789 62.806v767.018l-178.703 194.174zM726.55 866.031l78.328-85.128h-78.328v85.128zM837.703-1.194c0-5.531-4.528-10.073-10.086-10.073h-631.267c-5.549 0-10.051 4.541-10.051 10.073v898.396c0 5.544 4.502 10.038 10.051 10.038h477.441v-152.715c0-14.54 11.844-26.328 26.393-26.328h137.52v-729.392zM279.321 679.534h447.792c10.908 0 19.756-8.848 19.756-19.756s-8.848-19.756-19.756-19.756h-447.792c-10.906 0-19.756 8.848-19.756 19.756 0 10.906 8.85 19.756 19.756 19.756zM746.87 527.017c0-10.906-8.848-19.756-19.756-19.756h-447.792c-10.906 0-19.756 8.848-19.756 19.756s8.85 19.756 19.756 19.756h447.792c10.908 0 19.756-8.85 19.756-19.756zM746.87 398.605c0-10.908-8.848-19.756-19.756-19.756h-447.792c-10.906 0-19.756 8.848-19.756 19.756s8.85 19.756 19.756 19.756h447.792c10.908 0 19.756-8.848 19.756-19.756zM746.87 268.005c0-10.908-8.848-19.756-19.756-19.756h-447.792c-10.906 0-19.756 8.848-19.756 19.756s8.85 19.756 19.756 19.756h447.792c10.908 0 19.756-8.848 19.756-19.756z" />
  32 +<glyph unicode="&#xe916;" glyph-name="card" horiz-adv-x="1409" d="M149.196 943.484c-33.583-8.809-61.935-25.6-88.637-52.301-26.151-25.875-41.29-51.2-52.852-88.086l-6.331-20.645v-334.452c0-376.568-1.652-346.563 21.471-393.634 9.359-18.994 15.966-28.077 36.335-48.172 35.785-35.51 67.166-52.026 112.86-59.183 13.488-1.927 180.852-2.753 545.032-2.202 591.002 1.101 534.572-1.101 582.194 22.297 18.994 9.359 28.077 15.966 48.172 36.335 35.51 35.785 52.026 67.166 59.183 112.86 1.927 13.213 2.753 121.394 2.202 342.71-1.101 363.905 0.826 333.626-22.572 381.247-19.819 40.465-53.953 73.222-96.344 92.215-38.262 17.342-1.376 16.516-586.598 16.241-517.781 0-534.572-0.275-554.116-5.23zM1249.72 841.359c21.196-10.185 36.060-23.948 45.97-42.942 11.837-22.022 14.589-40.74 14.589-99.097v-50.374h-1211.183v50.374c0 27.802 1.376 57.806 3.028 66.615 7.157 38.262 30.83 66.34 66.615 78.727 13.488 4.955 39.914 4.955 540.077 4.404l525.763-0.551 15.14-7.157zM1308.903 336.516v-211.957l-6.606-16.516c-9.084-22.572-34.133-47.622-56.705-56.705l-16.516-6.606h-1048.774l-15.69 6.331c-31.105 12.662-56.43 43.768-62.761 77.351-3.028 16.516-3.854 416.482-0.826 419.51 0.826 1.101 273.067 1.652 604.766 1.376l603.114-0.826v-211.957zM930.133 237.97c-33.858-22.847-30.004-70.744 7.157-87.535 10.185-4.68 20.095-5.23 116.989-5.23 64.688 0 110.108 1.101 116.163 2.753 23.123 6.606 40.189 31.381 36.611 53.677-1.927 14.589-10.735 28.077-23.123 36.335l-9.359 6.331h-235.080l-9.359-6.331z" />
  33 +<glyph unicode="&#xe917;" glyph-name="user-02" horiz-adv-x="964" d="M452.518 836.894c-115.2-18.824-186.165-133.082-152.282-244.894 18.635-61.553 70.4-110.682 134.588-128 16.188-4.329 59.671-5.835 78.682-2.824 73.224 11.859 133.082 67.012 153.224 141.176 3.765 13.929 4.329 20.141 4.141 47.059-0.188 25.412-0.941 33.694-4.141 45.553-19.2 70.4-70.4 121.224-139.859 138.729-20.329 5.082-53.835 6.588-74.353 3.2zM520.471 773.647c21.271-6.588 36.141-15.812 53.835-33.882 13.176-13.176 17.882-19.388 23.906-32.188 4.329-8.659 9.035-21.271 10.729-27.859 3.953-15.247 3.953-44.424 0.188-60.8-10.353-44.424-43.859-80.376-88.659-95.059-19.2-6.212-51.2-7.153-70.588-1.882-30.871 8.094-59.106 28.235-76.047 53.835-16 23.906-22.212 44.8-22.024 73.6 0 33.694 11.294 62.494 33.694 86.776 19.388 20.894 37.647 32 65.318 39.529 17.882 4.894 50.635 3.953 69.647-2.071zM295.906 355.765c-74.165-9.976-135.153-62.682-157.929-136.847-5.082-16.376-5.082-17.506-5.835-79.247-0.565-60.988-0.565-62.682 3.388-68.894 2.259-3.765 7.529-8.282 12.424-10.729 13.929-6.776 27.294-3.012 37.271 10.353 3.765 4.894 3.953 8.471 5.082 61.929 1.318 62.494 2.071 68.141 13.929 92.612 16.565 34.447 50.447 60.8 88.847 69.459 11.859 2.635 34.447 3.012 188.8 3.012 193.882 0 188.612 0.376 215.529-12.235 26.918-12.424 49.129-33.882 61.929-60.235 12.047-24.282 12.988-29.929 14.118-92.612 1.129-53.459 1.318-57.035 5.082-61.929 9.976-13.365 23.341-17.129 37.271-10.353 4.894 2.447 10.165 6.965 12.424 10.729 3.953 6.212 3.953 7.906 3.388 68.894-0.753 61.365-0.941 63.059-5.647 78.682-6.965 22.4-13.365 36.141-25.224 53.835-25.6 38.588-64.941 66.635-111.812 79.624l-17.882 4.894-181.647 0.188c-99.953 0.188-186.918-0.376-193.506-1.129z" />
  34 +<glyph unicode="&#xe918;" glyph-name="leaf" horiz-adv-x="1117" d="M570.405 936.727c18.199-55.93 44.833-108.754 67.025-163.353 27.522-67.028 56.818-132.724 84.34-199.752 7.545-18.2 15.979-22.639 35.067-17.312 87.45 23.97 174.895 46.165 262.786 69.247 7.992 2.22 18.199 9.322 24.413 0.888 5.329-6.658-2.22-15.092-5.325-22.639-38.177-94.549-75.906-188.654-114.972-282.759-7.545-18.646-5.325-28.411 12.432-39.066 59.923-37.283 118.961-76.349 178.446-114.967 19.53-12.874 19.084-15.537-1.778-24.855-86.114-39.508-173.117-79.016-259.235-118.966-14.201-6.661-26.633-4.44-39.95 1.773-68.357 30.632-137.16 61.258-205.964 91.443-22.198 9.765-23.529 9.323-23.529-14.648 0-39.95-0.442-79.458 0-119.408 0-13.317-2.22-23.082-19.088-23.082-16.421 0-19.088 9.765-18.641 23.082 0.442 40.397-0.447 81.231 0.442 121.628 0.447 19.53-6.214 20.862-21.751 13.317-68.359-31.074-137.607-60.369-205.966-91.885-17.756-7.992-32.404-7.545-49.716 0.889-89.667 41.723-179.777 81.673-269.444 122.512 0 3.109 0 5.772 0 8.876 65.696 42.17 131.393 84.34 197.533 126.068 15.092 9.323 16.868 18.199 10.209 34.178-39.062 94.106-76.793 188.212-114.525 282.761-3.107 8.434-12.873 18.2-5.327 26.19 6.215 6.659 16.868 0 24.858-2.219 87.003-22.639 174.006-44.833 260.566-68.359 15.98-4.439 26.19-3.107 33.292 13.761 51.492 122.515 103.429 244.585 154.918 366.656 3.109 0 5.772 0 8.881 0zM545.545 792.018c-2.22-2.663-3.994-3.551-4.883-5.327-35.067-82.565-70.135-165.129-105.203-248.137-4.439-10.653-1.776-19.975 2.219-29.741 19.087-44.834 37.731-89.667 56.373-134.5 15.984-37.73 31.963-75.464 47.942-113.194 1.331 0.447 2.22 0.442 3.551 0.889 0 176.668 0 352.451 0 530.009zM585.942 261.12c3.105 3.551 4.883 4.883 5.767 7.103 34.183 81.678 68.361 163.351 102.54 244.586 5.329 11.985 2.667 22.639-1.773 33.736-31.516 73.686-62.59 147.817-94.106 221.947-2.662 6.658-4.44 14.648-11.985 19.975-0.442-176.67-0.442-350.674-0.442-527.347zM500.271 244.699c0.884 9.318 1.773 11.096 1.331 11.981-33.294 80.789-67.474 160.694-100.765 241.037-4.439 10.653-12.429 15.092-23.083 18.2-58.594 14.648-116.744 30.185-175.338 45.721-4.883 1.332-11.097 5.771-9.766 3.995 101.208-105.647 202.416-211.295 307.621-320.933zM625.445 249.135c1.778-1.331 3.998-2.662 5.772-3.994 104.318 107.864 208.631 215.734 312.502 323.598 2.22-3.551 0.442-3.107-1.773-3.551-64.81-16.868-129.62-33.736-194.43-50.604-11.539-3.107-16.421-11.541-20.415-21.305-12.874-30.632-25.749-61.258-38.619-91.443-20.866-51.051-41.728-101.651-63.037-152.702zM674.718 220.728c55.929 23.082 123.848 51.046 191.763 79.011 9.765 3.994 13.317 12.874 16.868 22.198 23.529 58.149 47.053 115.856 70.135 174.004 1.778 4.439 5.772 8.878 0.889 17.312-96.326-100.762-191.763-200.639-279.654-292.525zM169.567 519.911c1.776-8.434 2.22-11.541 3.107-13.761 25.746-63.475 51.492-126.954 76.793-190.875 4.439-11.096 12.873-15.090 22.639-19.088 36.843-15.090 73.686-30.185 110.53-44.833 30.629-12.428 61.257-24.86 91.885-37.288-2.22-1.773-4.436-3.105-6.656-4.883-98.102 102.097-196.203 204.637-298.298 310.726zM451.44 177.226c0.444 1.331 0.444 2.662 0.888 3.994-57.262 23.524-114.968 45.275-171.343 71.024-27.077 12.428-47.94 12.428-72.354-5.772-31.96-23.971-66.584-44.39-105.647-69.246 120.739 0 234.376 0 348.457 0zM671.167 178.111c119.85 0 233.933 0 348.016 0-39.508 30.185-80.347 56.376-121.186 82.567-7.545 4.883-15.090 3.994-23.082 0.442-66.141-26.633-131.835-53.709-203.748-83.009zM128.285 137.719c0-1.331-0.444-2.662-0.444-3.994 34.624-15.984 69.692-31.521 104.315-47.5 63.033-29.296 63.033-29.738 126.066-1.331 37.287 16.868 74.574 33.294 111.864 49.715-0.447 0.889-0.447 2.22-0.889 3.109-114.082 0-227.274 0-340.911 0zM663.18 137.272c-0.447-1.331-0.447-2.216-0.889-3.547 44.39-19.535 89.665-37.288 132.724-59.485 27.965-14.201 51.046-13.317 78.127 0.889 41.723 21.309 84.783 39.508 127.395 59.038-0.442 0.889-0.442 2.22-0.889 3.105-112.305 0-224.163 0-336.468 0z" />
  35 +<glyph unicode="&#xe919;" glyph-name="Group" horiz-adv-x="938" d="M744.644 914.753c-78.952-4.763-133.725-10.442-183.367-18.868-138.487-23.631-242.17-63.748-324.603-125.481-23.081-17.219-59.901-52.574-76.754-73.274-61-75.655-96.172-170.728-109.361-295.843-5.496-51.108-6.595-93.241-6.595-240.704 0-167.797-0.916-156.806 14.655-169.995 20.333-17.586 51.658-10.991 64.114 13.372 3.114 5.862 3.481 13.922 4.213 105.331 0.55 84.997 1.099 100.568 3.847 112.475 22.165 96.172 90.127 167.98 192.343 203.151 31.874 10.991 58.253 17.403 96.172 23.081 10.258 1.465 21.799 4.396 25.463 6.228 29.859 15.387 30.225 58.253 0.366 74.006-9.526 5.129-10.808 5.312-26.562 4.213-33.706-2.198-98.37-17.952-138.304-33.523-51.292-20.15-90.859-44.331-130.61-79.868l-14.288-12.823 1.099 8.060c15.571 111.559 48.544 188.13 107.896 250.23 75.838 79.502 195.274 129.694 364.72 153.325 55.871 7.877 134.091 13.922 178.238 13.922h22.532l-0.916-16.853c-0.55-9.342-1.465-26.928-2.015-39.018-3.297-70.892-16.12-150.577-33.889-209.196-58.069-192.16-184.283-300.422-380.657-325.702-12.273-1.649-41.766-4.030-65.214-5.312-42.499-2.198-43.048-2.198-51.658-7.694-6.411-3.847-10.258-8.060-13.922-15.204-14.105-26.928 1.282-56.97 31.691-61.55 10.442-1.465 78.036 2.015 105.881 5.496 203.701 26.195 347.317 129.145 424.804 305.002 42.682 96.721 66.679 220.554 68.511 354.462 0.366 26.195 0 32.79-2.931 41.216-9.159 27.111-27.661 45.979-53.856 54.772-10.075 3.481-15.204 3.847-46.529 3.481-19.418-0.183-39.385-0.55-44.514-0.916z" />
32 36 </font></defs></svg>
33 37 \ No newline at end of file
static/fonts/bw-icon-font.ttf
No preview for this file type
static/fonts/bw-icon-font.woff
No preview for this file type