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}}

Careers to explore next

Interest fit and Arizona market outlook are separate signals. The market percentage is a rough demand-to-completions comparison, not your probability of being hired.

{{range .Matches}}
O*NET-SOC {{.Occupation.ONETSOC}} · interest fit {{.FitScore}}%

{{.Occupation.Title}}

{{.Occupation.Summary}}

{{.Reason}}

{{if .Outlook}}
Arizona employability outlook: {{.Outlook.EmployabilityOutlookPercent}}%

{{.Outlook.Label}} · {{.Outlook.Confidence}} evidence confidence

{{.Outlook.Evidence.ArizonaProjectedOpenings}} projected openings/year and {{.Outlook.Evidence.ActivePostings}} current postings observed, compared with {{.Outlook.Evidence.ArizonaAnnualGraduates}} recent Arizona completions. Demand-to-completions ratio: {{.Outlook.AnnualDemandToGraduateRatio}}.

Formula: 75% projected annual demand coverage + 25% current posting coverage. Postings include varying experience levels. Snapshot {{.Outlook.Evidence.PostingsObservedAt.Format "Jan 2, 2006"}}.

{{else}}

Arizona employability outlook unavailable. Complete source evidence has not been refreshed for this occupation; no percentage is estimated.

{{end}}

Try it first: {{.Occupation.TryFirst}}

Review the O*NET occupation profile
{{end}}

How to use this

{{.Result.InstrumentNotice}}

Confidence: {{.Result.Confidence}}. This describes interests, not ability or identity. Market outlook is contextual evidence, not a hiring promise.

Export my data

Delete account

{{end}}`