feat: update home section with new features

This commit is contained in:
Prad Nukala 2024-10-02 20:37:18 -04:00
parent 42c5ab642e
commit 931ac2308d
5 changed files with 44 additions and 65 deletions

View File

@ -316,10 +316,10 @@ nebula:
pkl: pkl:
@echo "(pkl) Building PKL" @echo "(pkl) Building PKL"
go run github.com/apple/pkl-go/cmd/pkl-gen-go ./pkl/dwn.pkl go run github.com/apple/pkl-go/cmd/pkl-gen-go ./pkl/DWN.pkl
go run github.com/apple/pkl-go/cmd/pkl-gen-go ./pkl/orm.pkl go run github.com/apple/pkl-go/cmd/pkl-gen-go ./pkl/ORM.pkl
go run github.com/apple/pkl-go/cmd/pkl-gen-go ./pkl/txns.pkl go run github.com/apple/pkl-go/cmd/pkl-gen-go ./pkl/Txns.pkl
go run github.com/apple/pkl-go/cmd/pkl-gen-go ./pkl/uiux.pkl go run github.com/apple/pkl-go/cmd/pkl-gen-go ./pkl/UIUX.pkl
start-caddy: start-caddy:
@echo "(start-caddy) Starting caddy" @echo "(start-caddy) Starting caddy"

View File

@ -144,14 +144,6 @@ templ Highlights() {
height="360" height="360"
alt="Feature 01" alt="Feature 01"
/> />
<img
class="absolute top-0 left-full mix-blend-exclusion -translate-x-[70%] -mr-20 max-md:w-[45%]"
src="https://cdn.sonr.id/img/secure-keys.svg"
width="224"
height="224"
alt="Illustration"
aria-hidden="true"
/>
</div> </div>
</div> </div>
<!-- Item 2 --> <!-- Item 2 -->
@ -173,14 +165,6 @@ templ Highlights() {
height="360" height="360"
alt="Feature 02" alt="Feature 02"
/> />
<img
class="absolute top-0 left-full mix-blend-exclusion -translate-x-[70%] -mr-20 max-md:w-[45%]"
src="https://cdn.sonr.id/img/secure-keys.svg"
width="224"
height="224"
alt="Illustration"
aria-hidden="true"
/>
</div> </div>
</div> </div>
<!-- Item 3 --> <!-- Item 3 -->
@ -202,14 +186,6 @@ templ Highlights() {
height="360" height="360"
alt="Feature 03" alt="Feature 03"
/> />
<img
class="absolute top-0 left-full mix-blend-exclusion -translate-x-[70%] -mr-20 max-md:w-[45%]"
src="https://cdn.sonr.id/img/secure-keys.svg"
width="224"
height="224"
alt="Illustration"
aria-hidden="true"
/>
</div> </div>
</div> </div>
<!-- Item 4 --> <!-- Item 4 -->
@ -231,14 +207,6 @@ templ Highlights() {
height="360" height="360"
alt="Feature 04" alt="Feature 04"
/> />
<img
class="absolute top-0 left-full mix-blend-exclusion -translate-x-[70%] -mr-20 max-md:w-[45%]"
src="https://cdn.sonr.id/img/secure-keys.svg"
width="224"
height="224"
alt="Illustration"
aria-hidden="true"
/>
</div> </div>
</div> </div>
</div> </div>

View File

@ -0,0 +1,10 @@
// Code generated from Pkl module `models`. DO NOT EDIT.
package models
type Highlight struct {
Title string `pkl:"title"`
Description string `pkl:"description"`
Image *Image `pkl:"image"`
}

View File

@ -13,6 +13,7 @@ func init() {
pkl.RegisterMapping("models#Link", Link{}) pkl.RegisterMapping("models#Link", Link{})
pkl.RegisterMapping("models#SocialLink", SocialLink{}) pkl.RegisterMapping("models#SocialLink", SocialLink{})
pkl.RegisterMapping("models#Input", Input{}) pkl.RegisterMapping("models#Input", Input{})
pkl.RegisterMapping("models#Highlight", Highlight{})
pkl.RegisterMapping("models#Highlights", Highlights{}) pkl.RegisterMapping("models#Highlights", Highlights{})
pkl.RegisterMapping("models#Features", Features{}) pkl.RegisterMapping("models#Features", Features{})
pkl.RegisterMapping("models#Bento", Bento{}) pkl.RegisterMapping("models#Bento", Bento{})

View File

@ -33,5 +33,5 @@ home = new Home {
label = "Assets packed with power beyond your imagination."; label = "Assets packed with power beyond your imagination.";
} }
}; };
}; };
}; };