feat(report-card): decorative waves + exclude current entry from student works

This commit is contained in:
dev
2026-10-20 15:36:14 +03:00
parent ea8722b544
commit 451ca278cc
4 changed files with 32 additions and 5 deletions
+9
View File
@@ -500,6 +500,9 @@
<div class="modal-overlay report-overlay" id="reportCardModal">
<article class="student-card" aria-labelledby="reportCardName">
<svg class="student-card__wave-top" viewBox="0 0 125 65" aria-hidden="true" focusable="false">
<path d="M0 0H125V9.75A93.75 55.25 0 0 1 31.25 65H0Z"/>
</svg>
<div class="student-card__media" id="reportCardMedia">
<img class="student-card__photo" id="reportCardPhoto" alt="" decoding="async">
<div class="student-card__nophoto" id="reportCardNoPhoto" hidden>
@@ -512,6 +515,12 @@
<img class="student-card__logo" id="reportCardLogo" alt="" decoding="async" hidden>
</div>
<div class="student-card__content">
<svg class="student-card__wave-bl" viewBox="0 0 220 100" aria-hidden="true" focusable="false">
<path d="M0 0C25 35 15 65 55 75C90 85 115 55 155 85C175 100 195 112 220 100L220 100L0 100Z"/>
</svg>
<svg class="student-card__wave-br" viewBox="0 0 280 170" aria-hidden="true" focusable="false">
<path d="M0 170C30 125 55 125 100 120C160 115 180 65 205 30C225 0 255 0 280 0L280 170Z"/>
</svg>
<svg class="student-card__sparks" viewBox="0 0 120 40" aria-hidden="true" focusable="false">
<g fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round">
<path d="M6 30c14-6 30-6 44 0"/>