aboutsummaryrefslogtreecommitdiff
path: root/apps/website/src/pages/oss.astro
diff options
context:
space:
mode:
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>