fix(ui): stabilize theme colors and calendar end time

This commit is contained in:
SG Command
2026-08-24 09:35:49 +02:00
parent 91c9617255
commit 8e28dec20b
10 changed files with 18 additions and 4 deletions
+4
View File
@@ -35,6 +35,7 @@ type SiteConfig struct {
type WeddingConfig struct {
Date time.Time `yaml:"date"`
EventEnd time.Time `yaml:"event_end"`
CeremonyTime string `yaml:"ceremony_time"`
RSVPBy time.Time `yaml:"rsvp_by"`
VenueName string `yaml:"venue_name"`
@@ -112,6 +113,9 @@ func Load(path string) (*Config, error) {
if cfg.Wedding.RSVPBy.IsZero() {
return nil, fmt.Errorf("wedding.rsvp_by is required in %s", path)
}
if cfg.Wedding.EventEnd.IsZero() {
return nil, fmt.Errorf("wedding.event_end is required in %s", path)
}
return &cfg, nil
}