Commit Graph

168 Commits

Author SHA1 Message Date
javayhu
91b2bdb4ac fix: update Chinese translations and enhance blocks navigation
- 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.
2025-03-26 00:27:19 +08:00
javayhu
af94ab6dd0 feat: update navigation and add new block components
- 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.
2025-03-25 23:57:51 +08:00
javayhu
a6e2ee698a refactor: update site metadata and translations
- Renamed "Site" to "Metadata" in translation files for clarity.
- Updated the title, tagline, and description in both English and Chinese translations to reflect the new branding.
- Adjusted references in various components to use the updated metadata structure.
- Removed the obsolete site.webmanifest file and updated the manifest path in the metadata construction.
2025-03-23 15:37:38 +08:00
javayhu
a9e0ce57d3 refactor: update account settings to profile and enhance multilingual support
- Renamed account settings to profile in English and Chinese translations for clarity.
- Updated routing and component references to reflect the new profile terminology.
- Removed the multilingual blog documentation as it is no longer needed.
- Enhanced the profile settings page with appropriate translations and layout improvements.
2025-03-22 11:19:20 +08:00
javayhu
7af79df7c4 feat: enhance AI tool pages with descriptions and loading state
- Added descriptions for AI Text, Image, Video, Audio tools in English and Chinese translations to improve user guidance.
- Introduced a loading component for better user experience during data fetching in the dashboard.
- Refactored AI tool pages to utilize updated translations and improved layout for consistency across the application.
2025-03-22 10:28:02 +08:00
javayhu
3bceaea045 fix: enhance password update experience and UI consistency
- Updated Chinese translation for password hint to improve clarity.
- Added rounded styling to the logo in the dashboard sidebar for better aesthetics.
- Replaced loading state with a skeleton card in the password update component to enhance user experience during data fetching.
- Adjusted skeleton card dimensions for improved visual consistency.
2025-03-22 10:17:52 +08:00
javayhu
a42a183302 feat: add security settings page and enhance translations
- Introduced a new Security settings page with options for password management and account deletion.
- Updated English and Chinese translations to include new terms for saving, canceling, and security settings.
- Enhanced navigation by adding a link to the Security settings in the main sidebar.
- Refactored existing components to utilize updated translations for consistency across the application.
2025-03-22 10:01:49 +08:00
javayhu
fa2c3f18ce refactor: improve UI consistency and enhance user experience in account settings
- Updated English translations for password setup to remove trailing periods for consistency.
- Refactored DashboardLayout to improve spacing around children components.
- Enhanced styling in various card components (ContactFormCard, DeleteAccountCard, ResetPasswordCard, UpdateAvatarCard, UpdateNameCard, UpdatePasswordCard, NewsletterFormCard, WaitlistFormCard) to ensure consistent use of flexbox and improved layout.
- Adjusted font weight in card titles for a more uniform appearance across components.
2025-03-22 09:38:51 +08:00
javayhu
270882253d refactor: enhance account and notification settings with descriptions and layout improvements
- Added descriptions for account and notification settings in the English translation file for better user guidance.
- Updated the layout of the account and notification settings pages to improve readability and organization.
- Adjusted the Dashboard route to '/dashboard' for consistency.
- Enhanced various card components to ensure full height and improved styling.
- Introduced a loading skeleton for the password update card to enhance user experience during data fetching.
2025-03-22 01:17:05 +08:00
javayhu
dbffd6ff66 refactor: enhance dashboard layout and sidebar navigation
- Updated AI section titles in English and Chinese translations for clarity.
- Refactored sidebar components to improve navigation structure, replacing SidebarMain with NavMain and NavUser for better modularity.
- Introduced SidebarUpgradeCard to promote upgrade options within the sidebar.
- Adjusted DashboardLayout and DashboardHeader for improved styling and responsiveness.
- Removed deprecated SidebarMain component to streamline the codebase.
2025-03-22 00:05:55 +08:00
javayhu
6744c52087 feat: enhance billing and payment features
- Updated English and Chinese localization files to include detailed billing and subscription management messages.
- Introduced new payment actions for creating checkout and customer portal sessions.
- Added success and cancel pages for payment processing.
- Implemented a billing card component to manage subscriptions and payment methods.
- Created a pricing table component to display available plans with interval selection.
- Established a Stripe webhook handler for processing payment events.
- Refactored existing components to integrate new payment functionalities and improve user experience.
2025-03-19 00:09:58 +08:00
javayhu
0fa2562129 refactor: enhance localization and component structure in settings
- Updated English and Chinese localization files to improve newsletter subscription labels and team references.
- Renamed route for notifications from `SettingsNotification` to `SettingsNotifications` for consistency.
- Refactored `DashboardPage`, `SettingsBillingPage`, and `SettingsAccountPage` to streamline layout and improve responsiveness.
- Introduced `SettingsNotificationPage` to handle notification settings with a dedicated component.
- Enhanced various settings components to accept `className` props for better styling flexibility.
2025-03-18 11:43:11 +08:00
javayhu
db651f5f1d feat: integrate AWS S3 storage functionality for file uploads and retrieval
- Added new API routes for uploading files, generating pre-signed URLs, and retrieving file URLs using AWS S3.
- Implemented error handling for storage operations, including custom error classes for better clarity.
- Updated localization files to include success and failure messages for avatar updates.
- Enhanced the `UpdateAvatarCard` component to support file uploads directly from the browser, improving user experience.
2025-03-18 10:41:31 +08:00
javayhu
bb7e36cc85 refactor: enhance localization and styling in account deletion flow
- Updated Chinese localization file to include a new "cancel" message for improved user experience during account deletion.
- Adjusted `DeleteAccountCard` footer styling for better alignment and spacing of buttons.
- Modified `auth.ts` to disable freshness check for user deletion, ensuring smoother account removal process.
2025-03-17 00:02:44 +08:00
javayhu
1fd3ef7eeb feat: add reset password functionality for users with social login
- Introduced `ResetPasswordCard` component to guide users who signed up with social providers in setting up a password through the forgot password flow.
- Updated `ConditionalUpdatePasswordCard` to conditionally render `ResetPasswordCard` for users without a credential provider but with an email.
- Enhanced localization files to include new messages for the password setup process in both English and Chinese.
- Implemented email pre-filling in the forgot password form based on URL parameters for improved user experience.
2025-03-16 23:45:29 +08:00
javayhu
635346bff6 refactor: restructure waitlist form localization messages
- Updated English and Chinese localization files to nest waitlist form messages under a `form` object for better organization.
- Adjusted `WaitlistFormCard` component to utilize the new message structure, enhancing clarity and maintainability of the code.
2025-03-16 15:05:51 +08:00
javayhu
0ae10c6c42 refactor: optimize intl messages for contact form 2025-03-16 15:03:22 +08:00
javayhu
5607b57bd1 feat: add notification settings and newsletter management features
- Introduced a new `SettingsNotificationPage` component for managing newsletter subscriptions.
- Added `NewsletterFormCard` to handle subscription status with user feedback through toast notifications.
- Implemented `isSubscribedAction` to check user subscription status, enhancing user experience.
- Updated localization files to include new messages for newsletter management in English and Chinese.
- Enhanced sidebar with a new notification settings link for easy access to subscription preferences.
2025-03-16 12:55:26 +08:00
javayhu
9ddf1a3c20 feat: implement newsletter subscription and unsubscription actions
- Added `subscribeAction` and `unsubscribeAction` in `newsletter.ts` to handle newsletter subscriptions and unsubscriptions with validation using Zod.
- Introduced new localization messages for email validation in English and Chinese localization files.
- Updated `WaitlistFormCard` to utilize the new subscription action, improving user feedback with toast notifications.
- Replaced the alert icon in `FormError` component for better visual representation of errors.
2025-03-16 10:42:33 +08:00
javayhu
52738f4783 feat: enhance waitlist and contact forms with improved localization messages
- Added new success and failure messages for waitlist and contact form submissions in English and Chinese localization files.
- Introduced `WaitlistFormCard` component to streamline waitlist form handling and improve user feedback with toast notifications.
- Updated `ContactFormCard` to utilize new localization messages for form submission states, enhancing user experience.
- Improved structure and validation for both forms, ensuring better error handling and user guidance.
2025-03-16 08:43:46 +08:00
javayhu
aef4ce6296 fix: add account deletion feature and enhance localization messages
- Introduced `DeleteAccountCard` component for users to permanently delete their accounts, including a confirmation dialog to prevent accidental deletions.
- Updated localization files in English and Chinese to include new messages related to account deletion, enhancing user guidance and clarity.
- Improved layout of the account settings page to incorporate the new delete account functionality alongside existing update features.
2025-03-16 01:15:01 +08:00
javayhu
d51a22e030 fix: enhance localization messages and improve account settings UI
- Added new success and failure messages for password updates in English and Chinese localization files.
- Updated `UpdateAvatarCard`, `UpdateNameCard`, and `UpdatePasswordCard` components to improve error handling and user feedback with toast notifications.
- Enhanced styling for the user avatar fallback icon in `UpdateAvatarCard` for better visual consistency.
2025-03-16 00:20:12 +08:00
javayhu
c258cc7d0d fix: add password visibility toggle to reset password form and update localization messages
- Implemented password visibility toggle functionality in the `ResetPasswordForm` component, enhancing user experience during password entry.
- Updated localization files in English and Chinese to include new messages for showing and hiding passwords.
- Ensured accessibility by providing appropriate icons and screen reader support for the password visibility toggle.
2025-03-15 22:20:55 +08:00
javayhu
11a78eccbc fix: enhance login and registration forms with password visibility toggle
- Added password visibility toggle functionality to `LoginForm` and `RegisterForm` components, improving user experience during authentication.
- Updated localization files to include new messages for showing and hiding passwords in both English and Chinese.
- Ensured consistent styling and accessibility for the password input fields with appropriate icons and screen reader support.
2025-03-15 21:54:59 +08:00
javayhu
c0c60f2f2f fix: enhance localization messages and update user interface components
- Added new localization messages for logout failure and success notifications in English and Chinese.
- Updated `SidebarUser` and `UserButton` components to display the username instead of the name for better clarity.
- Improved `UpdateNameCard` to handle username updates with appropriate success and error messages using toast notifications.
- Refactored `MainMobileMenu` to utilize the translation function directly for login and sign-up links, enhancing consistency across the application.
2025-03-15 21:47:33 +08:00
javayhu
c497d71757 fix: update localization messages and improve account settings UI
- Enhanced localization messages in English and Chinese for user name and password fields, adding hints for better user guidance.
- Refactored `UpdateAvatarCard`, `UpdateNameCard`, and `UpdatePasswordCard` components to improve state management and user experience.
- Updated validation hints in the `UpdateNameCard` and `UpdatePasswordCard` for clearer instructions on input requirements.
2025-03-15 21:02:13 +08:00
javayhu
dc36339faa fix: update localization messages and enhance account settings UI
- Revised localization messages in English and Chinese for avatar upload, name input, and password change to improve clarity and consistency.
- Adjusted the layout of `UpdateAvatarCard`, `UpdateNameCard`, and `UpdatePasswordCard` components for better user experience and responsiveness.
- Added `CardFooter` to `UpdateAvatarCard` and `UpdateNameCard` for improved information display.
- Updated validation schema for user name to reflect new minimum and maximum character requirements.
2025-03-15 20:44:52 +08:00
javayhu
3bcb0f10e4 fix: update maxLength validation for name input in localization files
- Adjusted the maximum length for name input validation in both English and Chinese localization files from 32 to 30 characters.
- Refactored `UpdateNameCard` to initialize the form with a fallback for user name and check user existence after hooks initialization.
- Commented out the `TailwindIndicator` in the layout for potential future use.
2025-03-15 20:00:51 +08:00
javayhu
20be1fdfd6 chore: enhance account settings page with avatar, name, and password update features
- Introduce new components: `UpdateAvatarCard`, `UpdateNameCard`, and `UpdatePasswordCard` for managing user account settings.
- Update localization files for English and Chinese to include new fields related to avatar upload, name input, and password change.
- Refactor `SettingsAccountPage` to utilize the new components, improving code organization and user experience.
2025-03-15 19:41:37 +08:00
javayhu
f7e5297589 chore: refactor settings navigation and localization
- Replace the `General` and `Security` settings pages with a new `Account` settings page, updating the corresponding routes and localization files for both English and Chinese.
- Implement `useTranslations` in the new `SettingsAccountPage` to enhance localization support.
- Clean up sidebar links and remove the obsolete `SettingsGeneralPage` to streamline the settings navigation.
- Update the `SidebarMain` component to reflect the changes in settings structure.
2025-03-15 17:36:49 +08:00
javayhu
52c30ec9d1 chore: enhance dashboard sidebar localization and add web manifest
- Add new dashboard sidebar item for navigation in both English and Chinese localization files.
- Introduce a new `site.webmanifest` file for improved PWA support.
- Update routing constants to include specific settings routes for better organization.
- Clean up imports in `config.tsx` and adjust sidebar links for clarity.
2025-03-15 15:47:27 +08:00
javayhu
69da9e1936 chore: refactor dashboard sidebar and enhance localization support
- Introduce a new `DashboardSidebar` component to replace the obsolete `AppSidebar`, improving organization and clarity.
- Implement `SidebarMain` and `SidebarUser` components for better separation of concerns within the sidebar.
- Update localization files to include new sidebar items for AI features and settings in both English and Chinese.
- Streamline sidebar navigation by utilizing the `getSidebarMainLinks` function for dynamic link generation.
- Remove unused `NavSecondary` component to reduce complexity and improve maintainability.
2025-03-15 14:58:05 +08:00
javayhu
cb0c852933 chore: update localization and add divider component for social login
- Add "or" translation to English and Chinese localization files for improved user guidance.
- Introduce `DividerWithText` component to visually separate social login options in the authentication UI.
- Integrate `DividerWithText` in the `SocialLoginButton` component for enhanced layout clarity.
2025-03-15 12:12:03 +08:00
javayhu
0929d93342 chore: enhance MDX component fix copy button and localization updates
- Add __rawString__ property to MDX component for improved code handling.
- Refactor pre element to extract code content dynamically and support copy functionality.
- Update login translation in English to "Log in" for consistency.
2025-03-15 11:27:07 +08:00
javayhu
43010fcb64 chore: update localization and metadata handling in email templates
- Refactor email components (ForgotPassword, SubscribeNewsletter, VerifyEmail) to utilize `defaultMessages` for improved localization.
- Enhance `EmailLayout` to accept locale and messages props, ensuring consistent translation across email templates.
- Update manifest generation to use `defaultMessages` for site name and description, streamlining metadata handling.
- Adjust copyright formatting in translation files for better presentation.
2025-03-15 10:24:50 +08:00
javayhu
234cc5518c chore: simplify website info by removing title and description fields
- Remove `title` and `description` fields from English and Chinese translation files to streamline website metadata.
- Update `getWebsiteInfo` function to exclude removed fields, ensuring consistency in website information retrieval.
- Adjust `WebsiteInfo` type definition to reflect the changes in metadata structure.
2025-03-15 01:03:30 +08:00
javayhu
5d925b65c9 tmp: optimize international metadata 2025-03-14 10:11:46 +08:00
javayhu
1c4f86c7ef chore: enhance localization and metadata across application
- Update English and Chinese translation files to include descriptions for various pages, improving user experience and clarity.
- Refactor metadata generation in multiple pages to utilize the new `constructMetadata` function for consistency.
- Ensure all pages have appropriate titles and descriptions for better SEO and accessibility.
- Clean up imports and streamline metadata handling in the application.
2025-03-14 01:31:17 +08:00
javayhu
bb4169f4bc fix: update team name in email templates for localization
- Change team name to "MkSaaS Team" in English and Chinese email templates.
- Remove unnecessary website info references in email components to streamline localization.
- Ensure consistent usage of the `defaultMessages` for translations in email templates.
2025-03-13 23:50:54 +08:00
javayhu
805a871146 feat: enhance MDX rendering with code copy functionality
- Add code copy button to code blocks with internationalized label
- Modify MDX component to support raw code string extraction
- Update content collections to inject raw code string into pre elements
- Improve code block styling and add hover-based copy button
- Remove unnecessary prose wrapper from various components
- Enhance code block presentation with better overflow and border handling
2025-03-11 00:33:14 +08:00
javayhu
9a6ce6b7c3 feat: add internationalization for theme and language switchers
- Update `en.json` and `zh.json` with new translations for theme and language switching
- Modify `LocaleSwitcher` and `ThemeSwitcher` components to use internationalized labels
- Replace hardcoded strings with translations from `useTranslations` hook
- Improve accessibility by using translated aria-labels and sr-only text
- Refactor button styling to use `size-9` utility class
2025-03-11 00:08:32 +08:00
javayhu
8b4dde9042 refactor: centralize website configuration with dynamic translations
- Replace static `siteConfig` with dynamic `getWebsiteInfo()` function
- Add `Site` section to translation JSON files for multilingual support
- Update types to distinguish between website config and website info
- Remove deprecated `site.ts` configuration file
- Modify components and utilities to use new translation-based configuration
- Ensure consistent website metadata generation across the application
2025-03-10 00:48:12 +08:00
javayhu
6144cdcd3a feat: add waitlist page with internationalization support
- Create waitlist page with responsive design and email subscription form
- Add localized messages for English and Chinese waitlist pages
- Implement form inputs with labels and validation
- Use Shadcn/ui Card and Button components for consistent styling
- Add padding to page container for improved layout
2025-03-09 16:23:28 +08:00
javayhu
99c8827eb8 feat: add about page with responsive image gallery and internationalization
- Create about page with author information and contact section
- Add localized messages for English and Chinese about page
- Implement responsive image gallery with multiple column layouts
- Use Pexels images for gallery content
- Add image loading optimization with eager and lazy loading
- Update Next.js image configuration to support Pexels image domain
- Enhance page layout with Shadcn/ui Avatar and Button components
2025-03-09 16:14:28 +08:00
javayhu
e8b9dfb3c3 feat: add contact page with internationalization support
- Create contact page with responsive design and form layout
- Add localized messages for English and Chinese contact pages
- Implement form inputs with labels and validation
- Use Shadcn/ui components for consistent styling
- Add Card and Textarea components for enhanced UI
2025-03-09 15:09:55 +08:00
javayhu
bc4b5527eb feat: add changelog page with localized release notes
- Implement releases collection in content-collections.ts for tracking version updates
- Create changelog page with dynamic release rendering for multiple locales
- Add ReleaseCard component to display version details and changes
- Implement getReleases utility function to fetch and sort release notes
- Update internationalization messages for changelog page
- Add English and Chinese release notes for v1.0.0, v1.1.0, and v1.2.0
2025-03-09 14:42:04 +08:00
javayhu
f2d616cd2f feat: add landing page blocks and block pages 2025-03-09 01:53:43 +08:00
javayhu
416e184a59 feat: add blocks section to marketing navigation and routes
- Introduce new blocks routes for hero, pricing, features, FAQ, stats, call-to-action, and content components
- Update marketing navigation configuration to include new blocks menu section
- Add corresponding route entries in `routes.ts`
- Create placeholder pages for block components
- Update localization files to support new blocks menu items
- Modify pricing page to include pricing comparator component
- Refactor pricing component styling for consistency
2025-03-09 01:11:05 +08:00
javayhu
129aac2c12 feat: add dedicated pricing page with multiple pricing components
- Create new `/pricing` route with dynamic localization
- Implement three pricing components (Pricing3, Pricing4, Pricing5) from NSUI design system
- Update routes configuration to use dedicated pricing page instead of anchor link
- Add localization support for pricing page title
- Adjust home page margin for consistent layout
2025-03-09 00:26:34 +08:00
javayhu
6160622ccd refactor: update mobile navbar and localization
- Modify mobile navbar to conditionally render login/signup buttons based on user authentication
- Update English locale translations with minor text refinements
- Add `userLoggedIn` prop to `MainMobileMenu` component for dynamic rendering
- Improve mobile menu layout and user experience
2025-03-09 00:05:14 +08:00
javayhu
92d7513e3d refactor: enhance navigation and link rendering with active state and dynamic imports
- Update footer, navbar, and mobile navbar to use dynamic social and menu links
- Implement active state highlighting for navigation items using locale pathname
- Replace static social links with a dynamic function in marketing configuration
- Improve icon and styling consistency across navigation components
- Add null checks for menu and social links to prevent rendering errors
- Update icon for About page in menu links
2025-03-08 21:45:07 +08:00
javayhu
99490cfd0b feat: update blog page localization and styling
- Change "publisher" to "author" in English and Chinese translation files
- Add Lucide icons for date and reading time in blog post page
- Implement link underline animation in global CSS
- Enhance blog post page layout with icon-based metadata display
- Improve visual consistency and internationalization for blog components
2025-03-08 18:39:57 +08:00
javayhu
13810236d4 feat: add logout translations and update mobile/desktop navbar components
- Add "logout" translation key to English and Chinese locale files
- Update `UserButton` component to use translated logout text
- Modify mobile and desktop navbar to conditionally render user button based on session
- Adjust styling for blog category list mobile and navbar components
- Improve internationalization and user authentication UI
2025-03-08 18:31:35 +08:00
javayhu
8d8b66a7fe feat: internationalize marketing configuration and components
- Add translation support for menu links, footer links, and avatar links
- Create `createTranslator` utility function for dynamic translations
- Update marketing configuration to use translation-based menu and link generation
- Modify navbar, footer, and user button components to use translated content
- Add new "Common" translation keys for login and signup buttons
- Refactor marketing configuration to dynamically generate links with translations
- Improve internationalization across marketing-related components
2025-03-08 18:08:13 +08:00
javayhu
f4e51757e5 refactor: update marketing types, links, and component rendering
- Add new `MenuItem` and `NestedMenuItem` types for improved type safety
- Update marketing configuration to use new types with `title` instead of `name`
- Modify footer, navbar, and user button components to handle optional icons
- Enhance media query hook with server-side rendering support
- Update Chinese translation with minor punctuation adjustments
- Improve component rendering with null checks for icons
2025-03-08 17:23:37 +08:00
javayhu
431e61d2a5 refactor: consolidate blog components and improve file structure
- Move MDX component from marketing to shared folder
- Remove deprecated blog post and blog posts components
- Update blog page imports to use new MDX component location
- Add reading time estimation utility function
- Reorganize navbar and mobile navbar components
- Update marketing links configuration
- Improve component modularity and code organization
2025-03-08 13:50:08 +08:00
javayhu
8c3f64d0aa refactor: remove email templates and consolidate locale utility functions
- Delete email template files: `email-formats.ts`, `newsletter-welcome.tsx`, `reset-password.tsx`, and `verify-email.tsx`
- Move `getLocaleFromRequest` utility function from `auth.ts` to `utils.ts`
- Update Chinese translation for newsletter and copyright text
- Improve code organization and remove redundant email-related files
2025-03-08 12:02:37 +08:00
javayhu
95ddd0a1dc feat: enhance email internationalization and template system
- Add comprehensive email template system with React Email and use-intl
- Implement dynamic email template rendering with locale-specific translations
- Create reusable email components for consistent design
- Update authentication flow to support multilingual email templates
- Add new email-related dependencies and configuration
- Refactor email sending logic to support dynamic locale detection
2025-03-07 23:34:02 +08:00
javayhu
2f4b8e23fe feat: improve blog localization and error handling
- Add new localization keys for "all" and "noPostsFound" in English and Chinese
- Update blog components to use localized translations
- Add optional chaining for category properties to prevent rendering errors
- Improve mobile and desktop category list components with translations
2025-03-07 01:18:38 +08:00
javayhu
48adc7ad4a refactor: update blog page localization and content structure
- Simplify blog page translation keys in English and Chinese
- Remove hardcoded category labels in blog post page
- Use server-side translations for publisher, categories, and table of contents
- Remove font-serif class from blog post content
2025-03-07 01:00:17 +08:00
javayhu
c8a3c64fda refactor: update blog and auth components with localization and UI improvements
- Add new "Product" category for blog posts in English and Chinese
- Update blog page subtitle using localization messages
- Enhance reset password page and form with better error handling
- Modify auth card styling with subtle border and shadow
- Update mobile navbar background for improved visual clarity
- Refine authentication form labels and button text
2025-03-07 00:03:41 +08:00
javayhu
ce7fe5b45f feat: enhance blog category filtering and pagination
- Add blog category filter for desktop and mobile views
- Implement category-based blog post filtering
- Add pagination support for blog and category pages
- Update localization messages for blog categories
- Reduce posts per page from 9 to 6
- Add loading states for blog pages
- Create new content collections for blog categories in Chinese
2025-03-06 00:48:22 +08:00
javayhu
71eaefefbf chore: update localization and navbar UI
- Adjust localization text spacing in English and Chinese translations
- Temporarily disable theme switcher in navbar
- Swap sign-up and sign-in labels in registration form
2025-03-05 22:23:31 +08:00
javayhu
508d35cc21 refactor: simplify internationalization messages and remove unused content
- Update English and Chinese message files to remove unnecessary translations
- Remove root page redirect component
- Update home page to use new 'HomePage' translation key
- Modify marketing links by commenting out docs link
- Adjust locale selector width for better UI consistency
2025-03-05 01:57:53 +08:00
javayhu
6646471e00 refactor: simplify internationalization messages and remove unused content
- Update English and Chinese message files to remove unnecessary translations
- Remove root page redirect component
- Update home page to use new 'HomePage' translation key
- Modify marketing links by commenting out docs link
- Adjust locale selector width for better UI consistency
2025-03-03 01:10:10 +08:00
javayhu
cf8b0402a9 refactor: remove German language support from i18n configuration 2025-03-02 21:51:39 +08:00
javayhu
a4e7a59e17 feat: enhance internationalization with comprehensive locale support
- Add German and Chinese language translations
- Update routing configuration to support multiple locales (en, de, zh)
- Create new components for locale switching and navigation
- Implement dynamic error and not-found pages with internationalized content
- Refactor global styles and MDX styling
- Update middleware and navigation configuration for improved i18n routing
2025-03-02 01:11:44 +08:00
javayhu
4c6997a012 feat: implement internationalization with next-intl
- Add multi-language support using next-intl
- Configure routing and localization for English and Chinese
- Update project structure to support i18n routing
- Add middleware and navigation helpers for localized routing
- Create message files for translations
- Modify layout and page components to support internationalization
2025-03-01 21:59:22 +08:00