Co-authored-by: Cursor <cursoragent@cursor.com>
- 从多个页面中删除了重复的头部组件代码,简化了页面结构 - 通过移除不必要的HTML元素,提升了页面加载性能 - 统一了页面的结构,便于后续维护和更新
- 移除多个HTML文件中的重复footer代码 - 创建独立的footer组件模板文件 - 使用模板包含语法引入footer组件 - 统一footer结构和样式实现 - 减少代码重复提高维护性
- Removed unused category constants and functions for cleaner code. - Streamlined category retrieval and tab activation in the news section. - Updated HTML to dynamically set active tab based on the current category.