diff options
author | LynithDev <61880709+LynithDev@users.noreply.github.com> | 2023-12-28 16:34:52 +0100 |
---|---|---|
committer | LynithDev <61880709+LynithDev@users.noreply.github.com> | 2023-12-28 16:34:52 +0100 |
commit | d6c7fad43961975026a7e4e9ae21406f505e0a2e (patch) | |
tree | 76e205167ac203111f6272841e82352f0201b256 /apps/website/src/components/base/Section.astro | |
parent | bf5075ed85bafd9c0b2b5e0a05df68a78b7da04f (diff) | |
download | Nexus-d6c7fad43961975026a7e4e9ae21406f505e0a2e.tar.gz Nexus-d6c7fad43961975026a7e4e9ae21406f505e0a2e.tar.bz2 Nexus-d6c7fad43961975026a7e4e9ae21406f505e0a2e.zip |
fullpage.js
Diffstat (limited to 'apps/website/src/components/base/Section.astro')
-rw-r--r-- | apps/website/src/components/base/Section.astro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/website/src/components/base/Section.astro b/apps/website/src/components/base/Section.astro index d3edfcf..45750f6 100644 --- a/apps/website/src/components/base/Section.astro +++ b/apps/website/src/components/base/Section.astro @@ -7,6 +7,7 @@ interface Props extends HTMLAttributes<'section'> { wrapperClass?: string wFull?: boolean hFull?: boolean + sectionClass?: boolean } const { @@ -15,6 +16,7 @@ const { wrapperClass = '', wFull = true, hFull = false, + sectionClass = true, ...props } = Astro.props; @@ -26,7 +28,7 @@ const twoColumnClasses = ` ${maxWidth === 'none' ? 'justify-center' : 'justify-c const className = `max-w-[${maxWidth}] ${hFull ? 'min-h-screen' : 'h-auto'} ${wFull ? 'w-full' : `w-[${maxWidth}]`} px-5 md:p-0 flex gap-x-20 gap-y-4${twoColumn ? twoColumnClasses : ''}${props.class ? ` ${props.class}` : ''}`; --- -<section class={`w-full flex justify-center ${wrapperClass ?? ''}`}> +<section class={`${sectionClass ? 'section ' : ''}w-full outline-none flex justify-center ${wrapperClass ?? ''}`}> <div class={className} {...props}> {twoColumn ? ( |