Naalya Handbook

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

URLShows
/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
/aboutStory, mission and vision, values, campuses, facilities, staff, admission form
/leadershipBoard and each campus's leaders; a section shows only when it has people
/admissionsHero, the enquiry form (#enquiry), FAQ
/contact-usSchool and campus contacts, the contact form
/campuses/namugongoCampus sections from the CMS, admission form section, gallery
/campuses/lugaziCampus sections, the enquiry form, gallery
/campuses/bweyogerereCampus sections, the enquiry form, gallery
/updatesNews, with search and category filter
/blog/:postSlugOne post
/education-hubWhat the Hub is, with links to sign in and apply
/settingsA 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 trackCampusPageViewed on 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 approved and admitted. 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

BehaviourRule
Featured rotationEvery 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 foundThe loader throws a 404 handled by the root error boundary (see Routing)
Post titleseo.metaTitle, else seoTitle, else title, plus " | Naalya Schools". ogType is article
Contents linksEach heading gets id="section-{index}"
RelatedThe 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:

FromTo
/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 formEnquiry form (LugaziAdmissionForm)
Where/contact-us/admissions, Lugazi and Bweyogerere pages
FieldsName, email or phone (at least one), subject, messageName, phone, message required; email optional; class (Senior 1 to 6); campus (lugazi, namugongo, bweyogerere, any); optional reference code
Subjectsadmissions (default), general, suggestions, complaints, otherAdmissions: {campus}
Sent astype: "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.

On this page