[docs] Update chproxy documentation design #213
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This will update the design of the website, to include the new logo, and update colors accordingly.
Check this live here: https://chproxy-pr-213.onrender.com/
Please check the type of change your PR introduces:
Comparison
The current website
The new website
And mobile mode
Further comments
The website is built using Next v2, and more specifically the Nuxt Content plugin with the Nuxt Content Docs Theme. Those specific plugins and version seem to be no longer maintained (Nuxt is now on v3, and the Docs Theme has been officially deprecated).
This means that updating the theme colors required me to do some hacky CSS stuff, as the plugin itself doesn't allow for an easy way to change the colors (except the link colors). So I had to add my own custom CSS file, that artificially overwrite the selector of the various elements I wanted to change. Said element most of the time didn't have any semantic attribute to ease selection, so I had to use presentational attribute for some selectors. As I said, it's hacky.
Please let me know if you see any issues (like wrong colors, most probably default green showing up), and I'll fix them.