Implements a new homepage page template using new CSS system#199
Open
djanelle-mit wants to merge 50 commits into
Open
Implements a new homepage page template using new CSS system#199djanelle-mit wants to merge 50 commits into
djanelle-mit wants to merge 50 commits into
Conversation
Creates the first barebones v2 page template for the new homepage.
djanelle-mit
force-pushed
the
newhomepage
branch
from
July 20, 2026 13:58
254b3c1 to
513e3c0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This work implements the LNHU project new homepage for Wordpress. This PR contains the following:
A new CSS system
There's a new v2 styling system that contains a similar structure to our SASS setup: a central v2 file that pulls variables, component styles, partial styles, and page specific styles into a single CSS style sheet. This work was done to take advantage of new CSS features and decouple us from needing to compile SASS. The styles in here are built to work alongside the current global css sheet (compiled from SASS). Eventually we'll need to strip away the global style sheet and patch holes that are cascading down into the v2 styles.
New homepage template
We're introducing a v2 version of the homepage template that also includes a v2 header and v2 footer. This is structured to be able to merged into production alongside our current homepage but be swapped over on launch day. This template preserves the visuals of the current header, navigation, and footer, but introduces a wider container width. Because of this, the header and footer styling was slightly rebuilt to adjust to a new typography scale and the container width change.
Static homepage content
We're launching with static content. Only the hours will be dynamic. In a future series of PRs we'll make each block of this new homepage editable in an incremental fashion. A future PR will also include the true go-live content for launch day.
Hours enqueued
To avoid needing to refactor the hours plugin, this work enqueues the
hours-loader.jsfile directly on this page. This uses the plugin's behavior and requires the plugin to be installed, but avoids duplicating the logic for a single page.LibChat
In the "Using the Libraries" section there's an Ask us box that includes a new LibChat widget. We've customized the offline and online images to fit the new design better.
Search widget plugin
This work contains a new option available for the search widget we use to display the search box. A "Unified Search v2" option now removes excess markup and introduces a new set of markup for the new homepage. This doesn't affect the previous work we did to introduce the Unified Search (v1) option and can coexist with v1.
Developer
Stylesheets
string incremented.
Secrets
Documentation
Accessibility
our guide and
all issues introduced by these changes have been resolved or opened as new
issues (link to those issues in the Pull Request details above)
Stakeholder approval
Dependencies
YES | NO dependencies are updated
Code Reviewer
(not just this pull request message)