diff options
Diffstat (limited to 'apps/website/src/components/base/Section.astro')
-rw-r--r-- | apps/website/src/components/base/Section.astro | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/apps/website/src/components/base/Section.astro b/apps/website/src/components/base/Section.astro index 55e3737..b2842f6 100644 --- a/apps/website/src/components/base/Section.astro +++ b/apps/website/src/components/base/Section.astro @@ -23,20 +23,20 @@ const className = `max-w-[${maxWidth}] ${wFull ? 'w-full' : `w-[${maxWidth}]`} p }${props.class ? ` ${props.class}` : ''}`; --- - <section class={`w-full flex justify-center ${wrapperClass ?? ''}`}> - <div class={className} {...props}> - {twoColumn - ? ( +<section class={`w-full flex justify-center ${wrapperClass ?? ''}`}> + <div class={className} {...props}> + {twoColumn + ? ( + <div class="flex flex-col items-start text-left relative"> + <slot name="left"></slot> + </div> + <div class="flex flex-col items-start text-left relative"> - <slot name="left"></slot> + <slot name="right"></slot> </div> - - <div class="flex flex-col items-start text-left relative"> - <slot name="right"></slot> - </div> - ) - : ( - <slot></slot> - )} - </div> - </section> + ) + : ( + <slot></slot> + )} + </div> +</section> |