/ privacy.go
privacy.go
 1  package main
 2  
 3  import (
 4  	"github.com/maxence-charriere/go-app/v10/pkg/app"
 5  )
 6  
 7  type privacy struct {
 8  	app.Compo
 9  }
10  
11  // The Render method is where the component appearance is defined. Here, a
12  // webauthn is displayed.
13  func (p *privacy) Render() app.UI {
14  	return app.Div().Class("container").Body(
15  		app.Div().Class("mobile").Body(
16  			app.Div().Class("header").Body(
17  				newNav(),
18  				app.Div().Class("header-summary").Body(
19  					app.Span().Class("logo").Text("cyber-gubi"),
20  					app.Div().Class("summary-text").Body(
21  						app.Span().Text("Authentication"),
22  					),
23  				),
24  			),
25  			app.Div().ID("content").Body(
26  				app.Div().Class("card").Body(
27  					app.Div().Class("upper-row").Body(
28  						app.Div().Class("card-item card-terms").Body(
29  							app.Span().Class("span-header").Text("Privacy Policy"),
30  							app.Span().Class("span-docs").Text("1. Cyber-gubi is GDPR compliant and uses your biometrics data to identify you and to ensure one wallet per person."),
31  							app.Span().Class("span-docs").Text("2. Your biometrics data is yours."),
32  							app.Span().Class("span-docs").Text("4. It is stored as hashed public data on IPFS."),
33  							app.Span().Class("span-docs").Text("5. You can delete your account and biometrics data anytime."),
34  							app.Span().Class("span-docs").Text("6. All user content generated on the platform is public and not owned by anyone."),
35  						),
36  					),
37  				),
38  			),
39  		),
40  	)
41  }