feat: Add source info to member_since card
- Changed card color from blue to green (#10b981) - Added "Źródło: Izba NORDA" text below years count - Consistent styling with other legal info cards Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
8f1a7d6706
commit
3c1e05baf5
@ -1372,20 +1372,21 @@
|
||||
|
||||
<!-- Member Since Card (Norda Biznes membership) -->
|
||||
{% if company.member_since %}
|
||||
<div style="background: var(--background); border-radius: var(--radius-lg); padding: var(--spacing-lg); border: 2px solid #3b82f6;">
|
||||
<div style="background: var(--background); border-radius: var(--radius-lg); padding: var(--spacing-lg); border: 2px solid #10b981;">
|
||||
<div style="display: flex; align-items: center; gap: var(--spacing-md);">
|
||||
<div style="width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #3b82f6; color: white;">
|
||||
<div style="width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #10b981; color: white;">
|
||||
<svg width="24" height="24" fill="currentColor" viewBox="0 0 24 24">
|
||||
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div>
|
||||
<div style="font-size: var(--font-size-sm); color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em;">Członek Izby NORDA od</div>
|
||||
<div style="font-size: var(--font-size-xl); font-weight: 700; color: #3b82f6;">{{ company.member_since.strftime('%d.%m.%Y') }}</div>
|
||||
<div style="font-size: var(--font-size-xl); font-weight: 700; color: #10b981;">{{ company.member_since.strftime('%d.%m.%Y') }}</div>
|
||||
{% set years_member = ((now().date() - company.member_since).days / 365.25)|int %}
|
||||
{% if years_member > 0 %}
|
||||
<div style="font-size: var(--font-size-sm); color: var(--text-secondary);">{{ years_member }} lat w Izbie</div>
|
||||
{% endif %}
|
||||
<div style="font-size: var(--font-size-xs); color: var(--text-muted); margin-top: var(--spacing-xs);">Źródło: <strong style="color: #10b981;">Izba NORDA</strong></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user