mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 21:09:11 +00:00
- **feat: remove Hway deployment** - **feat: introduce session middleware for requests** - **refactor: update path imports to use new pkg folder** - **feat: add gRPC client for interacting with services** - **feat: remove grpc client and use REST api** - **refactor: move from to** - **feat: add client views endpoint** - **feat: add webauthn support** - **closes: #1124** - **refactor: Improve PR labeler configuration** - **feat: add milestone discussion template** - **feat: remove OKR tracking issue template** - **feat: use gorilla sessions for session management** - **refactor: move pubkey related code to** - **<no value>** - **refactor: remove unused identifier type** - **feat: integrate Macaroon Keeper with Service Module** - **refactor: rename worker routes for clarity**
95 lines
1.8 KiB
Go
95 lines
1.8 KiB
Go
package marketing
|
|
|
|
type Button struct {
|
|
Text string
|
|
Href string
|
|
}
|
|
|
|
type Feature struct {
|
|
Title string
|
|
Desc string
|
|
Icon *string
|
|
Image *Image
|
|
}
|
|
|
|
type Image struct {
|
|
Src string
|
|
Width string
|
|
Height string
|
|
}
|
|
|
|
type Stat struct {
|
|
Value string
|
|
Denom string
|
|
Label string
|
|
}
|
|
|
|
type Technology struct {
|
|
Title string
|
|
Desc string
|
|
Icon *string
|
|
Image *Image
|
|
}
|
|
|
|
type Testimonial struct {
|
|
FullName string
|
|
Username string
|
|
Avatar string
|
|
Quote string
|
|
}
|
|
|
|
// ╭───────────────────────────────────────────────────────────╮
|
|
// │ HomePage Models │
|
|
// ╰───────────────────────────────────────────────────────────╯
|
|
|
|
type Hero struct {
|
|
TitleFirst string
|
|
TitleEmphasis string
|
|
TitleSecond string
|
|
Subtitle string
|
|
PrimaryButton *Button
|
|
SecondaryButton *Button
|
|
Image *Image
|
|
Stats []*Stat
|
|
}
|
|
|
|
type Highlights struct {
|
|
Heading string
|
|
Subtitle string
|
|
Features []*Feature
|
|
}
|
|
|
|
type Mission struct {
|
|
Eyebrow string
|
|
Heading string
|
|
Subtitle string
|
|
Experience *Feature
|
|
Compliance *Feature
|
|
Interoperability *Feature
|
|
Standards []*Feature // Display 6 Standards applied by the Sonr Network
|
|
}
|
|
|
|
type Architecture struct {
|
|
Heading string
|
|
Subtitle string
|
|
Primary *Technology
|
|
Secondary *Technology
|
|
Tertiary *Technology
|
|
Quaternary *Technology
|
|
Quinary *Technology
|
|
}
|
|
|
|
type Lowlights struct {
|
|
Heading string
|
|
Quotes []*Testimonial
|
|
}
|
|
|
|
type CallToAction struct {
|
|
Logo *Image
|
|
Heading string
|
|
Subtitle string
|
|
Primary *Button
|
|
Secondary *Button
|
|
Partners []*Image
|
|
}
|