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

Docs: add pricing page #4247

Merged
merged 2 commits into from Nov 3, 2023
Merged

Docs: add pricing page #4247

merged 2 commits into from Nov 3, 2023

Conversation

yangchuansheng
Copy link
Collaborator

@yangchuansheng yangchuansheng commented Nov 3, 2023

🤖 Generated by Copilot at a2a2d08

Summary

📄🔧🌐

This pull request updates the documentation for Sealos cluster installation and pricing in both English and Chinese languages. It adds new markdown files for the pricing page, modifies the navbar configuration, and improves the user experience for the self-hosting plan page. It also fixes some minor issues with formatting and consistency.

Oh, we are the Sealos crew, and we have a job to do
We write the docs and code, to make the billing system smooth
Heave away, me hearties, heave away
We support both English and Chinese, and we use custom hooks with ease

Walkthrough

  • Add a new pricing page for both English and Chinese languages that explains the billing system in detail (link, link)
  • Add a custom React component called Highlight to the installation guide for the Chinese language to emphasize the recommendation of using the enterprise or customized version of Sealos for large-scale clusters and production environments (link)
  • Remove the warning about not using underscores or uppercase letters in the hostname of each cluster node from the installation guide for the Chinese language to simplify the requirements and avoid confusion (link)
  • Replace the underscores with hyphens in the command-line flags for Sealos commands in the installation guide for the Chinese language to follow the convention and avoid errors (link, link, link)
  • Add a custom React hook called useWindow to the plan page for the self-hosting option that returns the window object with some additional properties, such as the current language (link)
  • Use the useWindow hook to get the current language of the user and use it as a parameter for the button that redirects the user to the pricing page in the same tab (link, link)
  • Modify the description of the navbar item with label Hosting from "Navbar item with label Self Hosting" to "Navbar item with label Hosting" in the navbar configuration file for the Chinese language to make it more consistent and avoid redundancy (link)
  • Add a newline at the end of the navbar configuration file for the Chinese language to follow the best practice and avoid potential issues (link)

Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
@sealos-ci-robot
Copy link
Member

sealos-ci-robot commented Nov 3, 2023

🤖 Generated by lychee action

Summary

Status Count
🔍 Total 981
✅ Successful 312
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 668
❓ Unknown 0
🚫 Errors 0

Full action output

Full Github Actions output

Copy link

sweep-ai bot commented Nov 3, 2023

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.

@sealos-ci-robot
Copy link
Member

sealos-ci-robot commented Nov 3, 2023

📘 Preview documentation website

👀 Visit Preview

Copy link

codecov bot commented Nov 3, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!.

Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
@zzjin zzjin added this to the v5.0 milestone Nov 3, 2023
@zzjin zzjin merged commit ae37853 into labring:main Nov 3, 2023
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants