feat(marketing): bento grid 6 features (style FlexiHub)
This commit is contained in:
12
templates/macros/bento.html
Normal file
12
templates/macros/bento.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{# Reusable bento card macro. FlexiHub style: dark navy2 surface, decorative watermark number, gradient icon corner. #}
|
||||
{% macro bento_card(number, title, description, icon='✦', span='1') %}
|
||||
<div class="relative bg-brand-navy2 p-6 rounded-[18px] overflow-hidden col-span-{{ span }}"
|
||||
style="border: 1px solid rgba(255,255,255,0.045)">
|
||||
<div class="absolute top-2 right-4 text-[80px] font-black text-white/[0.04]" aria-hidden="true">{{ number }}</div>
|
||||
<div class="relative">
|
||||
<div class="w-10 h-10 grad-bg rounded-[0.5rem] mb-4 flex items-center justify-center text-lg">{{ icon }}</div>
|
||||
<h3 class="text-lg font-bold mb-2 text-white">{{ title }}</h3>
|
||||
<p class="text-sm text-white/70">{{ description }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user