pantheon-systems-ps / pantheon_nextjs_edu_demo
Education vertical for the decoupled Next.js-on-Pantheon demo: registers the EDU front end (next_site) plus its menu and higher-ed demo content.
Package info
github.com/pantheon-systems-ps/pantheon_nextjs_edu_demo
Type:drupal-recipe
pkg:composer/pantheon-systems-ps/pantheon_nextjs_edu_demo
Requires
- drupal/core: >=10.4
- drupal/next: ^2.1
- pantheon-systems-ps/pantheon_nextjs_multi_demo: ^1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-11-04 20:56:12 UTC
README
The Education vertical for the decoupled Drupal + Next.js architecture. Applied on top of
pantheon_nextjs_multi_demo, it turns the shared Drupal backend into the content source for an
Education front end.
Requirements
pantheon-systems-ps/pantheon_nextjs_multi_demo: the global backbone recipe, which defines the shared content model and per-site association field. It is a hard dependency and is applied automatically.- Drupal core 10.4 or newer and
drupal/next, both inherited from the backbone recipe.
What it adds
next.next_site.edu: registers the Education Next.js front end, with base, preview, and revalidate URLs. The base URL is a recipe input (base_url), overridable per environment.edu_eventcontent type: the Education-specific Event type (date, location, hero image, virtual-event flag), plus its Next.js site-resolver configuration.nextjs-edunavigation menu: a two-level site navigation, with the Page content type wired to use it.- Demo content tagged to the
edufront end viafield_next_site: 18 pages, 10 articles, and 8 events, with their images and menu links. Only the Education front end renders this content.
Apply
composer require pantheon-systems-ps/pantheon_nextjs_edu_demo drush recipe recipes/pantheon_nextjs_edu_demo drush cache:rebuild
Set the front-end base URL for your environment:
drush recipe recipes/pantheon_nextjs_edu_demo \ --input=pantheon_nextjs_edu_demo.base_url=https://your-edu-frontend.example
Requiring or applying this recipe pulls in and applies
pantheon_nextjs_multi_demo first.