diff options
Diffstat (limited to 'apps/website/src/pages')
-rw-r--r-- | apps/website/src/pages/contact.astro | 6 | ||||
-rw-r--r-- | apps/website/src/pages/mods.astro | 2 | ||||
-rw-r--r-- | apps/website/src/pages/oss.astro | 17 | ||||
-rw-r--r-- | apps/website/src/pages/projects/oneconfig/index.astro | 2 |
4 files changed, 20 insertions, 7 deletions
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'; <Section wrapperClass="min-h-screen" class="my-40 md:my-40 xl:my-20 2xl:my-20 justify-center items-center flex-col"> <Header size="xl" class="text-navy-peony text-center">Feeling social? Come chat with us</Header> <Paragraph class="text-blue-gray max-w-2xl text-center"> - 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. </Paragraph> <div class="flex flex-row flex-wrap p-5 w-full justify-center items-center gap-8"> {/* GitHub */} @@ -26,7 +26,7 @@ import Layout from '@layouts/Layout.astro'; </div> --> <Paragraph size="sm" class="text-blue-gray max-w-48 text-center my-4"> - 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. </Paragraph> <Button style="secondary" href="http://github.com/Polyfrost/" iconLeft="code" size="sm" class="w-full">Contribute today</Button> @@ -42,7 +42,7 @@ import Layout from '@layouts/Layout.astro'; </div> --> <Paragraph size="sm" class="text-blue-gray max-w-48 text-center my-4"> - 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. </Paragraph> <Button style="secondary" href="/discord" iconLeft="chat" size="sm" class="w-full">Chat with us</Button> 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 </Header> <Paragraph size="md" class="text-gray-400 max-w-[500px]"> - 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. </Paragraph> </div> </Section> 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; |