feat(docs): enhance documentation and UI consistency

- Updated the index.html to dynamically set the theme color based on user selection, improving user experience during theme switching.
- Modified proxy.ts to include 'icon.png' in the matcher for better asset handling.
- Added a new icon.png file for enhanced branding.
- Improved metadata in layout.tsx and page.tsx files for better clarity and consistency in documentation.
- Updated various documentation files to reflect the new branding of 'Cursor Byok' and ensure consistent terminology throughout.
- Removed outdated blog entries and added new content to better align with the current product direction.
This commit is contained in:
leookun
2026-08-28 01:33:51 +08:00
parent 2b54014cf9
commit 217f984112
27 changed files with 314 additions and 136 deletions
+6 -6
View File
@@ -15,20 +15,20 @@ export async function generateMetadata(props: LayoutProps<'/[lang]'>): Promise<M
return {
metadataBase: new URL(siteUrl),
title: {
default: 'cursor-byok Docs',
template: '%s | cursor-byok',
default: 'Cursor Byok Docs',
template: '%s | Cursor Byok',
},
description: 'Installation, model configuration, and troubleshooting guide for cursor-byok.',
description: 'Installation, model configuration, and troubleshooting guide for Cursor Byok.',
};
}
return {
metadataBase: new URL(siteUrl),
title: {
default: 'cursor-byok 文档',
template: '%s | cursor-byok',
default: 'Cursor Byok 文档',
template: '%s | Cursor Byok',
},
description: 'cursor-byok 的安装、模型配置与故障排查指南。',
description: 'Cursor Byok 的安装、模型配置与故障排查指南。',
};
}