diff --git a/src/shared/ui/Section/Section.svelte b/src/shared/ui/Section/Section.svelte new file mode 100644 index 0000000..b9ececc --- /dev/null +++ b/src/shared/ui/Section/Section.svelte @@ -0,0 +1,70 @@ + + + +
+
+
+ {#if icon} + {@render icon({ className: 'size-4 stroke-gray-900 stroke-1' })} +
+ {/if} + {#if typeof index === 'number'} + + Component_{String(index).padStart(3, '0')} + + {/if} +
+ + {#if title} + {@render title({ className: 'text-5xl md:text-6xl font-semibold tracking-tighter text-gray-900 leading-[0.9]' })} + {/if} +
+ + {@render children?.()} +