Commit Graph

52 Commits

Author SHA1 Message Date
javayhu
cb7743fe07 refactor: remove scrollbar hiding styles and adjust overflow for scroll-locked state 2025-07-14 22:37:25 +08:00
javayhu
c8b29c59dc chore: fix fumadocs top empty banner shown when in cloudflare worker env 2025-06-17 23:38:34 +08:00
javayhu
9b0e19049d chore: optimize homepage hero and stats sections 2025-05-01 14:47:00 +08:00
javayhu
9c28c451e4 fix: hide scrollbar for layout shift when using the theme selector 2025-04-30 21:24:15 +08:00
javayhu
d94e777dde chore: update font in hero section 2025-04-29 08:07:38 +08:00
javayhu
a119a86e78 chore: update fumadocs domain 2025-04-27 22:23:56 +08:00
javayhu
9eaacfff8d chore: update default theme to Clean Slate 2025-04-27 00:50:46 +08:00
javayhu
29b225c1eb feat: add various animated text components including AnimatedGradientText, AnimatedShinyText, TypingAnimation, MorphingText, and others to Magicui 2025-04-26 10:39:11 +08:00
javayhu
1cecd22213 feat: add AnimatedBeam, BlurFade, MagicCard, Meteors components and their styles to Magicui 2025-04-26 10:35:25 +08:00
javayhu
35005ea725 feat: add multiple magic ui button components including AnimatedSubscribeButton, InteractiveHoverButton, PulsatingButton, RippleButton, ShimmerButton, and ShinyButton to Magicui 2025-04-26 10:32:09 +08:00
javayhu
625bee14ef feat: add Ripple component and its demo example to MagicuiPage 2025-04-26 10:19:44 +08:00
javayhu
a2f97802f2 feat: add Marquee component and its example component 2025-04-26 09:49:53 +08:00
javayhu
a985063032 docs: update font and theme documentation with links and formatting improvements 2025-04-21 01:19:43 +08:00
javayhu
23cd59bbac refactor: biome lint part 1 2025-04-18 21:47:14 +08:00
javayhu
c0f4721d49 refactor: simplify theme management and localization
- Removed scaled and mono theme options from the theme selector and related components to streamline theme management.
- Updated localization files to reflect the removal of unused theme translations.
- Cleaned up CSS by eliminating unnecessary theme styles, enhancing maintainability and performance.
- Adjusted the WebsiteMetadata interface to remove references to obsolete themes, improving code clarity.
2025-04-12 13:14:39 +08:00
javayhu
876eb01506 chore: add TODO comments for future enhancements
- Added TODO comments in middleware.ts, routes.ts, sitemap.ts, and routing.ts to indicate areas for future improvements, including middleware rules for protected routes, route configuration, and sitemap entries.
- Included a comment in globals.css for reference to shadcn UI theming documentation.
2025-04-10 10:07:34 +08:00
javayhu
fab6590ac7 chore: remove useless theme css files 2025-04-05 17:15:09 +08:00
javayhu
16aaf55a91 refactor: enhance documentation feature and update dependencies
- 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.
2025-03-30 22:34:16 +08:00
javayhu
1eb5b9cffe refactor: update default font and enhance localization
- 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.
2025-03-30 14:58:12 +08:00
javayhu
08fee6d1ec refactor: streamline MDX handling and enhance content collections
- 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.
2025-03-30 13:27:30 +08:00
javayhu
c3a774e1cb fix: update docs & optimize docs layout & pages
- 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.
2025-03-30 10:34:49 +08:00
javayhu
5b7dae6586 fix: fix code style inside and outside pre 2025-03-30 10:02:33 +08:00
javayhu
f26442f611 feat: update theme structure and enhance newsletter functionality
- 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.
2025-03-30 00:29:41 +08:00
javayhu
34ffcc989e feat: implement theme switcher & intl and support theme config
- 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.
2025-03-29 22:15:00 +08:00
javayhu
45d46082f2 feat: add documentation structure and enhance content collections
- 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.
2025-03-27 00:09:13 +08:00
javayhu
3e0d1eaaa1 fix: optimize code 2025-03-23 07:56:50 +08:00
javayhu
3102dab50d refactor: update routes and enhance component styles for better usability
- Changed the Dashboard route to '/dashboardv4' for versioning clarity.
- Improved styling in BlogCategoryListDesktop and BlogCategoryListMobile for better user interaction with cursor styles.
- Added cursor pointer to various components including SidebarUser, LocaleSelector, and ThemeSwitcher for enhanced usability.
- Updated global CSS variables for improved color consistency across the application.
2025-03-21 21:58:19 +08:00
javayhu
73ac2ba2cb refactor: update component styles and structure for consistency (upgrade tailwindv4)
- Adjusted layout and styling in AuthCard, LoginForm, RegisterForm, and SocialLoginButton for improved alignment and responsiveness.
- Updated icon sizes in various components to maintain uniformity.
- Enhanced Card components in ContactFormCard, DeleteAccountCard, ResetPasswordCard, UpdateAvatarCard, UpdateNameCard, UpdatePasswordCard, and NewsletterFormCard with consistent padding and margin.
- Refined Navbar and BackButtonSmall for better user interaction with cursor styles.
- Removed unused CSS variables from globals.css to streamline styles.
2025-03-21 10:13:31 +08:00
javayhu
6fe436665b feat: upgrade tailwind to v4 (9) shadcnui admin components 2025-03-21 01:01:11 +08:00
javayhu
808699b238 feat: upgrade tailwind to v4 (7) shadcnui admin components 2025-03-21 00:45:13 +08:00
javayhu
e91e8c02a6 feat: upgrade tailwind to v4 (5) optimize globals.css 2025-03-21 00:21:28 +08:00
javayhu
9a5d3a0067 feat: upgrade tailwind to v4
https://tailwindcss.com/docs/upgrade-guide
2025-03-21 00:07:17 +08:00
javayhu
4d18f6fa5a refactor: remove unused MDX styles and update global CSS
- Deleted the `mdx.css` file as it contained redundant styles.
- Added new MDX styles directly into `globals.css` for improved organization and maintainability.
- Updated legal pages to remove the import of the now-deleted `mdx.css`, streamlining the codebase.
2025-03-20 23:45:38 +08:00
javayhu
56d48078b6 refactor: update typography and styling in layout and MDX components
- Replaced font class in `LocaleLayout` with `fontDMSans` for improved typography consistency.
- Enhanced paragraph, list, and list item components in `mdx-component` to include `text-muted-foreground` for better readability.
- Added a `strong` component to `mdx-component` for semantic emphasis with appropriate styling.
- Updated global CSS import to use `theme.css` for unified theming across the application.
2025-03-20 23:39:01 +08:00
javayhu
a853c56994 refactor: update navbar and mobile menu styles for improved accessibility
- Replaced primary color references with foreground color for hover and focus states in Navbar and MainMobileMenu components.
- Adjusted padding in the mobile menu's bottom buttons for better layout consistency.
- Switched the global CSS import from theme.css to theme-blue.css for updated styling.
2025-03-18 17:46:14 +08:00
javayhu
c563c537f4 feat: update shadcn ui components (new-york) 2025-03-18 16:38:19 +08:00
javayhu
0804ac5e96 feat: enhance sidebar theming with new CSS variables
- Added new CSS variables for sidebar theming in `globals.css` to support light and dark modes.
- Removed redundant sidebar variables from individual theme files (`theme-blue.css`, `theme-green.css`, `theme-orange.css`, `theme-red.css`, `theme-rose.css`, `theme-violet.css`, `theme-yellow.css`, `theme-zinc.css`, and `theme.css`) to streamline styling and ensure consistency.
- Improved overall theme management for better maintainability and customization.
2025-03-16 09:05:37 +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
7127a46543 chore: update sidebar icons and enhance theme configuration
- Replace `BadgeCheckIcon` with `BotIcon` and `SettingsIcon` with `Settings2Icon` in the sidebar for improved visual consistency.
- Add `UserCircleIcon` to the settings link for better user representation.
- Update sidebar theme imports in `globals.css` to use `theme-blue.css` and provide manual theming instructions.
- Introduce new sidebar color variables in multiple theme files to enhance customization options.
2025-03-15 15:25:39 +08:00
javayhu
9e04764444 chore: reorganize dashboard components
- Move `AppSidebar` to a new directory for better organization.
- Update imports for `PricingComparator` to reflect its new location within the blocks directory.
- Remove obsolete `fill-remaining-space.tsx` component to clean up the codebase.
- Introduce new `PricingComparator` component for improved pricing comparison functionality.
- Add new dashboard navigation components (`NavMain`, `NavProjects`, `NavSecondary`, `NavUser`) to enhance user experience and organization within the dashboard.
2025-03-15 12:12:34 +08:00
javayhu
34006556c8 refactor: run biome format to src folder 2025-03-09 22:13:59 +08:00
javayhu
35836cdc56 refactor: improve navigation styling and active state handling
- Update navbar mobile and desktop components with consistent styling
- Enhance active and hover states for navigation menu items
- Remove dark mode specific text color variants
- Add active state detection for sub-menu items
- Simplify background and text color transitions
- Remove testimonials component
- Switch to default theme CSS import
2025-03-09 09:49:43 +08:00
javayhu
45b407765b feat: add multiple theme CSS files for customizable color schemes
- Introduce new theme CSS files for various color palettes:
  - Blue
  - Green
  - Orange
  - Red
  - Rose
  - Violet
  - Yellow
  - Zinc
- Update global CSS to import themes dynamically
- Remove hardcoded theme variables from globals.css
- Provide flexible theming options for light and dark modes
2025-03-09 09:44:17 +08:00
javayhu
63b549212e fix: unset overflow-y to scroll 2025-03-09 00:27:02 +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
19d6eef747 fix: Force the scrollbar to always be visible to prevent layout shifts 2025-03-08 23:29:06 +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
d34e4b8ed6 style: add scrollbar-gutter to prevent layout shift
- Implement `scrollbar-gutter: stable` in global CSS
- Prevent layout shifts when scrollbar appears or disappears
2025-03-08 14:04:47 +08:00
javayhu
9236c15245 refactor: update color palette and theme variables 2025-03-05 01:58:20 +08:00
javayhu
7931200b36 refactor: consolidate styles and update import paths
- Move global and MDX styles to `src/styles` directory
- Update import paths for CSS files in layout and blog page
- Add comments to theme switcher components for clarity
- Reorganize style imports to improve project structure
2025-03-02 08:33:30 +08:00