-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprograms.html
More file actions
245 lines (212 loc) · 7.06 KB
/
Copy pathprograms.html
File metadata and controls
245 lines (212 loc) · 7.06 KB
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="programs.css">
<title>Programs Directory</title>
<style>
/* General Styles for the Program Directory */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f5f5f5;
}
header {
background-color: #333;
padding: 10px;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
justify-content: center;
}
nav ul li {
margin: 0 20px;
}
nav ul li a {
color: white;
text-decoration: none;
font-size: 18px;
}
nav ul li a.active {
text-decoration: underline;
}
main {
padding: 20px;
}
/* Program Section */
.programs-container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
border-radius: 8px;
}
.program-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Auto-adjust columns */
gap: 20px;
}
.program-card {
background-color: #f8f8f8;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
.program-card img {
max-width: 100%;
height: auto;
width: 90%;
max-height: 150px;
object-fit: contain;
margin-bottom: 15px;
}
.program-card h2 {
font-size: 22px;
color: #333;
margin-bottom: 10px;
}
.program-card p {
font-size: 16px;
color: #777;
margin-bottom: 15px;
}
.view-policy {
display: inline-block;
background-color: #007bff;
color: white;
padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s;
}
.view-policy:hover {
background-color: #0056b3;
}
/* Footer */
footer {
background-color: #333;
color: white;
padding: 10px;
text-align: center;
margin-top: 30px;
}
/* Media Queries for Responsiveness */
@media (max-width: 768px) {
.program-card img {
width: 100%; /* Make images take full width on smaller screens */
max-height: 120px; /* Reduce the max height on smaller screens */
}
.program-card h2 {
font-size: 18px;
}
.program-card p {
font-size: 14px;
}
.program-list {
grid-template-columns: 1fr 1fr; /* Two columns layout on medium screens */
}
}
@media (max-width: 480px) {
.program-list {
grid-template-columns: 1fr; /* Single column layout on small screens */
}
.program-card img {
max-height: 100px; /* Further reduce image size on very small screens */
}
.program-card h2 {
font-size: 16px;
}
.program-card p {
font-size: 12px;
}
}
</style>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="./about.html">About Us</a></li>
<li><a href="./leaderboard.html">Leaderboard</a></li>
<li><a href="./programs.html" class="active">Programs</a></li>
</ul>
</nav>
</header>
<main>
<section class="programs-container">
<h1>Bug Bounty Programs</h1>
<div class="program-list">
<!-- Example Program Card -->
<div class="program-card">
<img src="https://cdn-yeswehack.com/program/thumbnail/85c3578b-bc74-497f-be7a-6bde95722acc" alt="Program 1 Image" class="program-image">
<h2>Acme Corp</h2>
<p>Bounty Range: $100 - $5,000</p>
<a href="./policy1.html" class="view-policy">View Policy</a>
</div>
<div class="program-card">
<img src="https://cdn-yeswehack.com/program/thumbnail/85c3578b-bc74-497f-be7a-6bde95722acc" alt="Program 2 Image" class="program-image">
<h2>XYZ Software</h2>
<p>Bounty Range: $50 - $3,000</p>
<a href="./policy2.html" class="view-policy">View Policy</a>
</div>
<div class="program-card">
<img src="https://cdn-yeswehack.com/program/thumbnail/85c3578b-bc74-497f-be7a-6bde95722acc" alt="Program 3 Image" class="program-image">
<h2>Delta Systems</h2>
<p>Bounty Range: $200 - $10,000</p>
<a href="./policy3.html" class="view-policy">View Policy</a>
</div>
<div class="program-card">
<img src="https://cdn-yeswehack.com/program/thumbnail/85c3578b-bc74-497f-be7a-6bde95722acc" alt="Program 1 Image" class="program-image">
<h2>Acme Corp</h2>
<p>Bounty Range: $100 - $5,000</p>
<a href="./policy1.html" class="view-policy">View Policy</a>
</div>
<div class="program-card">
<img src="https://cdn-yeswehack.com/program/thumbnail/85c3578b-bc74-497f-be7a-6bde95722acc" alt="Program 2 Image" class="program-image">
<h2>XYZ Software</h2>
<p>Bounty Range: $50 - $3,000</p>
<a href="./policy2.html" class="view-policy">View Policy</a>
</div>
<div class="program-card">
<img src="https://cdn-yeswehack.com/program/thumbnail/85c3578b-bc74-497f-be7a-6bde95722acc" alt="Program 3 Image" class="program-image">
<h2>Delta Systems</h2>
<p>Bounty Range: $200 - $10,000</p>
<a href="./policy3.html" class="view-policy">View Policy</a>
</div>
<div class="program-card">
<img src="https://cdn-yeswehack.com/program/thumbnail/85c3578b-bc74-497f-be7a-6bde95722acc" alt="Program 1 Image" class="program-image">
<h2>Acme Corp</h2>
<p>Bounty Range: $100 - $5,000</p>
<a href="./policy1.html" class="view-policy">View Policy</a>
</div>
<div class="program-card">
<img src="https://cdn-yeswehack.com/program/thumbnail/85c3578b-bc74-497f-be7a-6bde95722acc" alt="Program 2 Image" class="program-image">
<h2>XYZ Software</h2>
<p>Bounty Range: $50 - $3,000</p>
<a href="./policy2.html" class="view-policy">View Policy</a>
</div>
<div class="program-card">
<img src="https://cdn-yeswehack.com/program/thumbnail/85c3578b-bc74-497f-be7a-6bde95722acc" alt="Program 3 Image" class="program-image">
<h2>Delta Systems</h2>
<p>Bounty Range: $200 - $10,000</p>
<a href="./policy3.html" class="view-policy">View Policy</a>
</div>
<!-- Add more program cards as needed -->
</div>
</section>
<footer>
<p>© 2024 Your Company. All rights reserved.</p>
</footer>
</main>
</body>
</html>