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

Static rendering #576

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Static rendering #576

wants to merge 7 commits into from

Conversation

fraxachun
Copy link
Contributor

@fraxachun fraxachun commented Nov 29, 2024

Description

vivid-planet/comet#2836 for Starter.

Adds basic styling for NotFound:

image

@fraxachun fraxachun added the recommended-change Change should be added to existing projects and be mentioned in the next migration guide label Nov 29, 2024
return (
<html lang={scope.language}>
<body>
<p>Page not found (Scope {JSON.stringify(scope)}).</p>
Copy link
Member

Choose a reason for hiding this comment

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

outputting the scope doesn't belong into starter. But localized messages would. (can also be a different PR)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thomasdax98
thomasdax98 previously approved these changes Dec 3, 2024
@fraxachun
Copy link
Contributor Author

@nsams @thomasdax98 I had to remove export const dynamic = "force-static";
In Preview mode we access cookies leading to an error with force-static.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
recommended-change Change should be added to existing projects and be mentioned in the next migration guide
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants