From d07c4c297d70568bfa7c030b6567ef142e85bba4 Mon Sep 17 00:00:00 2001 From: Wyvest Date: Mon, 8 Jan 2024 09:56:05 -0500 Subject: modify some text --- apps/website/src/pages/contact.astro | 6 +++--- apps/website/src/pages/mods.astro | 2 +- apps/website/src/pages/oss.astro | 17 +++++++++++++++-- apps/website/src/pages/projects/oneconfig/index.astro | 2 +- 4 files changed, 20 insertions(+), 7 deletions(-) (limited to 'apps') diff --git a/apps/website/src/pages/contact.astro b/apps/website/src/pages/contact.astro index 193c2be..aac214d 100644 --- a/apps/website/src/pages/contact.astro +++ b/apps/website/src/pages/contact.astro @@ -13,7 +13,7 @@ import Layout from '@layouts/Layout.astro';
Feeling social? Come chat with us
- We primarily connect with our community with Discord, however we regularly check Github as well blah blah blah + We primarily connect with our community with Discord, however we regularly check Github as well.
{/* GitHub */} @@ -26,7 +26,7 @@ import Layout from '@layouts/Layout.astro';
--> - We love open source, so all of our projects are OSS. Anyone is welcome to contribute new features (and bugs) to our mods + We love open source, so all of our projects are OSS. Anyone is welcome to contribute new features (and bugs) to our mods. @@ -42,7 +42,7 @@ import Layout from '@layouts/Layout.astro'; --> - Join us today! It's the easiest way to chat with other members, suggest new features, and get support with your mods + Join us today! It's the easiest way to chat with other members, suggest new features, and get support with your mods. diff --git a/apps/website/src/pages/mods.astro b/apps/website/src/pages/mods.astro index 69e57f9..5a9b303 100644 --- a/apps/website/src/pages/mods.astro +++ b/apps/website/src/pages/mods.astro @@ -89,7 +89,7 @@ const modrinthUrl = `https://modrinth.com/${modrinthType}/${modrinthId}`; `public class MyConfig { @Switch( name = "Sub Switch", - type = OptionType.SWITCH + category = "General" ) public static boolean subSwitch = false; diff --git a/apps/website/src/pages/oss.astro b/apps/website/src/pages/oss.astro index d302810..7c64c4e 100644 --- a/apps/website/src/pages/oss.astro +++ b/apps/website/src/pages/oss.astro @@ -8,12 +8,25 @@ import Layout from '@layouts/Layout.astro'; import { Code } from 'astro:components'; const leftCodeBlock = `public class MyConfig { + @Switch( name = "Sub Switch", - type = OptionType.SWITCH + category = "General" ) public static boolean subSwitch = false; + @Dropdown( + name = "Sub Dropdown", + category = "General" + ) + public static int subSwitch = 0; + + @DualOption( + name = "Sub Dual Option", + category = "General" + ) + public static int subDualOption = 0; + public MyConfig() { super(new Mod("My Mod", ModType.UTIL_QOL), "config.json"); addDependency("subSwitch", () -> { @@ -55,7 +68,7 @@ const rightCodeBlock = leftCodeBlock; Rooted from the developers - We believe it's the only way forward, our developers learned and built on open source for years. Many even made their own contributions on our projects before joining our team. + Our developers learned and built on open source for years. Many even made their own contributions on our projects before joining our team.
diff --git a/apps/website/src/pages/projects/oneconfig/index.astro b/apps/website/src/pages/projects/oneconfig/index.astro index fcb1c7b..e8283f3 100644 --- a/apps/website/src/pages/projects/oneconfig/index.astro +++ b/apps/website/src/pages/projects/oneconfig/index.astro @@ -69,7 +69,7 @@ import { Code } from 'astro:components'; `public class MyConfig { @Switch( name = "Sub Switch", - type = OptionType.SWITCH + category = "General" ) public static boolean subSwitch = false; -- cgit