From afd29e77a9dbc427902ecb7c04a5d218ab39fd6b Mon Sep 17 00:00:00 2001
From: LynithDev <61880709+LynithDev@users.noreply.github.com>
Date: Mon, 1 Jan 2024 12:46:03 +0100
Subject: [PATCH] Index page
---
.../public/media/index/page_media_1.svg | 180 ++++++++++++++++++
apps/website/src/components/base/Link.astro | 2 +-
apps/website/src/pages/index.astro | 167 +++++++++++++++-
3 files changed, 344 insertions(+), 5 deletions(-)
create mode 100644 apps/website/public/media/index/page_media_1.svg
diff --git a/apps/website/public/media/index/page_media_1.svg b/apps/website/public/media/index/page_media_1.svg
new file mode 100644
index 0000000..023ebbb
--- /dev/null
+++ b/apps/website/public/media/index/page_media_1.svg
@@ -0,0 +1,180 @@
+
+
diff --git a/apps/website/src/components/base/Link.astro b/apps/website/src/components/base/Link.astro
index a357c9c..30b95de 100644
--- a/apps/website/src/components/base/Link.astro
+++ b/apps/website/src/components/base/Link.astro
@@ -7,7 +7,7 @@ interface Props extends HTMLAttributes<'a'> {
const props = Astro.props;
const className = [
- 'hover:text-blue-500 hover:underline transition-colors',
+ 'hover:text-blue-500 underline decoration-[transparent] hover:decoration-blue-500 transition-colors',
props.class,
].join(' ');
---
diff --git a/apps/website/src/pages/index.astro b/apps/website/src/pages/index.astro
index ccc6852..3b09bf9 100644
--- a/apps/website/src/pages/index.astro
+++ b/apps/website/src/pages/index.astro
@@ -1,11 +1,170 @@
---
+import Button from '@components/base/Button.astro';
+import Header from '@components/base/Header.astro';
+import Link from '@components/base/Link.astro';
+import Paragraph from '@components/base/Paragraph.astro';
import Section from '@components/base/Section.astro';
+import Icon from '@components/icons/Icon.astro';
+import configConst from '@config';
import Layout from '@layouts/Layout.astro';
---
-
-
500
-
Internal Staff Error
-
(placeholder until I start copying over the old index page)
+
+
+
+
+
+
+
+ Introducing OneConfig 1.0
+
+
+ Read more
+
+
+
+
+
+ Passionate creators redefining the modding community
+
+
+ With a dedicated team of developers and a passionate community of players, Polyfrost continues to push the boundaries of what's possible in Minecraft modding.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ OneConfig has finally arrived.
+
+
+
+ Learn more about what OneConfig is, and how it's revolutionized modding and user experience.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Who we are
+
+ We're a group of passionate, self-driven designers, developers, and modders creating mods and libraries for the Minecraft community.
+
+
+
+
+
+
+
+
+
+
+ Our commitment
+
+
+ Above all, we're committed to bringing quality, open sourced tools built around usability, accessibility to the greater modding community.
+
+