From 6a861210972c00d53992fd808488fc86c5947481 Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Mon, 1 Jan 2024 18:31:32 +0100 Subject: Remove big spacing on oneconfig page --- apps/website/src/components/base/Section.astro | 8 +------- apps/website/src/pages/index.astro | 4 ++-- apps/website/src/pages/projects/oneconfig.astro | 26 ++++++++++++------------- 3 files changed, 16 insertions(+), 22 deletions(-) (limited to 'apps/website/src') diff --git a/apps/website/src/components/base/Section.astro b/apps/website/src/components/base/Section.astro index 5f3cc1d..c463a16 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 - scrollSection?: boolean } const { @@ -16,7 +15,6 @@ const { wrapperClass = '', wFull = true, hFull = false, - scrollSection = true, ...props } = Astro.props; @@ -26,13 +24,9 @@ const twoColumnClasses = ` ${maxWidth === 'none' ? 'justify-center' : 'justify-c ${colReverse ? 'flex-col-reverse' : 'flex-col'} lg:flex-row items-center`; const className = `max-w-[${maxWidth}] ${hFull ? 'min-h-screen' : 'h-auto'} ${wFull ? 'w-full' : `w-[${maxWidth}]`} px-5 xl:px-0 flex gap-x-20 gap-y-4${twoColumn ? twoColumnClasses : ''}${props.class ? ` ${props.class}` : ''}`; - -const sectionAttr = { - ...(scrollSection ? { 'data-scroll-section': '' } : {}), -}; --- -
+
{twoColumn ? ( diff --git a/apps/website/src/pages/index.astro b/apps/website/src/pages/index.astro index b291ef8..72e7af4 100644 --- a/apps/website/src/pages/index.astro +++ b/apps/website/src/pages/index.astro @@ -16,7 +16,7 @@ import Layout from '@layouts/Layout.astro'; viewBox="0 0 1155 678"> @@ -29,7 +29,7 @@ import Layout from '@layouts/Layout.astro';
-
+
Introducing OneConfig diff --git a/apps/website/src/pages/projects/oneconfig.astro b/apps/website/src/pages/projects/oneconfig.astro index 47d415c..a712d18 100644 --- a/apps/website/src/pages/projects/oneconfig.astro +++ b/apps/website/src/pages/projects/oneconfig.astro @@ -27,18 +27,18 @@ import { Code } from 'astro:components';
-
+
Forge is complicated
Modding Minecraft has always been difficult, particularly with their configuration. Remembering all of the keybinds, commands; it just isn't intuitive.
-
+
stuff
-
-
+
+
stuff
@@ -48,20 +48,20 @@ import { Code } from 'astro:components';
-
-
+
+
Best of both worlds
OneConfig brings the simplicity of a client to the everyday user, gives advanced users and developers complete control over everything, while remaining free and open-source.
-
+
stuff
-
-
-
+
+
+
-
+
Designed for users
@@ -112,7 +112,7 @@ import { Code } from 'astro:components';
-
+
A unified HUD editor
@@ -122,7 +122,7 @@ import { Code } from 'astro:components';
-
+
With many fabulous mods
-- cgit