package web import "html/template" func parsePage(content string) (*template.Template, error) { return template.New("layout").Funcs(template.FuncMap{ "seq": func() []int { return []int{1, 2, 3, 4, 5} }, "progress": func(answered, total int) int { return answered * 100 / total }, }).Parse(layoutPage + content) } const layoutPage = `{{define "layout"}} {{.Title}} · NextPath Arizona
NextPath Arizona
{{template "content" .}}
{{end}}` const registerPage = `{{define "content"}}

Find a path that fits your life.

Start with your interests. We will add Arizona education and labor-market evidence without pretending to predict whether you will be hired.

Create your private profile

{{if .Error}}

{{.Error}}

{{end}}

Already registered? Sign in.

{{end}}` const loginPage = `{{define "content"}}

Continue exploring.

Sign in

{{if .Error}}

{{.Error}}

{{end}}

Create a profile

{{end}}` const assessmentPage = `{{define "content"}}

What sounds interesting, {{.Name}}?

Rate the activity itself—not whether you are already good at it.

{{.Answered}} of {{.Total}} answered

{{.Question.Prompt}}

{{range $value := seq}}{{end}}
Not interestedUnsureVery interested
{{end}}` const resultsPage = `{{define "content"}}

Your current interest profile

Hello {{.Name}}. Your three-letter exploration code is {{.Result.Code}}.

{{range .Result.Scores}}
{{.Dimension}}
{{.Percent}}%
{{end}}

How to use this

{{.Result.InstrumentNotice}}

Confidence: {{.Result.Confidence}}. This describes interests, not ability, identity, or employability. Career and Arizona opportunity matching will be added as separate evidence.

Export my data

Delete account

{{end}}`