aboutsummaryrefslogtreecommitdiff
path: root/apps/website/src/pages/oss.astro
diff options
context:
space:
mode:
authorWyvest <wyvestbusiness@gmail.com>2024-01-08 09:56:05 -0500
committerWyvest <wyvestbusiness@gmail.com>2024-01-08 09:56:05 -0500
commitd07c4c297d70568bfa7c030b6567ef142e85bba4 (patch)
treed7004c7a5a375c52e91626bb5a6132a89a833af1 /apps/website/src/pages/oss.astro
parent651684e9c6c8509001f3757b51c8aefbadbd6613 (diff)
downloadNexus-d07c4c297d70568bfa7c030b6567ef142e85bba4.tar.gz
Nexus-d07c4c297d70568bfa7c030b6567ef142e85bba4.tar.bz2
Nexus-d07c4c297d70568bfa7c030b6567ef142e85bba4.zip
modify some text
Diffstat (limited to 'apps/website/src/pages/oss.astro')
-rw-r--r--apps/website/src/pages/oss.astro17
1 files changed, 15 insertions, 2 deletions
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>