Skip to content

Pre render LandingPage for SEO #115

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

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from
Open

Conversation

g-bar
Copy link
Contributor

@g-bar g-bar commented Mar 7, 2025

Currently the LandingPage fetches the content from sanity on the client, which means it's not getting pre-rendered which is not optimal for SEO.

To check this try disabling javascript on your browser and open the app on develop branch
No content gets displayed other than the menu and footer which are rendered in server components.

Capture d’écran 2025-03-07 à 09 00 33

Switch to this branch and reload.
Text renders for that SEO benefit.

Capture d’écran 2025-03-07 à 09 03 37

@g-bar g-bar changed the title Pre render static pages for SEO Pre render LandingPage for SEO Mar 7, 2025
@g-bar g-bar marked this pull request as ready for review March 7, 2025 08:07
@g-bar g-bar requested review from tolokoban, pgetta and bilalesi March 7, 2025 08:07
@g-bar g-bar requested a review from loris-olivier-obi March 31, 2025 08:19
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.

2 participants