feat(frontend):优化前端页面设计

This commit is contained in:
2026-05-29 16:44:17 +00:00
parent a83c5fa5bd
commit affe460180
80 changed files with 2670 additions and 2678 deletions
+8 -10
View File
@@ -18,19 +18,17 @@ import yaml
def print_banner() -> None:
"""执行与 print banner 相关的核心业务流转操作。
该方法封装了具体的算法策略或状态控制逻辑,确保操作能够在事务上下文中被原子且一致地执行。
Returns: (None): 经由当前业务模型加工处理后所输出的具体数据实例或领域模型对象。"""
"""在启动阶段输出 KiloStar 的 ASCII 横幅与版本/作者元信息。"""
with open("config/config.yml", "r") as config:
config = yaml.load(config, Loader=yaml.FullLoader)
version = config.get("version", "unknown")
kilostar_banner = """
██████╗ ██████╗ ███████╗████████╗ █████╗ ██████╗
██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██╔══██╗██╔══██╗
█████╔╝██████╔╝█████╗ ██║ ████║██████╔╝
██╔═══╝ ██╔══████╔══╝ ██║ ██║ ██║██╔══██╗
██║ ██║ ██║███████╗ ██║ ██████╔╝██║ ██║
╚═╝ ╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝
kilostar_banner = r"""
██████╗██╗ ██████╗ ███████╗████████╗ █████╗ ██████╗
██║ ██╔╝██║██║ ██╔══██╗██╔════╝╚══██╔══╝██╔══██╗██╔══██╗
█████╔╝ ████║ ██║ ██║███████╗ ██║ ███████║██████╔╝
██╔═██╗ ████║ ██║ ██║╚════██║ ██║ ██╔══██║██╔══██╗
██║ ██╗██║███████╗╚██████╔╝███████║ ██║ ██║ ██║██║ ██║
╚═╝ ╚═╝╚═╝╚══════╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝
"""
console = Console()
banner_colored = Text(kilostar_banner, style="gold3 bold")