diff --git a/pkg/nebula/models/Footer.pkl.go b/pkg/nebula/models/Footer.pkl.go index aa9aba0aa..2930ba80d 100644 --- a/pkg/nebula/models/Footer.pkl.go +++ b/pkg/nebula/models/Footer.pkl.go @@ -4,7 +4,13 @@ package models type Footer struct { Logo *Image `pkl:"logo"` - SocialLinks []*SocialLink `pkl:"socialLinks"` + MediumLink *SocialLink `pkl:"mediumLink"` + + TwitterLink *SocialLink `pkl:"twitterLink"` + + DiscordLink *SocialLink `pkl:"discordLink"` + + GithubLink *SocialLink `pkl:"githubLink"` CompanyLinks []*Link `pkl:"companyLinks"` diff --git a/pkg/nebula/models/Hero.pkl.go b/pkg/nebula/models/Hero.pkl.go index 1001dc4a6..b85c72959 100644 --- a/pkg/nebula/models/Hero.pkl.go +++ b/pkg/nebula/models/Hero.pkl.go @@ -15,6 +15,4 @@ type Hero struct { SecondaryButton *Button `pkl:"secondaryButton"` Image *Image `pkl:"image"` - - Stats []*Stat `pkl:"stats"` } diff --git a/pkg/nebula/models/Models.pkl.go b/pkg/nebula/models/Models.pkl.go index 03d42f033..ec4718cd5 100644 --- a/pkg/nebula/models/Models.pkl.go +++ b/pkg/nebula/models/Models.pkl.go @@ -9,6 +9,8 @@ import ( type Models struct { Hero *Hero `pkl:"hero"` + + Stats *Stats `pkl:"stats"` } // LoadFromPath loads the pkl module at the given path and evaluates it into a Models diff --git a/pkg/nebula/models/Stats.pkl.go b/pkg/nebula/models/Stats.pkl.go new file mode 100644 index 000000000..c12e140a7 --- /dev/null +++ b/pkg/nebula/models/Stats.pkl.go @@ -0,0 +1,16 @@ +// Code generated from Pkl module `models`. DO NOT EDIT. +package models + +type Stats struct { + FirstValue string `pkl:"firstValue"` + + FirstLabel string `pkl:"firstLabel"` + + SecondValue string `pkl:"secondValue"` + + SecondLabel string `pkl:"secondLabel"` + + ThirdValue string `pkl:"thirdValue"` + + ThirdLabel string `pkl:"thirdLabel"` +} diff --git a/pkg/nebula/models/init.pkl.go b/pkg/nebula/models/init.pkl.go index 9d4349aac..2a507827b 100644 --- a/pkg/nebula/models/init.pkl.go +++ b/pkg/nebula/models/init.pkl.go @@ -8,7 +8,7 @@ func init() { pkl.RegisterMapping("models#Hero", Hero{}) pkl.RegisterMapping("models#Button", Button{}) pkl.RegisterMapping("models#Image", Image{}) - pkl.RegisterMapping("models#Stat", Stat{}) + pkl.RegisterMapping("models#Stats", Stats{}) pkl.RegisterMapping("models#Link", Link{}) pkl.RegisterMapping("models#SocialLink", SocialLink{}) pkl.RegisterMapping("models#Footer", Footer{})