forked from ELENA0206/final_front_end
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInformation.jsx
189 lines (185 loc) · 7.53 KB
/
Information.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
import React from "react";
import "./Information.css";
function Information() {
return (
<div className="container mt-5 p-3">
{/* start what to do before donation */}
<div className="row">
<div className="col-md-12">
<div className="alert alert-secondary rounded p-3 my-5">
<div className="row justify-content-center">
<div className="p-3 text-center">
<h4>What to do before donation?</h4>
</div>
<div className="col-md-3 h-50 m-2">
<div className="card before-card">
<div className="m-2 text-center p-4">
<i className="fa fa-calendar icon"></i>
</div>
<div className="m-2 text-center">
<h3 className="text-dark">Plan for an Appointment</h3>
</div>
<div className="m-2 text-center">
<p className="text-muted">
Find the best time for you to do the donation
</p>
</div>
</div>
</div>
<div className="col-md-3 h-50 m-2">
<div className="card before-card">
<div className="m-2 text-center p-4">
<i className="fa fa-cutlery icon"></i>
</div>
<div className="m-2 text-center">
<h3 className="text-dark">
Have a proper nutrition or diet
</h3>
</div>
<div className="m-2 text-center">
<p className="text-muted">
Majorly have food rich in iron such as spinach and fish.
</p>
</div>
</div>
</div>
<div className="col-md-3 h-50 m-2">
<div className="card before-card">
<div className="m-2 text-center p-4">
<i className="fa fa-bed icon"></i>
</div>
<div className="m-2 text-center">
<h3 className="text-dark">Have a good rest and hydrate</h3>
</div>
<div className="m-2 text-center">
<p className="text-muted">
Take extra liquids and sleep well before donation
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{/* end what to do before donation */}
{/* start what to do during donation */}
<div className="row">
<div className="col-md-12">
<div className="alert alert-primary rounded p-3 my-3">
<div className="row justify-content-center">
<div className="p-3 text-center">
<h4 className="text-dark">What to do during donation</h4>
</div>
<div className="col-md-3 h-50 m-2">
<div className="card before-card">
<div className="m-2 text-center p-4">
<i className="fa fa-file icon"></i>
</div>
<div className="m-2 text-center">
<h3 className="text-dark">Carry some documents</h3>
</div>
<div className="m-2 text-center">
<p className="text-muted">
Have a document to prove eligibilty for donation
</p>
</div>
</div>
</div>
<div className="col-md-3 h-50 m-2">
<div className="card before-card">
<div className="m-2 text-center p-4">
<i className="fa fa-id-card icon"></i>
</div>
<div className="m-2 text-center">
<h3 className="text-dark">Have your ID card</h3>
</div>
<div className="m-2 text-center">
<p className="text-muted">
This may involve DL and donation forms
</p>
</div>
</div>
</div>
<div className="col-md-3 h-50 m-2">
<div className="card before-card">
<div className="m-2 text-center p-4">
<i className="fa fa-medkit icon"></i>
</div>
<div className="m-2 text-center">
<h3 className="text-dark">Medical Status</h3>
</div>
<div className="m-2 text-center">
<p className="text-muted">
Information about any medicines you are taking
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{/* end what to do during donation */}
{/* start what to do after donation */}
<div className="row">
<div className="col-md-12">
<div className="alert alert-secondary rounded p-3 my-5">
<div className="row justify-content-center">
<div className="p-3 text-center">
<h4>What to do after donation?</h4>
</div>
<div className="col-md-3 h-50 m-2">
<div className="card before-card">
<div className="m-2 text-center p-4">
<i className="fa fa-hotel icon"></i>
</div>
<div className="m-2 text-center">
<h3 className="text-dark">Relax a bit</h3>
</div>
<div className="m-2 text-center">
<p className="text-muted">
Relax and have some snacks such as cookies
</p>
</div>
</div>
</div>
<div className="col-md-3 h-50 m-2">
<div className="card before-card">
<div className="m-2 text-center p-4">
<i className="fa fa-newspaper-o icon"></i>
</div>
<div className="m-2 text-center">
<h3 className="text-dark">Spread the news</h3>
</div>
<div className="m-2 text-center">
<p className="text-muted">
Let other know that they can donate as well
</p>
</div>
</div>
</div>
<div className="col-md-3 h-50 m-2">
<div className="card before-card">
<div className="m-2 text-center p-4">
<i className="fa fa-coffee icon"></i>
</div>
<div className="m-2 text-center">
<h3 className="text-dark">More liquids within 24 hours.</h3>
</div>
<div className="m-2 text-center">
<p className="text-muted">
Take extra liquids within 24 hours and avoid alcohol
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{/* end what to do after donation */}
</div>
);
}
export default Information;