Public pages
What each public page on the school website shows, where its words come from, the old addresses that redirect, and the two forms.
Each page's loader prefetches its Sanity content, and the page hydrates from it. When the CMS has no SEO field, the title falls back to a sentence written in the route file. The form POST itself is on Forms; the full route list is on the audit record.
The pages
| URL | Shows |
|---|---|
/ | Hero slides (every 5 s, still if the browser asks for reduced motion), stats, campuses, academics, news, the Hub section, admissions, activities, FAQ, an AI help block, gallery |
/about | Story, mission and vision, values, campuses, facilities, staff, admission form |
/leadership | Board and each campus's leaders; a section shows only when it has people |
/admissions | Hero, the enquiry form (#enquiry), FAQ |
/contact-us | School and campus contacts, the contact form |
/campuses/namugongo | Campus sections from the CMS, admission form section, gallery |
/campuses/lugazi | Campus sections, the enquiry form, gallery |
/campuses/bweyogerere | Campus sections, the enquiry form, gallery |
/updates | News, with search and category filter |
/blog/:postSlug | One post |
/education-hub | What the Hub is, with links to sign in and apply |
/settings | A switch for the seasonal effect in this browser. noindex |
/terms, /privacy | "Still being prepared", with a link to /contact-us |
Notes that catch people out:
- Each campus page has its own section list; they don't share one. The top-performers block is commented out on all three.
- Each campus page records
trackCampusPageViewedon load. - A hero button with no link in the CMS goes to
/admission, which then redirects to/admissions. - Lugazi and Bweyogerere show "Please add ... content in the CMS." when their document is missing.
- The FAQ falls back to three questions written in the component when the CMS list is empty. They are not checked school policy.
- The Education Hub page draws admission stages as Draft, Submitted, Offered, Enrolled. That's an illustration: the API's statuses are
approvedandadmitted. Its chat, notices and scheme samples are written in the file, not live data. - The contact page's "We respond to all emails within 24 hours." and office hours are written in the component, not a checked service level.
News and posts
| Behaviour | Rule |
|---|---|
| Featured rotation | Every 6 seconds; the side rail is up to four recent posts not already featured |
| Category | ?category= filters; all also hides posts already in the hero |
| Search | ?q=, at least 2 characters, after 300 ms |
| Post not found | The loader throws a 404 handled by the root error boundary (see Routing) |
| Post title | seo.metaTitle, else seoTitle, else title, plus " | Naalya Schools". ogType is article |
| Contents links | Each heading gets id="section-{index}" |
| Related | The post's relatedPosts, then recentPosts not already listed |
/updates has fixed meta, not a CMS SEO field.
Old addresses
Every one of these is a 301:
| From | To |
|---|---|
/admission | /admissions |
/about-us | /about |
/namugongo-campus, /namugongo-about-us | /campuses/namugongo |
/lugazi-campus, /lugazi-about-us | /campuses/lugazi |
/bweyogerere-campus, /bweyogerere-about-us | /campuses/bweyogerere |
/naalya-ai/* | /?chat=open |
The comments in the Lugazi and Namugongo about-us files say the target is /about; the loaders send to the campus pages.
The two forms
Both call sendEnquiry, then createFormSubmission. The HTTP path is on Forms.
| Contact form | Enquiry form (LugaziAdmissionForm) | |
|---|---|---|
| Where | /contact-us | /admissions, Lugazi and Bweyogerere pages |
| Fields | Name, email or phone (at least one), subject, message | Name, phone, message required; email optional; class (Senior 1 to 6); campus (lugazi, namugongo, bweyogerere, any); optional reference code |
| Subjects | admissions (default), general, suggestions, complaints, other | Admissions: {campus} |
| Sent as | type: "contact" | type: "admission", with referralCode when typed |
| After | "Your message has been received!" | Same, plus "Thank you for your interest in Naalya Schools!" |
On /admissions the enquiry form starts behind a choice: Start an application opens the Hub's /{school}/apply, and Make enquiry reveals the form. With no CMS content the form section renders nothing.