From 6db9917e7d2ffaa1a9e08c326c0ac8736332823c Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Tue, 26 Dec 2023 17:16:04 +0100 Subject: Slider tweaks --- apps/website/src/components/base/Button.astro | 1 + apps/website/src/components/base/Card.astro | 8 ++-- apps/website/src/components/base/Slider.astro | 2 +- apps/website/src/pages/projects/oneconfig.astro | 54 ++++++++++++++----------- 4 files changed, 37 insertions(+), 28 deletions(-) (limited to 'apps') diff --git a/apps/website/src/components/base/Button.astro b/apps/website/src/components/base/Button.astro index 285052a..fef01f6 100644 --- a/apps/website/src/components/base/Button.astro +++ b/apps/website/src/components/base/Button.astro @@ -7,6 +7,7 @@ const styles = { // TODO: adjust active / disabled colors primary: 'bg-blue-500 text-white hover:bg-blue-400 active:bg-blue-600 disabled:bg-blue-800 disabled:text-white-1/4', secondary: 'bg-blue-20 text-blue-60 border-[1px] border-blue-30 hover:bg-blue-200 active:bg-blue-300 disabled:bg-blue-50 disabled:text-blue-200', + ghost: 'bg-transparent text-blue-500 hover:bg-blue-20 active:bg-blue-30 disabled:bg-transparent disabled:text-blue-200', }; const sizes = { diff --git a/apps/website/src/components/base/Card.astro b/apps/website/src/components/base/Card.astro index 7cc51b2..9b75f16 100644 --- a/apps/website/src/components/base/Card.astro +++ b/apps/website/src/components/base/Card.astro @@ -16,7 +16,7 @@ const { --- -
- -

{text}

-
+
+ +

{text}

+
diff --git a/apps/website/src/components/base/Slider.astro b/apps/website/src/components/base/Slider.astro index ae4bbae..3fbca91 100644 --- a/apps/website/src/components/base/Slider.astro +++ b/apps/website/src/components/base/Slider.astro @@ -14,7 +14,7 @@ const { wrapperClass = '', childrenNum, childrenSize = '256px', - speed = '15s', + speed = '20s', } = Astro.props; --- diff --git a/apps/website/src/pages/projects/oneconfig.astro b/apps/website/src/pages/projects/oneconfig.astro index faa8a98..d5fc98b 100644 --- a/apps/website/src/pages/projects/oneconfig.astro +++ b/apps/website/src/pages/projects/oneconfig.astro @@ -97,7 +97,7 @@ import { Code } from 'astro:components'; We take pride in having the cleanest and most intuitive UI of any mod, config library, or client out there.
-
@@ -120,32 +120,40 @@ import { Code } from 'astro:components'; Discover a wide range of mods integrated with OneConfig to enhance your experience. -
-
+ - - - - - - - - - - - - - - - - - - - - +
+
+ + + + + + + + + + + + + + + + + + + + +
+
+
-- cgit