|
1 | 1 | const Calendar = () => { |
2 | 2 | return ( |
3 | | - |
| 3 | + <> |
4 | 4 | <div className="All vh-100 container-fluid vh-100 m-auto col-12 col-md-4 d-flex flex-column"> |
5 | | - <div className="calendar h-10 d-flex flex-row align-items-center justify-content-center gap-3 my-3"> |
6 | | - <div className="calendarday rounded-5 shadow-lg border-0 bg-light text-center justify-content-center w-25"> |
7 | | - <p>Mon</p> |
8 | | - <p>20</p> |
9 | | - <a>X</a> |
| 5 | + <div className="calendar h-10 d-flex flex-row align-items-center justify-content-center gap-3 my-4"> |
| 6 | + <div className="calendarday rounded-5 shadow-lg border-0 bg-light text-center justify-content-center w-25 p-1 bg-opacity-50"> |
| 7 | + <p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">Mon</p> |
| 8 | + <p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">20</p> |
| 9 | + <a>❌</a> |
10 | 10 | </div> |
11 | | - <div className="calendarday rounded-5 shadow-lg border-0 bg-light text-center justify-content-center w-25"> |
12 | | - <p>Tue</p> |
13 | | - <p>21</p> |
14 | | - <a>X</a> |
| 11 | + <div className="calendarday rounded-5 shadow-lg border-0 bg-light text-center justify-content-center w-25 p-1 bg-opacity-50"> |
| 12 | + <p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">Tue</p> |
| 13 | + <p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">21</p> |
| 14 | + <a>❌</a> |
15 | 15 | </div> |
16 | | - <div className="calendarday rounded-5 shadow-lg border-0 bg-light text-center justify-content-center w-25"> |
17 | | - <p>Wed</p> |
18 | | - <p>22</p> |
19 | | - <a>X</a> |
| 16 | + <div className="calendarday rounded-5 shadow-lg border-0 bg-light text-center justify-content-center w-25 p-1"> |
| 17 | + <p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">Wed</p> |
| 18 | + <p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">22</p> |
| 19 | + <a>❌</a> |
20 | 20 | </div> |
21 | | - <div className="calendarday rounded-5 shadow-lg border-0 bg-light text-center justify-content-center w-25"> |
22 | | - <p>Thu</p> |
23 | | - <p>23</p> |
24 | | - <a>Y</a> |
| 21 | + <div className="calendarday rounded-5 shadow-lg border-0 bg-light text-center justify-content-center w-25 p-1 bg-opacity-50"> |
| 22 | + <p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">Thu</p> |
| 23 | + <p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">23</p> |
| 24 | + <a>✔️</a> |
25 | 25 | </div> |
26 | | - <div className="calendarday rounded-5 shadow-lg border-0 bg-light text-center justify-content-center w-25"> |
27 | | - <p>Fri</p> |
28 | | - <p>24</p> |
29 | | - <a>Y</a> |
| 26 | + <div className="calendarday rounded-5 shadow-lg border-0 bg-light text-center justify-content-center w-25 p-1 bg-opacity-50"> |
| 27 | + <p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">Fri</p> |
| 28 | + <p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">24</p> |
| 29 | + <a>✔️</a> |
30 | 30 | </div> |
31 | 31 | </div> |
32 | 32 |
|
33 | | - <div className="location rounded-5 w-100 my-2 h-30 d-flex flex-column align-items-center justify-content-center bg-light"> |
| 33 | + <div className="location rounded-5 w-100 py-4 my-2 h-30 d-flex flex-column align-items-center justify-content-center bg-light"> |
34 | 34 |
|
35 | 35 | <div className="location-top m-2 h-30 w-100 d-flex flex-row align-items-center justify-content-center"> |
36 | 36 |
|
37 | | - <div className="location-top-left m-2 my-2 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center"> |
38 | | - <div className="car-left m-2 my-2 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center">1</div> |
39 | | - <div className="car-middle m-2 my-2 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center">2</div> |
40 | | - <div className="car-right m-2 my-2 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center">3</div> |
| 37 | + <div className="location-top-left shadow p-2 px-3 m-2 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center"> |
| 38 | + <div className="car-left shadow m-2 h-100 w-25 rounded-circle d-flex align-items-center justify-content-center fs-4">🚘</div> |
| 39 | + <div className="car-middle shadow m-2 p-0 h-100 w-50 rounded-5 d-flex align-items-center justify-content-center">56 min</div> |
| 40 | + <div className="car-right shadow p-0 m-2 mx-3 h-100 w-25 rounded-circle d-flex align-items-center justify-content-center">⚫</div> |
41 | 41 | </div> |
42 | 42 |
|
43 | | - <div className="location-top-right m-2 h-100 w-25 rounded-5 d-flex flex-row align-items-center justify-content-center"> |
44 | | - <div className="weather-left m-2 my-2 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center">1</div> |
45 | | - <div className="weather-right m-2 my-2 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center">2</div> |
| 43 | + <div className="location-top-right shadow m-2 h-100 w-50 rounded-5 d-flex flex-row align-items-center justify-content-center p-1"> |
| 44 | + <div className="weather-left m-1 h-100 w-50 rounded-circle d-flex align-items-center justify-content-center fs-2">⛅</div> |
| 45 | + <div className="weather-right m-4 w-50 d-flex flex-column justify-content-center align-items-start p-2"> |
| 46 | + <div className="fs-5 d-flex align-items-start"><strong>48° F</strong></div> |
| 47 | + <div className="d-flex align-items-start">Cloudy</div> |
| 48 | + </div> |
46 | 49 | </div> |
47 | 50 | </div> |
48 | 51 |
|
49 | | - <div className="location-bottom my-2 w-100 h-70 d-flex flex-row align-items-center justify-content-center"> |
50 | | - <div className="location-bottom-left m-2 my-2 h-100 w-75 rounded-5 d-flex flex-column align-items-center justify-content-center"> |
51 | | - <div className="car-left m-2 my-2 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center">Atenolol</div> |
52 | | - <div className="car-middle m-2 my-2 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center">Lisinopril</div> |
53 | | - <div className="car-right m-2 my-2 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center">Astorvastatin</div> |
| 52 | + <div className="location-bottom my-3 mb-3 w-100 h-70 d-flex flex-row align-items-center justify-content-center"> |
| 53 | + |
| 54 | + <div className="location-bottom-left h-100 w-50 rounded-5 d-flex flex-column align-items-center justify-content-center"> |
| 55 | + |
| 56 | + <div className="location-bottom-left-1 my-1 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center"> |
| 57 | + <button type="button" className="btn btn-light w-100 shadow d-flex flex-row rounded-5 p-0 border-0"> |
| 58 | + <div className="icon my-2 h-100 w-25 rounded-5 d-flex justify-content-end align-items-center">💊</div> |
| 59 | + <div className="pill m-2 my-2 h-100 w-75 d-flex justify-content-start align-items-center">Atenolol</div> |
| 60 | + </button> |
| 61 | + </div> |
| 62 | + <div className="location-bottom-left-2 my-1 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center"> |
| 63 | + <button type="button" className="btn btn-light w-100 shadow d-flex flex-row rounded-5 p-0 border-0"> |
| 64 | + <div className="icon my-2 h-100 w-25 rounded-5 d-flex justify-content-end align-items-center">💊</div> |
| 65 | + <div className="pill m-2 my-2 h-100 w-75 d-flex justify-content-start align-items-center">Lisinopril</div> |
| 66 | + </button> |
| 67 | + </div> |
| 68 | + <div className="location-bottom-left-3 my-1 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center"> |
| 69 | + <button type="button" className="btn btn-light w-100 shadow d-flex flex-row rounded-5 p-0 border-0"> |
| 70 | + <div className="icon my-2 h-100 w-25 rounded-circle d-flex justify-content-end align-items-center">💊</div> |
| 71 | + <div className="pill m-2 my-2 h-100 w-75 d-flex justify-content-start align-items-center">Astorvastatin</div> |
| 72 | + </button> |
| 73 | + </div> |
54 | 74 | </div> |
55 | 75 |
|
56 | | - <div className="location-bottom-right m-2 h-100 w-25 rounded-5 d-flex flex-row align-items-center justify-content-center">2</div> |
| 76 | + <div className="location-bottom-right m-2 h-100 w-50 rounded-5 d-flex flex-row align-items-center justify-content-center"> |
| 77 | + <img src="https://www.jaspersoft.com/content/dam/jaspersoft/images/graphics/infographics/donut-chart-example.svg" className="img-fluid "></img> |
| 78 | + </div> |
57 | 79 | </div> |
58 | 80 | </div> |
59 | 81 |
|
60 | 82 | <div className="quality my-2 h-60 rounded-5 d-flex flex-column align-items-center justify-content-center bg-light"> |
61 | 83 |
|
62 | | -<div className="quality-top my-3 h-10 rounded-5 d-flex flex-row align-items-center justify-content-center bg-light"> |
| 84 | +<div className="quality-top my-3 h-10 rounded-5 w-100 d-flex flex-row align-items-center justify-content-center bg-light"> |
63 | 85 | <div className="quality-top-1 m-2 my-2 h-100 w-50 rounded-5 d-flex align-items-center justify-content-center">Life Quality</div> |
64 | 86 | <div className="quality-top-2 m-2 my-2 h-100 w-25 rounded-5 d-flex align-items-center justify-content-center">...</div> |
65 | | - <div className="quality-top-3 m-2 my-2 h-100 w-25 rounded-5 d-flex align-items-center justify-content-center">Week ...</div> |
| 87 | + <div className="quality-top-3 m-2 my-2 h-100 w-25 rounded-5 d-flex flex-row align-items-center justify-content-center"> |
| 88 | + <div className="quality-top-3 m-2 my-2 h-100 w-25 rounded-5 d-flex flex-row align-items-center justify-content-center">Week</div> |
| 89 | + <div className="quality-top-3 m-2 my-2 h-100 w-25 rounded-5 d-flex flex-row align-items-center justify-content-center">...</div> |
| 90 | + </div> |
66 | 91 | </div> |
67 | | -<div className="quality-middle my-2 h-30 rounded-5 d-flex flex-row align-items-center justify-content-center bg-light"> |
| 92 | +<div className="quality-middle my-2 h-30 w-100 rounded-5 d-flex flex-row align-items-center justify-content-center bg-light"> |
68 | 93 | <div className="quality-middle-1 m-2 my-2 h-100 w-25 rounded-5 d-flex flex-row align-items-center justify-content-center">1</div> |
69 | 94 | <div className="quality-middle-2 m-2 my-2 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center">2</div> |
70 | 95 | </div> |
71 | 96 | <div className="quality-bottom my-2 h-60 rounded-5 d-flex flex-row align-items-center justify-content-center bg-light">3</div> |
72 | 97 |
|
73 | 98 | </div> |
74 | 99 | </div> |
| 100 | +</> |
75 | 101 | ); |
76 | 102 | }; |
77 | 103 |
|
|
0 commit comments