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. These percentages are market indexes, not your probability of being hired.

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

{{.Occupation.Title}}

{{.Occupation.Summary}}

{{.Reason}}

{{if .Outlook}}

Arizona market evidence

Employability today: {{.Outlook.TodayEmployabilityPercent}}% · {{.Outlook.TodayLabel}}

Five-year outlook: {{.Outlook.FiveYearEmployabilityPercent}}% · {{.Outlook.FiveYearLabel}}

{{.Outlook.Evidence.ArizonaProjectedOpenings}} projected openings/year and {{.Outlook.Evidence.ActivePostings}} sampled current postings. Arizona exact-program completions: {{.Outlook.Evidence.ArizonaGraduateHistory}}; three-year average {{.Outlook.ThreeYearAverageGraduates}}. Demand-to-average-graduates ratio: {{.Outlook.AnnualDemandToGraduateRatio}}.

Official projected employment growth: {{.Outlook.Evidence.ProjectedEmploymentGrowthPercent}}%. Historical graduate trend: {{.Outlook.GraduateAnnualTrendPercent}}%/year; modeled five-year graduate supply: {{.Outlook.ProjectedFiveYearGraduates}}.

Today = 75% projected annual demand coverage + 25% sampled current posting coverage. Five-year = 75% projected demand coverage against trend-modeled supply + 25% official employment-growth signal. Supply trend is capped at ±10%/year; official growth from -5% to +20% maps to the 0–100 growth signal. {{.Outlook.Confidence}} evidence confidence. 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}}{{if .StudyOptions}}

Balanced places to start studying

Ranked for your ZIP by 25% proximity, 25% in-state tuition, 20% admission access, and 30% program strength. Program strength combines exact-program completion volume and the institution-wide completion rate; it is not a third-party school rating.

{{range .StudyOptions}}
{{.Institution}}

{{.City}}, Arizona · about {{.DistanceMiles}} miles · balanced score {{.BalancedScore}}/100

{{.CostLabel}}{{if .AnnualInStateTuition}} · ${{.AnnualInStateTuition}} reported annual in-state tuition{{end}} · {{.AccessLabel}}{{if .AdmissionRatePercent}} ({{.AdmissionRatePercent}}% admitted){{end}}

{{.StrengthLabel}} · {{.ProgramCompletions}} exact-program completions ({{.ProgramYear}}) · {{.InstitutionCompletionRatePercent}}% institution completion rate · {{range .AwardLevels}}{{.}}; {{end}}

Tuition and admissions: {{.CostAdmissionYear}} IPEDS reporting year.

{{if .Website}}Explore this institution{{end}}
{{end}}
{{else}}

Study options unavailable. Complete public program, cost, access, quality, and ZIP evidence has not been refreshed for this occupation.

{{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 indexes are contextual evidence, not a hiring promise.

Export my data

Delete account

{{end}}`