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

Fix issue where creators page get rendered without css for fraction of second #129

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

teodorus-nathaniel
Copy link
Contributor

@teodorus-nathaniel teodorus-nathaniel commented Dec 22, 2023

Issue:
The which adding the tailwind.css is not called from server side (making the html doesn't include the <style> tag). This is because is rendered dynamically without ssr, which makes the content also not included in the resulting html

Solution:
Move the dynamic import so that the content of the navigation is the one dynamically imported, while the navigation itself along with the content is rendered directly

@teodorus-nathaniel teodorus-nathaniel self-assigned this Dec 22, 2023
@teodorus-nathaniel teodorus-nathaniel added the enhancement New feature or request label Dec 22, 2023
@teodorus-nathaniel teodorus-nathaniel merged commit fd9d525 into main Dec 22, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants