seasons can be added now

This commit is contained in:
2026-02-02 19:46:14 +11:00
parent 9c70458b76
commit ef5a0dc078
8 changed files with 860 additions and 6 deletions

View File

@@ -4,6 +4,21 @@ import "git.haelnorr.com/h/oslstats/internal/view/component/form"
import "git.haelnorr.com/h/oslstats/internal/view/layout"
templ NewSeason() {
@layout.Global("New Season")
@form.NewSeason()
@layout.Global("New Season") {
<div class="max-w-screen-lg mx-auto px-4 py-8">
<div class="bg-mantle border border-surface1 rounded-xl">
<div class="p-6 sm:p-8">
<div class="text-center mb-8">
<h1 class="text-3xl font-bold text-text">Create New Season</h1>
<p class="mt-2 text-sm text-subtext0">
Add a new season to the system. All fields are required.
</p>
</div>
<div class="max-w-md mx-auto">
@form.NewSeason()
</div>
</div>
</div>
</div>
}
}