-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-mobile-achievements.html
More file actions
188 lines (184 loc) · 6.08 KB
/
test-mobile-achievements.html
File metadata and controls
188 lines (184 loc) · 6.08 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mobile Achievement Test</title>
<style>
body {
margin: 0;
font-family: Arial, sans-serif;
background: #f0f0f0;
}
.container {
padding: 20px;
max-width: 400px;
margin: 0 auto;
}
.achievement-card {
background: white;
border: 4px solid black;
margin-bottom: 20px;
overflow: hidden;
min-height: 600px;
display: flex;
flex-direction: column;
}
.image-section {
height: 256px;
border-bottom: 4px solid black;
background: linear-gradient(135deg, #ff8c42, #f0f0f0);
position: relative;
display: flex;
align-items: center;
justify-content: center;
}
.image-section img {
width: 100%;
height: 100%;
object-fit: cover;
}
.featured-badge {
position: absolute;
top: 12px;
right: 12px;
background: #ffd700;
border: 2px solid black;
padding: 4px 8px;
font-weight: bold;
font-size: 12px;
text-transform: uppercase;
}
.content-section {
padding: 16px;
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.category {
color: #ff8c42;
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
margin-bottom: 8px;
}
.title {
font-size: 18px;
font-weight: bold;
text-transform: uppercase;
margin-bottom: 12px;
line-height: 1.2;
}
.description {
font-size: 14px;
line-height: 1.5;
margin-bottom: 16px;
}
.impact-section {
margin-bottom: 16px;
}
.impact-title {
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
margin-bottom: 12px;
}
.impact-list {
list-style: none;
padding: 0;
}
.impact-item {
display: flex;
align-items: flex-start;
margin-bottom: 8px;
font-size: 14px;
}
.impact-bullet {
width: 8px;
height: 8px;
background: #ff8c42;
border: 1px solid black;
margin-top: 6px;
margin-right: 12px;
flex-shrink: 0;
}
.footer-section {
border-top: 4px solid black;
padding-top: 12px;
margin-top: auto;
}
.organization {
font-size: 14px;
font-weight: bold;
text-transform: uppercase;
}
.date {
color: #ff8c42;
font-size: 14px;
font-weight: bold;
text-transform: uppercase;
margin-top: 4px;
}
.view-button {
background: #ff8c42;
border: 2px solid black;
padding: 12px 16px;
text-align: center;
font-weight: bold;
text-transform: uppercase;
text-decoration: none;
color: black;
margin-top: 12px;
display: block;
transition: all 0.3s;
}
.view-button:hover {
transform: scale(1.05);
}
</style>
</head>
<body>
<div class="container">
<h1 style="text-align: center; margin-bottom: 30px;">Mobile Achievement Card Test</h1>
<div class="achievement-card">
<div class="image-section">
<img src="http://localhost:3000/awards/Odoo.webp" alt="ODOO Achievement"
onerror="this.style.display='none'; this.parentElement.innerHTML='<div style=\'text-align: center;\'><div style=\'font-size: 48px; margin-bottom: 8px;\'>🏆</div><div style=\'font-weight: bold;\'>HACKATHON</div></div>';">
<div class="featured-badge">FEATURED</div>
</div>
<div class="content-section">
<div>
<div class="category">HACKATHON</div>
<div class="title">ODOO India Hackathon 2025 - Top 10</div>
<div class="description">
Selected among the top 10 teams from 10,000+ participants for technical innovation and product viability in ODOO India Hackathon 2025.
</div>
<div class="impact-section">
<div class="impact-title">KEY IMPACT</div>
<ul class="impact-list">
<li class="impact-item">
<span class="impact-bullet"></span>
<span>Selected from 10,000+ participants nationwide</span>
</li>
<li class="impact-item">
<span class="impact-bullet"></span>
<span>Recognized for technical innovation and product viability</span>
</li>
<li class="impact-item">
<span class="impact-bullet"></span>
<span>Demonstrated advanced problem-solving capabilities</span>
</li>
</ul>
</div>
</div>
<div class="footer-section">
<div class="organization">ODOO</div>
<div class="date">2025</div>
<a href="#" class="view-button">VIEW DETAILS →</a>
</div>
</div>
</div>
</div>
</body>
</html>