fix: Update Gravatar URL size and improve avatar rendering logic
style: Adjust footer margin for better layout consistency
refactor: Remove old navbar component and integrate new layout structure
feat: Enhance user profile page with user header component
chore: Remove unused user profile component
fix: Update posts per page configuration for better pagination
feat: Extend device context to support system theme mode
refactor: Remove unused device hook
fix: Improve storage state hook for better error handling
i18n: Add new translations for blog home page
feat: Implement pagination component for better navigation
feat: Create theme toggle component for improved user experience
feat: Introduce responsive navbar or side layout with theme toggle
feat: Develop custom select component for better UI consistency
feat: Create user header component to display user information
chore: Add query key constants for better code maintainability
- Refactored userLogin function to include captcha handling.
- Introduced getCaptchaConfig API to fetch captcha configuration.
- Added Captcha component to handle different captcha providers (hCaptcha, reCaptcha, Turnstile).
- Updated LoginForm component to integrate captcha verification.
- Created UserProfile component to display user information with avatar.
- Implemented getUserByUsername API to fetch user details by username.
- Removed deprecated LoginRequest interface from user model.
- Enhanced navbar and layout with animation effects.
- Removed unused user page component and added dynamic user profile routing.
- Updated localization files to include captcha-related messages.
- Improved Gravatar component for better avatar handling.
- Update comment API to handle private comments and improve request structure.
- Remove unused CSS animations and components related to comments.
- Implement new comment input and item components with enhanced functionality including editing and private comment options.
- Integrate user profile navigation and improve user experience with better feedback on actions (like, delete, edit).
- Update localization for new features and ensure consistency in comment handling.
- Introduce checkbox for private comments in the comment input.
- Updated `getPostById` function to accept an optional authorization token.
- Modified `PostPage` to retrieve the token from cookies and pass it to the API call.
- Added smooth transition effects for background and text colors in `globals.css`.
- Cleaned up imports and formatting in `blog-home.tsx`.
- Refactored `blog-post.tsx` to use `MDXRemote` for rendering markdown content.
- Introduced `blog-comment.tsx` and `blog-post-header.client.tsx` components for better structure.
- Added a switch component for dark/light mode toggle in the navbar.
- Updated `Post` model to include a description field.
- Updated component files to use consistent single quotes for strings.
- Removed unnecessary newlines and adjusted indentation for better readability.
- Simplified conditional rendering and improved code structure in various components.
- Added ESLint configuration for better code quality and adherence to standards.
- Enhanced error handling in i18n request logic.
- Renamed `orderedBy` to `orderBy` and `reverse` to `desc` in ListPostsParams interface and related functions.
- Updated all usages of the sorting parameters in the post listing logic to reflect the new naming convention.
feat: add user-related API functions
- Implemented `getLoginUser` and `getUserById` functions in the user API to fetch user details.
- Enhanced user model to include `language` property.
feat: integrate next-intl for internationalization
- Added `next-intl` plugin to Next.js configuration for improved localization support.
- Removed previous i18n implementation and replaced it with a new structure using JSON files for translations.
- Created locale files for English, Japanese, and Chinese with basic translations.
- Implemented a request configuration to handle user locales and messages dynamically.
fix: clean up unused imports and code
- Removed unused i18n utility functions and language settings from device context.
- Cleaned up commented-out code in blog card component and sidebar.
chore: update dependencies
- Added `deepmerge` for merging locale messages.
- Updated package.json and pnpm-lock.yaml to reflect new dependencies.
fix: Update post fetching logic to use dynamic ID instead of hardcoded value
feat: Enhance layout with animated transitions using framer-motion
refactor: Remove old post and user page implementations, introduce new structure
feat: Implement sidebar components for blog home with dynamic content
feat: Create blog post component with wave header and metadata display
feat: Add responsive sidebar menu for navigation on mobile devices
chore: Introduce reusable sheet component for modal-like functionality
feat: create random labels page
feat: implement login page with OpenID Connect support
feat: add Gravatar component for user avatars
feat: create Navbar component with navigation menu
chore: create Sidebar component placeholder
feat: implement login form with OIDC and email/password options
feat: add reusable button component
feat: create card component for structured content display
feat: implement input component for forms
feat: create label component for form labels
feat: add navigation menu component for site navigation
chore: add configuration file for site metadata
feat: implement device context for responsive design
feat: add utility functions for class name management
feat: define OIDC configuration model
feat: define base response model for API responses
feat: define user model for user data
feat: implement i18n for internationalization support
feat: add English and Chinese translations for login
chore: create index for locale resources
chore: add blog home view placeholder