diff options
author | LynithDev <61880709+LynithDev@users.noreply.github.com> | 2023-12-30 10:40:21 +0100 |
---|---|---|
committer | LynithDev <61880709+LynithDev@users.noreply.github.com> | 2023-12-30 10:40:21 +0100 |
commit | 17d8ba3e604a73a2e60e7490ba9a1c3e146e0cf3 (patch) | |
tree | 6a1c88c34ae2c75df39c2b73bd5325f0eb8239fa /apps/website/src | |
parent | d6c7fad43961975026a7e4e9ae21406f505e0a2e (diff) | |
download | Nexus-17d8ba3e604a73a2e60e7490ba9a1c3e146e0cf3.tar.gz Nexus-17d8ba3e604a73a2e60e7490ba9a1c3e146e0cf3.tar.bz2 Nexus-17d8ba3e604a73a2e60e7490ba9a1c3e146e0cf3.zip |
remove fullpage.js
Diffstat (limited to 'apps/website/src')
-rw-r--r-- | apps/website/src/components/base/Section.astro | 4 | ||||
-rw-r--r-- | apps/website/src/layouts/Layout.astro | 2 | ||||
-rw-r--r-- | apps/website/src/pages/projects/oneconfig.astro | 4 |
3 files changed, 3 insertions, 7 deletions
diff --git a/apps/website/src/components/base/Section.astro b/apps/website/src/components/base/Section.astro index 45750f6..a12ed12 100644 --- a/apps/website/src/components/base/Section.astro +++ b/apps/website/src/components/base/Section.astro @@ -7,7 +7,6 @@ interface Props extends HTMLAttributes<'section'> { wrapperClass?: string wFull?: boolean hFull?: boolean - sectionClass?: boolean } const { @@ -16,7 +15,6 @@ const { wrapperClass = '', wFull = true, hFull = false, - sectionClass = true, ...props } = Astro.props; @@ -28,7 +26,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={`${sectionClass ? 'section ' : ''}w-full outline-none flex justify-center ${wrapperClass ?? ''}`}> +<section class={`w-full outline-none flex justify-center ${wrapperClass ?? ''}`}> <div class={className} {...props}> {twoColumn ? ( diff --git a/apps/website/src/layouts/Layout.astro b/apps/website/src/layouts/Layout.astro index 8653d90..2658006 100644 --- a/apps/website/src/layouts/Layout.astro +++ b/apps/website/src/layouts/Layout.astro @@ -32,8 +32,6 @@ const { <link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital@0;1&display=swap" rel="stylesheet"/> <title>{title}</title> - <script src="/libs/fullpage.min.js" defer></script> - <script src="/scripts/scroll.js" defer></script> </head> <body class="bg-gray-50 overflow-x-hidden"> diff --git a/apps/website/src/pages/projects/oneconfig.astro b/apps/website/src/pages/projects/oneconfig.astro index 1489bb1..700fd3d 100644 --- a/apps/website/src/pages/projects/oneconfig.astro +++ b/apps/website/src/pages/projects/oneconfig.astro @@ -59,7 +59,7 @@ import { Code } from 'astro:components'; </Section> <div class="section bg-blue-75 flex flex-col justify-center items-center min-h-screen"> - <Section sectionClass={false} maxWidth="1120px" wFull={false} class="pt-10 md:py-20 max-sm:h-screen"> + <Section maxWidth="1120px" wFull={false} class="pt-10 md:py-20 max-sm:h-screen"> <div slot="left"> <!-- TODO: FIX Codeblock overflowing on mobile --> <div class="max-sm:hidden"> @@ -95,7 +95,7 @@ import { Code } from 'astro:components'; </div> </Section> - <Section sectionClass={false} maxWidth="1120px" wFull={false} class="py-10 md:py-20 gap-4 max-sm:h-screen"> + <Section maxWidth="1120px" wFull={false} class="py-10 md:py-20 gap-4 max-sm:h-screen"> <div slot="left" class="flex flex-col gap-2 text-left items-start"> <Header size="xl" class="text-blue-500">Designed for users</Header> <Paragraph class="text-blue-400 max-w-[500px]"> |