aboutsummaryrefslogtreecommitdiff
path: root/apps/website/src/pages/projects/oneconfig.astro
diff options
context:
space:
mode:
authorWyvest <wyvestbusiness@gmail.com>2023-12-18 11:33:44 +0900
committerWyvest <wyvestbusiness@gmail.com>2023-12-18 11:33:44 +0900
commitfa189e92efa35b887530d3c3c6eb64b0e95aec63 (patch)
tree235d495a3b4178516dd74603e57ce70663ef7686 /apps/website/src/pages/projects/oneconfig.astro
parent1c03b119f362e6d526ccfc897b2abc145bcde3b3 (diff)
downloadNexus-fa189e92efa35b887530d3c3c6eb64b0e95aec63.tar.gz
Nexus-fa189e92efa35b887530d3c3c6eb64b0e95aec63.tar.bz2
Nexus-fa189e92efa35b887530d3c3c6eb64b0e95aec63.zip
some stuff
Diffstat (limited to 'apps/website/src/pages/projects/oneconfig.astro')
-rw-r--r--apps/website/src/pages/projects/oneconfig.astro54
1 files changed, 27 insertions, 27 deletions
diff --git a/apps/website/src/pages/projects/oneconfig.astro b/apps/website/src/pages/projects/oneconfig.astro
index 321243a..7766f12 100644
--- a/apps/website/src/pages/projects/oneconfig.astro
+++ b/apps/website/src/pages/projects/oneconfig.astro
@@ -20,8 +20,8 @@ import Card from '@components/base/Card.astro';
Meet <b>OneConfig</b>, the library designed for <b>everyone</b>.
</Header>
<div class="flex flex-row justify-center items-center gap-2">
- <Button iconLeft="download" text="Download" />
- <Button href="/documentation" iconLeft="book-open" style="secondary" text="Documentation" />
+ <Button href="/projects/oneconfig/download" iconLeft="download" text="Download" />
+ <Button href="https://docs.polyfrost.org" iconLeft="book-open" style="secondary" text="Documentation" />
</div>
</Section>
@@ -62,7 +62,10 @@ import Card from '@components/base/Card.astro';
<Section maxWidth="1120px" wrapperClass="bg-blue-100 -mb-40" wFull={false} class="md:py-20 gap-4 pr-2">
<div slot="left" class='pr-2'>
<Code code={`public class MyConfig {
- @Switch(name = "Sub Switch", type = OptionType.SWITCH)
+ @Switch(
+ name = "Sub Switch",
+ type = OptionType.SWITCH
+ )
public static boolean subSwitch = false;
public MyConfig() {
@@ -77,10 +80,10 @@ import Card from '@components/base/Card.astro';
<div slot="right" class="flex flex-col gap-2">
<Header size="xl" class="text-blue-500">Written for developers</Header>
<Paragraph class="text-blue-400 max-w-[500px]">
- With Polyfrost's simple APIs, it's easy to integrate your mods into Polyfrost something
+ With our simple APIs and documentation, it's easier than ever to integrate your mods with OneConfig.
</Paragraph>
<div class="flex">
- <Button href="/documentation" iconLeft="book-open" style="secondary" text="Documentation" />
+ <Button href="https://docs.polyfrost.org" iconLeft="book-open" style="secondary" text="Documentation" />
</div>
</div>
</Section>
@@ -89,10 +92,10 @@ import Card from '@components/base/Card.astro';
<div slot="left" class="flex flex-col gap-2">
<Header size="xl" class="text-blue-500">Designed for users</Header>
<Paragraph class="text-blue-400 max-w-[500px]">
- Lorem ipsum dolor sit amet consectetur. Viverra a pulvinar eu pharetra. Porta feugiat purus blandit mauris ipsum eu.
+ We take pride in having the cleanest and most intuitive UI of any mod, config library, or client out there.
</Paragraph>
<div class="flex">
- <Button iconLeft="download" style="secondary" text="Download" />
+ <Button href="/projects/oneconfig/download" iconLeft="download" style="secondary" text="Download" />
</div>
</div>
<div slot="right">
@@ -105,7 +108,7 @@ import Card from '@components/base/Card.astro';
<img src="/media/oneconfig/page_media_5.png" class="h-[581px] rounded-2xl" />
<Header size="xl" align="center" class="w-96">A unified HUD editor</Header>
<Paragraph class="w-96 text-center text-gray-400">
- Lorem ipsum dolor sit amet consectetur. Viverra a pulvinar eu pharetra. Porta feugiat purus blandit mauris ipsum eu.
+ Thanks to OneConfig's HUD API, you can customize any OneConfig-powered HUD to your liking, without having to worry about the hassle of finding the right command or keybind.
</Paragraph>
</Section>
@@ -120,27 +123,24 @@ import Card from '@components/base/Card.astro';
</div>
</div>
</Section>
+ <!-- TODO: add more 3rd party mods, like DSM PSS and Neu maybe -->
<Slider wrapperClass="-mb-40 pb-4">
- <Card icon="chatting"/>
- <Card icon="chatting"/>
- <Card icon="chatting"/>
- <Card icon="chatting"/>
- <Card icon="chatting"/>
- <Card icon="chatting"/>
- <Card icon="chatting"/>
- <Card icon="chatting"/>
- <Card icon="chatting"/>
+ <Card text="Chatting" icon="chatting"/>
+ <Card text="PolySprint" icon="polysprint"/>
+ <Card text="VanillaHUD" icon="vanillahud"/>
+ <Card text="OverflowAnimations" icon="overflowanimations"/>
+ <Card text="CrashPatch" icon="crashpatch"/>
+ <Card text="PolyTime" icon="polytime"/>
+ <Card text="PolyWeather" icon="polyweather"/>
</Slider>
<Slider dir="right" wrapperClass="pb-10">
- <Card icon="chatting"/>
- <Card icon="chatting"/>
- <Card icon="chatting"/>
- <Card icon="chatting"/>
- <Card icon="chatting"/>
- <Card icon="chatting"/>
- <Card icon="chatting"/>
- <Card icon="chatting"/>
- <Card icon="chatting"/>
+ <Card text="PolyWeather" icon="polyweather"/>
+ <Card text="PolyTime" icon="polytime"/>
+ <Card text="CrashPatch" icon="crashpatch"/>
+ <Card text="OverflowAnimations" icon="overflowanimations"/>
+ <Card text="VanillaHUD" icon="vanillahud"/>
+ <Card text="PolySprint" icon="polysprint"/>
+ <Card text="Chatting" icon="chatting"/>
</Slider>
<Section class="flex-col justify-center items-center h-screen md:h-4/5 md:min-h-[600px] mb-[10rem]">
<div class="grid grid-rows-[repeat(8,_minmax(0,_1fr))] grid-cols-[repeat(7,_minmax(0,_1fr))]">
@@ -149,7 +149,7 @@ import Card from '@components/base/Card.astro';
<img src="/media/oneconfig/page_media_4.png" class="rounded-2xl col-[1_/_7] row-[1_/_8]" />
<div class="rounded-2xl col-[5_/_8] row-[6_/_9] shadow-md bg-white flex flex-col justify-items-start p-8 justify-center">
<Logo logo="oneconfig.logo_text" class="min-w-max"></Logo>
- <Button iconLeft="download" text="Download now" class="max-w-fit" />
+ <Button href="/projects/oneconfig/download" iconLeft="download" text="Download now" class="max-w-fit" />
</div>
</div>
</Section>