From 90b3a901f3288033cf491192741badc22293d86e Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Sat, 6 Jan 2024 18:21:55 +0100 Subject: OneConfig Download page --- apps/website/config.ts | 1 + apps/website/public/media/oneconfig/skyclient.png | Bin 0 -> 152527 bytes apps/website/src/components/base/Section.astro | 2 +- .../src/components/base/navbar/Navbar.astro | 2 +- apps/website/src/pages/projects/oneconfig.astro | 171 --------------------- .../src/pages/projects/oneconfig/download.astro | 61 ++++++++ .../src/pages/projects/oneconfig/index.astro | 171 +++++++++++++++++++++ apps/website/src/types/Config.d.ts | 1 + 8 files changed, 236 insertions(+), 173 deletions(-) create mode 100644 apps/website/public/media/oneconfig/skyclient.png delete mode 100644 apps/website/src/pages/projects/oneconfig.astro create mode 100644 apps/website/src/pages/projects/oneconfig/download.astro create mode 100644 apps/website/src/pages/projects/oneconfig/index.astro diff --git a/apps/website/config.ts b/apps/website/config.ts index f924f80..b0d7211 100644 --- a/apps/website/config.ts +++ b/apps/website/config.ts @@ -8,6 +8,7 @@ export const configConst = { discord: '/discord', github: 'https://github.com/Polyfrost', modrinthId: 'a6VEZDKe', // user id of Wyvest + skyclient: 'https://skyclient.co', }, navbar: { left: [ diff --git a/apps/website/public/media/oneconfig/skyclient.png b/apps/website/public/media/oneconfig/skyclient.png new file mode 100644 index 0000000..57f3b40 Binary files /dev/null and b/apps/website/public/media/oneconfig/skyclient.png differ diff --git a/apps/website/src/components/base/Section.astro b/apps/website/src/components/base/Section.astro index c463a16..6ea3075 100644 --- a/apps/website/src/components/base/Section.astro +++ b/apps/website/src/components/base/Section.astro @@ -10,7 +10,7 @@ interface Props extends HTMLAttributes<'section'> { } const { - maxWidth = '1080px', + maxWidth = '1024px', colReverse = true, wrapperClass = '', wFull = true, diff --git a/apps/website/src/components/base/navbar/Navbar.astro b/apps/website/src/components/base/navbar/Navbar.astro index bd2c2b5..8903b7e 100644 --- a/apps/website/src/components/base/navbar/Navbar.astro +++ b/apps/website/src/components/base/navbar/Navbar.astro @@ -8,7 +8,7 @@ interface Props extends HTMLAttributes<'div'> {} const props = Astro.props; ---
-