Spaces:
Running
Running
added feedback form
Browse files
app.py
CHANGED
|
@@ -1320,32 +1320,70 @@ with gr.Blocks(
|
|
| 1320 |
theme=gr.themes.Soft(),
|
| 1321 |
) as app:
|
| 1322 |
gr.Markdown("## 🎓 Student Reward Points Checker")
|
| 1323 |
-
gr.HTML(
|
| 1324 |
-
|
| 1325 |
-
|
| 1326 |
-
|
| 1327 |
-
|
| 1328 |
-
|
| 1329 |
-
|
| 1330 |
-
|
| 1331 |
-
|
| 1332 |
-
|
| 1333 |
-
|
| 1334 |
-
|
| 1335 |
-
|
| 1336 |
-
|
| 1337 |
-
|
| 1338 |
-
|
| 1339 |
-
|
| 1340 |
-
|
| 1341 |
-
|
| 1342 |
-
|
| 1343 |
-
|
| 1344 |
-
|
| 1345 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1346 |
</div>
|
| 1347 |
-
""
|
| 1348 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1349 |
gr.Markdown("##### Search for Reward Points, Redemption Dates and Innovative Practice (IP) Details")
|
| 1350 |
gr.Markdown("##### எல்லா புகழும் இறைவனுக்கே ✝ 🕉 ☪")
|
| 1351 |
gr.Markdown("""
|
|
|
|
| 1320 |
theme=gr.themes.Soft(),
|
| 1321 |
) as app:
|
| 1322 |
gr.Markdown("## 🎓 Student Reward Points Checker")
|
| 1323 |
+
gr.HTML("""
|
| 1324 |
+
<style>
|
| 1325 |
+
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@300;400;500&display=swap');
|
| 1326 |
+
.survey-banner {
|
| 1327 |
+
font-family: 'DM Sans', sans-serif;
|
| 1328 |
+
background: linear-gradient(135deg, #0d1b2a 0%, #1a2d4a 50%, #0d2035 100%);
|
| 1329 |
+
border-radius: 18px;
|
| 1330 |
+
padding: 28px 32px;
|
| 1331 |
+
position: relative;
|
| 1332 |
+
overflow: hidden;
|
| 1333 |
+
display: flex;
|
| 1334 |
+
align-items: center;
|
| 1335 |
+
justify-content: space-between;
|
| 1336 |
+
gap: 24px;
|
| 1337 |
+
border: 1px solid rgba(0,220,190,0.18);
|
| 1338 |
+
box-shadow: 0 8px 32px rgba(0,0,0,0.35);
|
| 1339 |
+
margin-bottom: 14px;
|
| 1340 |
+
}
|
| 1341 |
+
.orb { position:absolute; border-radius:50%; pointer-events:none; }
|
| 1342 |
+
.orb-1 { width:220px;height:220px;background:radial-gradient(circle,rgba(0,220,190,0.13) 0%,transparent 70%);top:-80px;left:-60px; }
|
| 1343 |
+
.orb-2 { width:180px;height:180px;background:radial-gradient(circle,rgba(255,185,60,0.11) 0%,transparent 70%);bottom:-70px;right:120px; }
|
| 1344 |
+
.eyebrow { font-size:11px;font-weight:500;letter-spacing:0.14em;text-transform:uppercase;color:#00dcc0;margin-bottom:8px;display:flex;align-items:center;gap:6px; }
|
| 1345 |
+
.eyebrow-dot { width:6px;height:6px;border-radius:50%;background:#00dcc0;display:inline-block;animation:pulse 2s ease-in-out infinite; }
|
| 1346 |
+
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.7)} }
|
| 1347 |
+
.survey-headline { font-family:'Syne',sans-serif;font-size:22px;font-weight:800;color:#fff;line-height:1.2;margin-bottom:6px; }
|
| 1348 |
+
.survey-headline .accent { color:#ffc24a; }
|
| 1349 |
+
.subline { font-size:14px;color:rgba(210,230,255,0.62);font-weight:300;line-height:1.5; }
|
| 1350 |
+
.stars { display:flex;gap:3px;margin-top:10px;align-items:center; }
|
| 1351 |
+
.star { color:#ffc24a;font-size:14px; }
|
| 1352 |
+
.star-label { font-size:12px;color:rgba(210,230,255,0.45);margin-left:6px; }
|
| 1353 |
+
.badge-row { display:flex;gap:8px;margin-top:14px;flex-wrap:wrap; }
|
| 1354 |
+
.badge { font-size:11px;padding:4px 10px;border-radius:100px;font-weight:500;letter-spacing:0.04em;border:1px solid; }
|
| 1355 |
+
.badge-teal { background:rgba(0,220,190,0.1);color:#00dcc0;border-color:rgba(0,220,190,0.22); }
|
| 1356 |
+
.badge-amber { background:rgba(255,194,74,0.1);color:#ffc24a;border-color:rgba(255,194,74,0.22); }
|
| 1357 |
+
.badge-purple { background:rgba(160,130,255,0.1);color:#b8a4ff;border-color:rgba(160,130,255,0.22); }
|
| 1358 |
+
.cta-section { display:flex;flex-direction:column;align-items:center;gap:10px;flex-shrink:0; }
|
| 1359 |
+
.cta-btn { display:inline-flex;align-items:center;gap:8px;padding:14px 26px;background:linear-gradient(135deg,#00dcc0,#00b8a8);color:#082020;border-radius:50px;font-family:'Syne',sans-serif;font-size:14px;font-weight:700;text-decoration:none;box-shadow:0 6px 24px rgba(0,220,190,0.35);white-space:nowrap;transition:transform 0.15s,box-shadow 0.15s; }
|
| 1360 |
+
.cta-btn:hover { transform:translateY(-2px) scale(1.03);box-shadow:0 10px 32px rgba(0,220,190,0.48); }
|
| 1361 |
+
.cta-note { font-size:11px;color:rgba(210,230,255,0.35);text-align:center; }
|
| 1362 |
+
</style>
|
| 1363 |
+
|
| 1364 |
+
<div class="survey-banner">
|
| 1365 |
+
<div class="orb orb-1"></div>
|
| 1366 |
+
<div class="orb orb-2"></div>
|
| 1367 |
+
<div style="flex:1;position:relative;z-index:1;">
|
| 1368 |
+
<div class="eyebrow"><span class="eyebrow-dot"></span> Community appreciation</div>
|
| 1369 |
+
<div class="survey-headline">Thank you for the <span class="accent">awesome</span> support! 🎉</div>
|
| 1370 |
+
<div class="subline">Your feedback shapes what we build next. Takes just 2 minutes.</div>
|
| 1371 |
+
<div class="stars">
|
| 1372 |
+
<span class="star">★</span><span class="star">★</span><span class="star">★</span><span class="star">★</span><span class="star">★</span>
|
| 1373 |
+
<span class="star-label">Tell us what you think</span>
|
| 1374 |
</div>
|
| 1375 |
+
<div class="badge-row">
|
| 1376 |
+
<span class="badge badge-teal">2 min survey</span>
|
| 1377 |
+
<span class="badge badge-amber">Anonymous</span>
|
| 1378 |
+
<span class="badge badge-purple">Shape the future</span>
|
| 1379 |
+
</div>
|
| 1380 |
+
</div>
|
| 1381 |
+
<div class="cta-section">
|
| 1382 |
+
<a class="cta-btn" href="https://forms.gle/MvkwjkVqYyHPC9U77" target="_blank">Fill the Survey →</a>
|
| 1383 |
+
<div class="cta-note">No login required · 100% anonymous</div>
|
| 1384 |
+
</div>
|
| 1385 |
+
</div>
|
| 1386 |
+
""")
|
| 1387 |
gr.Markdown("##### Search for Reward Points, Redemption Dates and Innovative Practice (IP) Details")
|
| 1388 |
gr.Markdown("##### எல்லா புகழும் இறைவனுக்கே ✝ 🕉 ☪")
|
| 1389 |
gr.Markdown("""
|