From d6c7fad43961975026a7e4e9ae21406f505e0a2e Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Thu, 28 Dec 2023 16:34:52 +0100 Subject: fullpage.js --- apps/website/src/components/base/Section.astro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/website/src/components/base/Section.astro') 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}` : ''}`; --- -
+
{twoColumn ? ( -- cgit