/ terms.go
terms.go
1 package main 2 3 import ( 4 "github.com/maxence-charriere/go-app/v10/pkg/app" 5 ) 6 7 type terms 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 (t *terms) 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("Terms of Use"), 30 app.Span().Class("span-docs").Text("In order to use cyber-gubi you agree to the below terms."), 31 app.Span().Class("span-docs").Text("1. Cyber-gubi is a digital wallet for guaranteed basic income."), 32 app.Span().Class("span-docs").Text("2. Everyone is eligible to receive basic income with no exceptions and conditions."), 33 app.Span().Class("span-docs").Text("3. It is a peer-to-peer open-source app not owned by anyone and hosted by everyone."), 34 app.Span().Class("span-docs").Text("4. A real-time inflation indexer adjusts the income based on real-time analysis of price fluctuations."), 35 app.Span().Class("span-docs").Text("5. The indexer is distributed and runs on each device the last 3 days of the month."), 36 app.Span().Class("span-docs").Text("6. It automatically adjusts the new basic income amount for next month."), 37 app.Span().Class("span-docs").Text("7. The basic income is automatically received when you login in any of the last 3 days of each month."), 38 app.Span().Class("span-docs").Text("8. Cyber-gubi is GDPR compliant and uses your biometrics data to identify you and to ensure one wallet per person."), 39 app.Span().Class("span-docs").Text("9. Your biometrics data is yours."), 40 app.Span().Class("span-docs").Text("10. It is stored as hashed public data on IPFS."), 41 app.Span().Class("span-docs").Text("11. All user content generated on the platform is public and not owned by anyone."), 42 ), 43 ), 44 ), 45 ), 46 ), 47 ) 48 }