Various design improvements

This commit is contained in:
Martin Prokoph
2024-09-18 14:23:17 +02:00
parent b2e20fa63b
commit b8272c378f
11 changed files with 47 additions and 37 deletions

View File

@@ -10,11 +10,11 @@ import Counter from '../components/Counter.astro'
<div class="container">
<h2 class="mb-16 text-6xl">Statistics</h2>
<div class="grid grid-cols-1 gap-12 sm:grid-cols-2 md:grid-cols-3">
<Counter icon="ion:star" count="572+" title="Stars in Total" sub="On GitHub" />
<Counter icon="ion:download" count="78.000.000+" title="Total Downloads" sub="Modrinth & CurseForge" />
<Counter icon="ion:star" count="570+" title="Stars in Total" sub="On GitHub" />
<Counter icon="ion:download" count="90.000.000+" title="Total Downloads" sub="Modrinth & CurseForge" />
<Counter icon="ion:code-slash" count="5+" title="Years" sub="Development experience" />
</div>
</div>
</section>
</DefaultLayout>
<a rel="me" href="https://planetearth.social/@motschen">Mastodon</a>
<a class="hidden" rel="me" href="https://planetearth.social/@motschen">Mastodon</a>

View File

@@ -26,22 +26,22 @@ import ContentMedia from '../components/ContentMedia.astro'
<div class="container">
<h2 class="mb-16 text-6xl">Features</h2>
<div class="grid grid-cols-1 gap-12 md:grid-cols-2 lg:grid-cols-3">
<Feature icon="mdi:controller" title="Controller Support">
<Feature icon="ion:game-controller-outline" title="Controller Support">
Use your favorite controller to play your favorite game.<br>Many controllers are supported without any configuration!
</Feature>
<Feature icon="mdi:gesture-touch-button" title="Touchscreen Support">
<Feature icon="ion:finger-print-outline" title="Touchscreen Support">
You only have a touchscreen? No problem! The only thing missing is multitouch support.
</Feature>
<Feature icon="mdi:monitor-eye" title="Eye Tracker Support">
Eye Trackers are a great way for people with disabilities to still be able to enjoy this great game!
</Feature>
<Feature icon="mdi:cog" title="Configurable">
<Feature icon="ion:options-outline" title="Configurable">
The MidnightLib-powered config is full of exciting features.<br>Use the advanced config screen for even more of them!
</Feature>
<Feature icon="mdi:account-multiple" title="Split Screen">
<Feature icon="ion:people-outline" title="Splitscreen">
Invite your homies and loved ones for a local splitscreen Minecraft session! Consult the wiki for setup instructions.
</Feature>
<Feature icon="mdi:world" title="Great Community">
<Feature icon="ion:happy-outline" title="Great Community">
MidnightControls has an amazing community that is always willing to help with any trouble!
</Feature>
</div>
@@ -60,19 +60,19 @@ import ContentMedia from '../components/ContentMedia.astro'
<ContentMedia imgSrc="/midnightcontrols/front-block-placing.webp">
<h2>You want even <span class="bg-clip-text text-transparent bg-gradient-to-r from-green-500 to-cyan-500">more</span>?</h2>
<p class="text-2xl">
We got you!<br> <br>
MidnightControlsExtra provides useful features that might trigger anticheats.<br>
We got you!<br/> <br/>
MidnightControlsExtra provides useful features that might trigger anticheats.<br/>
Front block placing, anyone?
</p>
</ContentMedia>
<div class="grid grid-cols-1 gap-12 md:grid-cols-2 lg:grid-cols-3">
<Feature icon="mdi:speedometer" title="Fast Block Placement">
<Feature icon="ion:speedometer-outline" title="Fast Block Placement">
Place those pesky blocks almost as fast as Sonic would!
</Feature>
<Feature icon="mdi:chevron-left-right" title="Front Block Placing">
Place blocks in front of you without sneaking up to the edge of the block.<br>Many controllers are supported without any configuration!
<Feature icon="ion:share-outline" title="Front Block Placing">
Place blocks in front of you without sneaking up to the edge of the block.<br/>Just like on Bedrock!
</Feature>
<Feature icon="mdi:arrow-u-up-left-bold" title="Vertical Reacharound">
<Feature icon="ion:layers-outline" title="Vertical Reacharound">
Easily place something below the block you are standing on!
</Feature>
</div>

View File

@@ -27,22 +27,22 @@ import ContentMedia from '../components/ContentMedia.astro'
<div class="container">
<h2 class="mb-16 text-6xl">Features</h2>
<div class="grid grid-cols-1 gap-12 md:grid-cols-2 lg:grid-cols-3">
<Feature icon="mdi:feather" title="Lightweight">
<Feature icon="ion:leaf-outline" title="Lightweight">
Size of the .jar is currently just 50KB.<br>Everything essential for the config (including GUI) is only 30KB!
</Feature>
<Feature icon="mdi:coffee" title="JiJ-able">
<Feature icon="ion:cafe-outline" title="JiJ-able">
Bundle MidnightLib with your mod with ease. Gone are the days of installing dependencies manually!
</Feature>
<Feature icon="mdi:laptop" title="Automated">
<Feature icon="ion:code-working-outline" title="Automated">
Automatic generation of config screens (and server-side commands) makes adding config options a breeze!
</Feature>
<Feature icon="mdi:cog" title="Powerful">
Supports booleans, numbers (int, float, double), strings, enums, hex colors and string lists!
<Feature icon="ion:options-outline" title="Powerful">
Supports booleans, numbers (int, float, double), strings, enums, hex colors and lists!
</Feature>
<Feature icon="mdi:person" title="User-friendly">
Organize your config screen using comments, sliders, colors and tabs.
<Feature icon="ion:happy-outline" title="User-friendly">
Organize your config screen using comments, sliders, color pickers, file choosers and tabs.
</Feature>
<Feature icon="mdi:world" title="Universal">
<Feature icon="ion:globe-outline" title="Universal">
MidnightLib is compatible with Quilt, Fabric and (Neo-)Forge, making it ideal for multiplatform mods!
</Feature>
</div>

View File

@@ -39,7 +39,7 @@ dependencies {
<Icon name="ion:information-circle-outline" />
<p>
<strong>Info:</strong> You should always pick the version that suits your modloader and Minecraft version best.
The version selector is finally fully functional!
Forge support is retired in favor of NeoForge.
</p>
</Notification>
@@ -172,5 +172,5 @@ If you don't use the whole library and therefore not the automatic ModMenu integ
@Override
public ConfigScreenFactory<?> getModConfigScreenFactory() {
return parent -> MidnightConfig.getScreen(parent, "modid");
}`
}
```