diff --git a/apps/website/config.ts b/apps/website/config.ts index bb52e9a..b8202f1 100644 --- a/apps/website/config.ts +++ b/apps/website/config.ts @@ -67,6 +67,10 @@ export const configConst = { text: 'Documentation', url: '/documentation', }, + { + text: 'Open source', + url: '/oss', + }, ], }, { diff --git a/apps/website/public/media/oss/page_media_1.svg b/apps/website/public/media/oss/page_media_1.svg new file mode 100644 index 0000000..15b0886 --- /dev/null +++ b/apps/website/public/media/oss/page_media_1.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/apps/website/public/media/oss/page_media_2.svg b/apps/website/public/media/oss/page_media_2.svg new file mode 100644 index 0000000..fc4d213 --- /dev/null +++ b/apps/website/public/media/oss/page_media_2.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/apps/website/public/media/oss/page_media_3.svg b/apps/website/public/media/oss/page_media_3.svg new file mode 100644 index 0000000..652a905 --- /dev/null +++ b/apps/website/public/media/oss/page_media_3.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/apps/website/src/pages/oss.astro b/apps/website/src/pages/oss.astro new file mode 100644 index 0000000..453ea84 --- /dev/null +++ b/apps/website/src/pages/oss.astro @@ -0,0 +1,134 @@ +--- +import Button from '@components/base/Button.astro'; +import Header from '@components/base/Header.astro'; +import Paragraph from '@components/base/Paragraph.astro'; +import Section from '@components/base/Section.astro'; +import configConst from '@config'; +import Layout from '@layouts/Layout.astro'; +import { Code } from 'astro:components'; + +const leftCodeBlock = `public class MyConfig { + @Switch( + name = "Sub Switch", + type = OptionType.SWITCH + ) + public static boolean subSwitch = false; + + public MyConfig() { + super(new Mod("My Mod", ModType.UTIL_QOL), "config.json"); + addDependency("subSwitch", () -> { + // Do stuff here + }); + } +}`; + +const rightCodeBlock = leftCodeBlock; + +--- + + +
+
+ +
+
+
+ Open Source Forever +
+ + We believe it is the right of the user and developer to know what code they are trusting to run behind the scenes. + + +
+
+ +
+
+ +
+
+ stuff +
+ +
+
+ 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. + +
+
+ +
+
+
+ Makes development faster +
+ + Open source lets us join forces with other developers in our community. This means new features and bug fixes come much faster, and way better. + +
+ +
+ stuff +
+
+ +
+
+ stuff +
+ +
+
+ Makes our code safer +
+ + There's no definite way to prevent anything from becoming malicious. But, open sourcing our code brings extra eyes to catch, and fix exploits before they’re abused. + +
+
+ +
+
+
+ Contribute to our GitHub! +
+
+ +
+
+
+
+ +