mirror of
https://github.com/Motschen/midnightdust-eu.git
synced 2025-12-18 03:15:09 +01:00
Add wiki and feature page for MidnightControls
As well as some minor fixes
This commit is contained in:
@@ -6,16 +6,17 @@ import ContentMedia from '../components/ContentMedia.astro'
|
||||
---
|
||||
|
||||
<DefaultLayout title="MidnightLib">
|
||||
<ContentMedia imgSrc="/midnightlib-example-code.webp">
|
||||
<h2 class="my-8 text-6xl text-center">MidnightLib</h2>
|
||||
<ContentMedia imgSrc="/midnightlib/midnightlib-example-code.webp">
|
||||
<h2>Implement configurations easier than ever before!</h2>
|
||||
<p class="text-2xl">
|
||||
Just create Java fields, annotate them with <span class="bg-clip-text text-transparent bg-gradient-to-r from-pink-500 to-violet-500 font-mono">@Entry</span>,
|
||||
Just create Java fields, annotate them with <span class="bg-clip-text text-transparent bg-gradient-to-r from-yellow-500 to-orange-500 font-mono">@Entry</span>,
|
||||
maybe add some more additional options, and boom! <br>
|
||||
This example can be found <a href="https://github.com/TeamMidnightDust/MidnightLib/blob/architectury/MidnightConfigExample.java"
|
||||
>here</a>, and helps you get started (almost) faster than speed of light!
|
||||
</p>
|
||||
</ContentMedia>
|
||||
<ContentMedia imgSrc="/midnightlib-example.png" reverseImg={true}>
|
||||
<ContentMedia imgSrc="/midnightlib/midnightlib-example.png" reverseImg={true}>
|
||||
<h2>User-friendly config screens</h2>
|
||||
<p class="text-2xl">
|
||||
Configuration screens are automatically created from config classes.<br>
|
||||
|
||||
Reference in New Issue
Block a user