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

Landing page semantic enhancements #337

Merged
merged 8 commits into from
Feb 3, 2025

Conversation

johanna-skylight
Copy link
Collaborator

@johanna-skylight johanna-skylight commented Jan 31, 2025

PULL REQUEST

Summary

This PR addresses 3 small items:

  • Improves the semantic structure of the landing page but using a better header hierarchy and swapping content elements to <p>. It also makes necessary changes to turn the landing page into a server component (removes 'use client' directive).

Please see below new content structure
Screenshot 2025-01-31 at 12 38 12 PM

  • Fixes run time exception in the results page for queries that get triggered without any search criteria on step 1.

  • Migrates links in the header to nextjs element so changes in routes don't do a full page reload. (If this was intentional please let me know and will revert this change).

Related Issue

Fixes # No ticket as this was my first small task to get familiar with the code and development process

Additional Information

Anything else the review team should know?

Checklist

  • Descriptive Pull Request title
  • Link to relevant issues
  • Provide necessary context for design reviewers
  • Update documentation

@johanna-skylight johanna-skylight changed the title Landing page semantic enhancements [WIP] Landing page semantic enhancements Jan 31, 2025
Copy link
Collaborator

@robertandremitchell robertandremitchell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@johanna-skylight johanna-skylight changed the title [WIP] Landing page semantic enhancements Landing page semantic enhancements Feb 3, 2025
@johanna-skylight johanna-skylight merged commit 68129de into main Feb 3, 2025
11 checks passed
@johanna-skylight johanna-skylight deleted the jd/landing-page-semantic-enhancements branch February 3, 2025 16:38
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.

3 participants