Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home page box #1809

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Home page box #1809

wants to merge 2 commits into from

Conversation

ajparsons
Copy link
Contributor

@ajparsons ajparsons commented Jul 5, 2024

Related to #1789 and #1791

This is a go at reducing some of the elements on the home page - as the search box now accepts postcodes, we can combine the two search boxes together. This PR:

  • Applies some of the colour changes lucas suggested - but sidesteps the big homepage colour problem by getting rid of it.
  • Creates an abstract search box that's customised for each Parliament
  • Different images are used for each Parliament (some need to be licensed or changed before deploy)
  • Adds a few quick links - which will also take the 'your mp' link when the cookie is set.

If we're broadly good with this approach, need to:

  • Adjusted tests to look for new content
  • Create a new 'about' box below that brings the 'who we are' onto the homepage.

Known issues:

  • Not loading different sized images for mobile, etc

image

image

image

image

image

More contrast-y red and greens
- Search box expanded into generic title box
- Merriweather for new style title
- SearchBox class controls config for different parliaments
- Temp images for different parliament backgrounds.
@ajparsons
Copy link
Contributor Author

I think this is hitting the point where it needs a designer to have a think - @lucascumsille ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant