-
Notifications
You must be signed in to change notification settings - Fork 0
/
red.html
188 lines (165 loc) · 4.89 KB
/
red.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blood Donor App</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
background-color: #f5f5f5;
}
/* Global Styles */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
header {
background-color: #ff1900;
color: white;
text-align: center;
padding: 20px 0;
}
header h1 {
margin: 0;
font-size: 2.5em;
}
.hero-section {
background: url('https://www.redcrossblood.org/content/dam/redcrossblood/images/Headers/matching-blood-donors.jpg') no-repeat center center/cover;
height: 400px;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-align: center;
}
.hero-section h2 {
font-size: 3em;
margin: 0;
}
.cta-button {
background-color: #ffffff;
color: #e74c3c;
padding: 15px 30px;
border: none;
border-radius: 25px;
font-size: 1.2em;
cursor: pointer;
margin-top: 20px;
}
/* Main Info Section */
.main-info {
background-color: white;
padding: 50px 0;
text-align: center;
}
.main-info h3 {
font-size: 2.5em;
color: #333;
}
.main-info p {
color: #666;
font-size: 1.2em;
margin: 20px 0;
}
/* Card Layout */
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin-top: 30px;
}
.card {
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
}
.card img {
max-width: 100px;
margin-bottom: 20px;
}
.card h4 {
color: #e74c3c;
font-size: 1.5em;
}
.card p {
color: #555;
font-size: 1.1em;
}
.card .button {
background-color: #e74c3c;
color: white;
padding: 10px 20px;
border-radius: 25px;
text-decoration: none;
display: inline-block;
margin-top: 10px;
}
/* Footer */
footer {
background-color: #333;
color: white;
text-align: center;
padding: 20px 0;
margin-top: 40px;
}
footer p {
margin: 0;
font-size: 1em;
}
</style>
</head>
<body>
<header>
<h1>Blood Donor App</h1>
</header>
<!-- Hero Section -->
<section class="hero-section">
<div>
<h2>Donate Blood, Save Lives</h2>
<button class="cta-button">Schedule a Donation</button>
</div>
</section>
<!-- Main Info Section -->
<section class="main-info">
<div class="container">
<h3>Why Donate Blood?</h3>
<p>Your donation can help save lives. It’s easy and safe to donate blood, and the benefits are immense.</p>
<!-- Card Layout -->
<div class="card-grid">
<!-- Card 1 -->
<div class="card">
<img src="https://via.placeholder.com/100x100" alt="Donate Icon">
<h4>Schedule a Donation</h4>
<p>Find a nearby location and schedule your appointment in just a few clicks.</p>
<a href="#" class="button">Get Started</a>
</div>
<!-- Card 2 -->
<div class="card">
<img src="https://via.placeholder.com/100x100" alt="Track Icon">
<h4>Track Donations</h4>
<p>Keep track of your past donations and know when you're eligible to donate again.</p>
<a href="#" class="button">View History</a>
</div>
<!-- Card 3 -->
<div class="card">
<img src="https://via.placeholder.com/100x100" alt="Benefits Icon">
<h4>Donation Benefits</h4>
<p>Learn about the health benefits of donating blood and how you can help others.</p>
<a href="#" class="button">Learn More</a>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer>
<p>© 2024 Blood Donation App. All rights reserved.</p>
</footer>
</body>
</html>