- Introduced `extractLocaleAndBase` function to streamline locale and base name extraction from filenames.
- Added new blog documentation files covering comparisons, internationalization, manual installation, and markdown usage in both English and Chinese.
- Removed outdated author and blog content files to enhance content organization and clarity.
- Updated `content-collections.ts` to utilize the new locale extraction function for improved file handling.
- Updated multiple components to utilize CustomMDXContent, allowing for better integration of Fumadocs components.
- Removed direct imports of MDXContent and defaultMdxComponents, streamlining the content rendering process.
- Introduced CustomMDXContent in a new shared component file to encapsulate common MDX functionalities.
- Introduced multiple new MDX files covering various topics including comparisons, customization, internationalization, manual installation, markdown usage, and component documentation.
- Enhanced the overall structure and organization of the documentation to improve user experience and accessibility.
- Added a meta JSON file to define the documentation structure and navigation.
- Implemented new layout files for different document types, improving the flexibility of the documentation framework.
- Introduced `cleanup-old-content.js` for backing up and cleaning up old content directories.
- Added `migrate-content.js` to facilitate the migration of content types across locales.
- Created new author and blog content files in both English and Chinese, enhancing the content structure.
- Updated `content-collections.ts` to reflect new slug formats for authors.
- Added new category files for better content organization.
- Included privacy, cookie, and terms of service pages in both languages.
- Implemented initial release notes for versioning.
- Deleted the fumadocs-twoslash dependency from package.json and pnpm-lock.yaml.
- Updated accordion documentation to remove unnecessary twoslash syntax.
- Cleaned up imports in the DocPage component by removing unused Popup components.
- Deleted the fumadocs-typescript dependency from package.json and pnpm-lock.yaml.
- Removed the props.ts file as it was no longer needed.
- Updated various MDX files to comment out AutoTypeTable references to props.ts for better clarity and maintainability.
- Added a URL to the navigation in the DocsRootLayout for better routing.
- Increased padding in the NewsletterCard component for enhanced visual appeal.
- Updated the NewsletterForm button class to include a cursor pointer for better user interaction.
- Updated content collections to include new schemas for better document handling.
- Added new documentation files for comparisons, customization, and internationalization.
- Introduced a manual installation guide and improved markdown support.
- Updated package.json with new dependencies for enhanced functionality.
- Added new images for documentation and improved layout components for better user experience.
- Adjusted TypeScript configurations for better path management.
- Modified the meta collection to include files with 'meta**.json' for improved matching.
- Added new translation keys for 'blog' in English and Chinese localization files.
- Updated social links in the layout to use the XTwitterIcon for consistency.
- Adjusted image paths in the features page for better organization.
- Removed unused LocaleSwitcher import from the footer component.
- Replaced font imports in the layout and font index files to use Noto and Bricolage fonts for improved typography.
- Updated global CSS variables to reflect the new font settings.
- Enhanced author introduction in English and Chinese localization files with a greeting emoji for better user engagement.
- Adjusted heading styles in the About page for consistency.
- Changed the comment for average reading speed in content-collections.ts for clarity.
- Added a new translation key for reading time in English and Chinese localization files.
- Updated the BlogPostPage to utilize the new translation key for displaying estimated reading time, improving user experience and localization support.
- Changed the prose class to prose-neutral in blog post and custom page components for improved typography consistency.
- Added a comment in the blog post page to clarify the necessity of the prose class for MDX styling.
- Enhanced the table of contents component with line-clamp for better text handling.
- Replaced <Image> component with <img> tag in multiple MDX files to standardize image rendering.
- Updated alt text in the Chinese blog post for improved accessibility.
- Replaced the custom Mdx component with MDXContent from @content-collections/mdx/react for improved MDX processing.
- Updated content handling in various legal and blog pages to directly use the transformed body from content collections.
- Introduced estimated reading time calculation in the posts collection for better user experience.
- Added a new mdx.css file for consistent styling across MDX components.
- Removed the obsolete shared mdx-component file to reduce redundancy.
- Translated the title and paragraphs in multiple .mdx files from Chinese to English for consistency and clarity.
- Adjusted the layout.tsx to change the font class for improved typography.
- Enhanced the Providers component with detailed comments for better understanding of the provider structure.
- Replaced isSubmitting state with useTransition for improved form submission handling in ContactFormCard and WaitlistFormCard components.
- Updated form submission logic to handle errors more effectively and provide user feedback through toast notifications.
- Adjusted button states to reflect pending submissions, enhancing user experience during form interactions.
- Modified styling in mdx-component to use 'text-primary' for anchor elements, ensuring consistent theming across the application.
- Updated English and Chinese translation files to nest mode-related entries for better clarity.
- Adjusted components to utilize the new translation structure, enhancing accessibility and maintainability.
- Ensured consistent usage of translation keys across ModeSwitcher and ThemeSelector components.
- Refactored theme-related translations in English and Chinese to a nested structure for better organization.
- Updated the default theme in the configuration to "default" for consistency.
- Enhanced the WaitlistPage and Newsletter components with improved descriptions and error handling.
- Integrated the NewsletterCard component into the BlogPostPage for better user engagement.
- Adjusted the ThemeSelector to utilize the new translation structure for theme names.
- Improved styling and layout in the NewsletterForm for a better user experience.
- Introduced PreContext to track whether the code component is inside a pre element, improving styling logic.
- Updated heading components (h3, h4, h5, h6) to use 'font-medium' instead of 'font-semibold' for consistent typography.
- Adjusted code component styling to conditionally apply background based on context, enhancing visual clarity.
- Commented out the <Cards> component in index.mdx and introduction.mdx for clarity.
- Added new translation entries for "homepage" and "title" in both English and Chinese message files.
- Refactored layout.tsx to include a new baseOptions configuration for improved layout management and theme support.
- Integrated ModeSwitcher and Logo components into the layout for enhanced user experience.
- Updated page.tsx to prepare for potential Mdx component integration.
- Added new mode switcher components for both horizontal and dropdown layouts to facilitate theme toggling.
- Updated translation files to include new theme-related entries in English and Chinese.
- Refactored existing components to replace ThemeSwitcher with ModeSwitcher for consistency.
- Introduced new themes in the configuration and updated the theme selector to utilize translations for theme names.
- Enhanced global styles to support new themes and ensure proper application across the project.
- Updated ISSUES.md to reflect a new issue regarding page layout shifting when navigating between docs and the homepage.
- Changed permissions for several image files to ensure proper access and usage.
- Added new SVG files for enhanced iconography in the project.
- Un-commented the TailwindIndicator component in layout.tsx to ensure it is rendered for styling purposes.
- Updated the login button in login-form.tsx to include a cursor-pointer class for better user experience when hovering over the button.
- Introduced new translation entries for the DocsPage, including Table of Contents, search functionality, last update information, and pagination controls in both English and Chinese.
- Refactored layout.tsx to utilize dynamic translations from the message files, enhancing internationalization support and maintainability.
- Refactored the locales array in layout.tsx to dynamically generate language options from LOCALE_LIST for improved maintainability and consistency with internationalization practices.
- Removed hardcoded locale entries to streamline the code and enhance flexibility in supporting additional languages.
- Added a guideline to use `pnpm` as the default package manager in TypeScript best practices.
- Refactored the search API route to improve readability by simplifying the mapping of pages to search indexes.
- Wrapped the GET handler with locale detection from the referer header and ensured the locale parameter is passed to the search API for better internationalization support.
- Added generateStaticParams function in page.tsx to support dynamic locale and slug parameters for improved routing.
- Included console logging in the search API route for better debugging and visibility of search index data.
- Updated content-collections.ts to clarify usage for Fumadocs.
- Added new ISSUES.md file to track known issues.
- Introduced @orama/orama and @orama/tokenizers dependencies in package.json for improved search functionality.
- Enhanced search API route to support internationalization and custom tokenizers for Chinese.
- Added new introduction and documentation files in both English and Chinese.
- Removed outdated test.mdx file to streamline documentation.
- Improved error handling and metadata generation in page.tsx for better user experience.
- Updated documentation links in content-collections.ts for accuracy.
- Modified index.mdx and test.mdx files to improve content structure and clarity.
- Added new Chinese documentation file (index.zh.mdx) to support localization.
- Enhanced layout.tsx to include translations for English and Chinese.
- Updated page.tsx to handle locale parameters for improved routing.
- Refactored source.ts to streamline imports and maintain consistency.
- Added a new layout configuration for documentation with internationalization support.
- Created a dedicated DocsRootLayout and associated providers for better structure.
- Updated middleware to refine route handling for documentation.
- Removed outdated layout configurations and components to streamline the codebase.
- Enhanced localization support for documentation in English and Chinese.
- Introduced new content collections for documentation and metadata using Fumadocs.
- Created initial documentation files and layout for the docs section.
- Updated routing and middleware to support the new docs structure.
- Enhanced localization support by adding new entries for documentation in English and Chinese.
- Implemented a new API route for search functionality within the documentation.
- Removed unnecessary checks in locale handling functions across NavUser, LocaleSelector, and LocaleSwitcher components to simplify the code.
- Adjusted padding in NavbarMobile component for improved layout consistency and user experience.
- Changed import path for Pricing component in HomePage to utilize the new preview structure.
- Adjusted layout in ContactPage and WaitlistPage by adding bottom padding for improved spacing.
- Modified HeroSection component to enhance layout with consistent padding.
- Cleaned up commented-out code in BlockPreview and Navbar components for better readability and maintainability.
- Added a new route for blocks to improve navigation structure.
- Fixed locale inconsistency in BlocksNav component by removing custom locale handling.
- Implemented checks in locale selector components to prevent unnecessary locale updates.
- Updated comments to reflect changes and improve code clarity.
- Replaced imports in HomePage component to utilize new preview paths for better organization.
- Updated Features and Pricing components to align with the new structure.
- Wrapped CallToAction component in a div for improved layout consistency.
- Commented out unused HeroHeader in the HeroSection component for clarity.
- Updated Chinese translations in zh.json to include spaces between words and components for improved readability.
- Enhanced BlocksNav component to correctly handle locale from URL parameters, ensuring accurate navigation across different locales.
- Commented out unused imports in blocks.ts for clarity and to prevent confusion.
- Moved BlockCategoryPageProps interface definition to improve code structure.
- Refactored BlockPreview component to utilize useCopyToClipboard hook for better clipboard functionality.
- Cleaned up commented-out code and improved readability in the BlockPreview component.
- Disabled development indicators in next.config.ts for cleaner output.
- Updated English and Chinese message files to include new block titles for logo, login, signup, and contact sections.
- Refactored routes to include new paths for login, signup, and contact blocks.
- Introduced new layout and page components for marketing sections, including logo cloud and various call-to-action pages.
- Enhanced blocks navigation component to utilize updated paths and improve user experience.
- Introduced a new layout for category pages to enhance navigation and organization of blocks.
- Added a block preview component to display various UI blocks dynamically based on category.
- Updated routes to reflect the new structure for hero blocks.
- Refactored existing hero section components to utilize the new block structure for improved modularity.