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

feat:docs banner #4415

Merged
merged 1 commit into from Dec 14, 2023
Merged

feat:docs banner #4415

merged 1 commit into from Dec 14, 2023

Conversation

zjy365
Copy link
Contributor

@zjy365 zjy365 commented Dec 14, 2023

🤖[deprecated] Generated by Copilot at f82d704

Summary

🎨🌐🔥

This pull request adds a feature to redirect Chinese users to the domestic official website of sealos and replaces the NavBanner component with a website configuration option for the announcement bar. It also modifies some scripts and styles to improve the functionality and appearance of the announcement bar. It deletes some unused files and components related to the NavBanner.

sealos website
adds announcement bar, SEO
simplifies Header

Walkthrough

  • Add an optional announcement bar for Chinese users to visit the domestic official website (link, link, link, link, link)
  • Remove the NavBanner component and its related files, as it is replaced by the announcement bar (link, link, link, link, link, link, link, link, link, link, link, link)
  • Add a console log statement for debugging purposes to the global script that handles the a tag interception (link)
  • Add a conditional block to the global script that submits the website to Baidu search engine if the hostname is sealos.run (link)

Signed-off-by: jingyang <3161362058@qq.com>
@sealos-ci-robot
Copy link
Member

🤖 Generated by lychee action

Summary

Status Count
🔍 Total 1146
✅ Successful 388
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 757
❓ Unknown 0
🚫 Errors 0

Full action output

Full Github Actions output

Copy link

sweep-ai bot commented Dec 14, 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.
  • Apply: Add docstrings to all functions and file headers.

@sealos-ci-robot
Copy link
Member

📘 Preview documentation website

👀 Visit Preview

@yangchuansheng yangchuansheng added this to the v5.0 milestone Dec 14, 2023
@yangchuansheng yangchuansheng merged commit 27b000c into labring:main Dec 14, 2023
13 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