mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 18:31:41 +00:00
feat(marketing): refactor marketing page components
This commit is contained in:
@@ -6,7 +6,28 @@ import (
|
||||
"github.com/onsonr/sonr/pkg/nebula/global/ui"
|
||||
)
|
||||
|
||||
templ Hero(hero *models.Hero) {
|
||||
// hero is the (1st) home page hero section
|
||||
var hero = &models.Hero{
|
||||
TitleFirst: "Simplified",
|
||||
TitleEmphasis: "self-custody",
|
||||
TitleSecond: "for everyone",
|
||||
Subtitle: "Sonr is a modern re-imagination of online user identity, empowering users to take ownership of their digital footprint and unlocking a new era of self-sovereignty.",
|
||||
PrimaryButton: &models.Button{Text: "Get Started", Href: "/register"},
|
||||
SecondaryButton: &models.Button{Text: "Learn More", Href: "/about"},
|
||||
Image: &models.Image{
|
||||
Src: "https://cdn.sonr.id/img/hero-clipped.svg",
|
||||
Width: "500",
|
||||
Height: "500",
|
||||
},
|
||||
Stats: []*models.Stat{
|
||||
{Value: "476", Label: "Assets packed with power beyond your imagiation.", Denom: "K"},
|
||||
{Value: "1.44", Label: "Assets packed with power beyond your imagination.", Denom: "K"},
|
||||
{Value: "1.5", Label: "Assets packed with power beyond your imagination.", Denom: "M+"},
|
||||
{Value: "750", Label: "Assets packed with power beyond your imagination.", Denom: "K"},
|
||||
},
|
||||
}
|
||||
|
||||
templ Hero() {
|
||||
<!-- Hero -->
|
||||
<section class="relative before:absolute before:inset-0 before:h-80 before:pointer-events-none before:bg-gradient-to-b before:from-zinc-100 before:-z-10">
|
||||
<div class="pt-32 pb-12 md:pt-40 md:pb-20">
|
||||
|
||||
Reference in New Issue
Block a user