mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-05 04:07:36 +08:00
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:
@@ -26,9 +26,9 @@ export const source = loader({
|
||||
i18n,
|
||||
});
|
||||
|
||||
/** Locale URL prefix segment; empty for the default (hidden) locale. */
|
||||
/** Locale URL prefix segment; all locales are explicit (hideLocale: 'never'). */
|
||||
function localeSegment(page: (typeof source)['$inferPage']): string | undefined {
|
||||
return page.locale === i18n.defaultLanguage ? undefined : page.locale;
|
||||
return page.locale;
|
||||
}
|
||||
|
||||
export function getPageImageUrl(page: (typeof source)['$inferPage']) {
|
||||
|
||||
Reference in New Issue
Block a user