Commit Graph

125 Commits

Author SHA1 Message Date
javayhu
b07be5fab4 chore: add fumadocs-mdx 2025-06-15 20:50:03 +08:00
javayhu
d190bcb358 chore: add pg to fix error [Better Auth]: INTERNAL_SERVER_ERROR Error: Cannot find module 'cloudflare:sockets' when run pnpm preview 2025-06-15 17:44:00 +08:00
javayhu
6a448825a6 Merge remote-tracking branch 'origin/main' into cloudflare 2025-06-15 08:12:38 +08:00
javayhu
2ad6eab666 chore: add 20+ animate ui components 2025-06-14 15:23:22 +08:00
javayhu
d935bcff76 cf: set @opennextjs/cloudflare as devDependencies 2025-06-08 21:49:19 +08:00
javayhu
8e8291c325 cf: update configs by the opennextjs docs 2025-06-08 21:18:42 +08:00
javayhu
6ff2ea6845 cf: upgrade opennextjs to 1.2.1 2025-06-08 20:04:51 +08:00
javayhu
111f00adaa chore: update @opennextjs/cloudflare version 2025-05-18 00:39:49 +08:00
javayhu
002d2090c2 Merge remote-tracking branch 'origin/main' into cloudflare 2025-05-17 23:40:51 +08:00
javayhu
c41817c704 chore: add script for listing newsletter contacts 2025-05-16 09:59:18 +08:00
javayhu
cd44d3ae67 feat: support discord bot on website 2025-05-14 23:56:01 +08:00
javayhu
9b68e3095e Merge remote-tracking branch 'origin/main' into cloudflare 2025-05-11 22:19:58 +08:00
javayhu
f764bcb627 chore: update calendar component and downgrade react-date-picker 2025-05-11 11:21:55 +08:00
javayhu
c938122f7e chore: update package.json 2025-05-06 23:52:29 +08:00
javayhu
7af193f770 Merge remote-tracking branch 'origin/main' into cloudflare 2025-05-06 23:32:54 +08:00
javayhu
a92fd943e3 fix: preview email command error 2025-05-06 22:50:37 +08:00
javayhu
d6093394d8 chore: update cf scripts 2025-05-06 00:51:39 +08:00
javayhu
f1537e305a fix: build error & try add NEXT_PRIVATE_MAX_WORKER_THREADS=2 2025-05-06 00:42:31 +08:00
javayhu
ae083a7992 feat: support cloudflare by diverce 2025-05-05 23:15:54 +08:00
javayhu
f607bae96e refactor: optimize newsletter subscribe and check status logic 2025-04-29 22:22:26 +08:00
javayhu
460dae64e3 chore: refactor middleware for better session handling 2025-04-28 19:08:52 +08:00
javayhu
a73493a042 chore: refactor database connection 2025-04-28 15:20:14 +08:00
javayhu
0a314a22f1 feat: integrate react-tweet library and add AvatarCircles and TweetImages components to enhance MagicuiPage 2025-04-26 15:36:57 +08:00
javayhu
d4b385f5a2 feat: add vercel speed-insights package and integrate into analytics component 2025-04-23 00:15:21 +08:00
javayhu
bd45821dae feat: addvercel analytics 2025-04-22 23:50:24 +08:00
javayhu
8325a649d7 chore: remove unused 'geist' dependency and delete unused font files 2025-04-20 10:46:20 +08:00
javayhu
85c23e673b chore: update resend 2025-04-18 23:45:37 +08:00
javayhu
27bc59354f refator: biome lint part 2 2025-04-18 21:53:21 +08:00
javayhu
212a7e57a8 chore: update lint and format command in package.json 2025-04-18 10:07:53 +08:00
javayhu
c04499a353 feat: support analytics (google/umami/plausible/datafast/openpanel) 2025-04-11 23:54:05 +08:00
javayhu
3c05657fe0 feat: add userId handling and enhance payment actions & optimize the whole payment process
- Introduced userId parameter in createCheckoutAction and createPortalAction for improved user-specific session management.
- Updated components to pass userId instead of customerId, aligning with the new payment structure.
- Added new actions to retrieve active subscription and lifetime status, ensuring users can check their subscription details securely.
- Created SQL migration for new payment-related tables, establishing a robust foundation for payment management.
- Enhanced error handling and logging in payment actions for better debugging and user feedback.
2025-04-09 14:31:08 +08:00
javayhu
2248cfdc35 feat: add subscription management features and database schema updates
- Introduced new database tables for managing subscriptions and user subscriptions.
- Updated package.json with new database commands for generation, migration, and studio.
- Refactored the user schema to remove deprecated fields and added foreign key relationships.
- Enhanced Stripe payment provider logic to handle subscription creation, updates, and cancellations.
- Improved error handling and logging for subscription events.
2025-04-06 11:12:27 +08:00
javayhu
1270058e99 chore: remove fumadocs-twoslash dependency and clean up imports
- 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.
2025-03-31 00:06:39 +08:00
javayhu
5a20dc5837 chore: remove unused fumadocs-typescript dependency and clean up AutoTypeTable
- 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.
2025-03-31 00:02:50 +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
83f5760126 feat: enhance documentation and internationalization support
- 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.
2025-03-29 14:30:29 +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
cc0f17f722 feat: add NSUI components and support preview
- Added Cloudinary as an allowed image domain in next.config.ts for image optimization.
- Included new dependencies: react-use-measure and use-media in package.json for enhanced UI responsiveness.
- Introduced a service worker for caching iframe content to improve performance.
- Added multiple new block components and layouts for enhanced UI features and organization.
- Implemented utility functions and motion primitives for improved animations and effects.
2025-03-25 00:40:22 +08:00
javayhu
bf4f296fe1 feat: update drizzle configuration and dependencies for Neon integration
- Updated drizzle configuration to use the Neon HTTP driver for improved compatibility with Next.js.
- Added @neondatabase/serverless package to package.json for serverless database support.
- Modified database connection logic to utilize the new Neon client.
- Removed deprecated customer creation method in StripeProvider for cleaner code.
2025-03-24 10:14:49 +08:00
javayhu
c4d6bb5d70 refactor: upgrade react-day-picker to version 9.6.3 2025-03-23 07:58:10 +08:00
javayhu
6fe436665b feat: upgrade tailwind to v4 (9) shadcnui admin components 2025-03-21 01:01:11 +08:00
javayhu
675d4ff780 feat: upgrade tailwind to v4 (8) upgrade shadcn dependencies 2025-03-21 00:47:12 +08:00
javayhu
808699b238 feat: upgrade tailwind to v4 (7) shadcnui admin components 2025-03-21 00:45:13 +08:00
javayhu
9a5d3a0067 feat: upgrade tailwind to v4
https://tailwindcss.com/docs/upgrade-guide
2025-03-21 00:07:17 +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
574add6956 feat: add new UI components and enhance package dependencies
- Introduced several new UI components including `AlertDialog`, `AspectRatio`, `Calendar`, `Carousel`, `Command`, `ContextMenu`, `Dialog`, `DropdownMenu`, `HoverCard`, `InputOTP`, `Menubar`, `Popover`, `Progress`, `RadioGroup`, `Resizable`, `ScrollArea`, `Select`, `Slider`, `Switch`, `Table`, `ToggleGroup`, and `Toggle`.
- Updated `package.json` and `pnpm-lock.yaml` to include new dependencies for Radix UI components and other libraries.
- Improved existing components with better structure and styling, ensuring consistency across the application.
- Enhanced responsiveness and accessibility of UI elements using Tailwind CSS and Shadcn/ui.
2025-03-16 09:05:23 +08:00
javayhu
df1c75f56a chore: upgrade next-intl to version 4.0.0 and update type definitions
- Update `next-intl` dependency from version 3.26.5 to 4.0.0
- Modify global type definitions to include new `Locale` and `Messages` types
- Refactor various components and pages to use `Locale` type for params
- Enhance internationalization handling by integrating `hasLocale` checks
- Clean up imports and ensure consistent usage of `next-intl` features
2025-03-13 00:23:37 +08:00
javayhu
76748cf0b2 feat: add features block variants and chart component
- Introduce new features block variants (Features, Features2, Features4, Features5, Features6, Features7, Features8, Features9)
- Add Recharts and Dotted Map libraries for advanced charting and visualization
- Create a new chart component with support for light and dark themes
- Update features page to include all new feature block components
- Add reference links to NSUI design system for each feature block
- Enhance feature sections with responsive layouts and modern design patterns
2025-03-09 11:17:18 +08:00
javayhu
b8f0801112 feat: add multiple hero section variants with Swiper and new block images
- Introduce new hero section variants (HeroSection2, HeroSection3, HeroSection4)
- Add Swiper library for carousel functionality in HeroSection3
- Include new block images for light and dark modes
- Update home page to use HeroSection4
- Add block images for card, charts, and music sections
2025-03-09 10:48:08 +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
8aaead0245 feat: add React Email templates and Resend email configuration
- Integrate React Email library for creating email templates
- Add email templates for newsletter welcome, reset password, and email verification
- Create email format styles for consistent email design
- Configure Resend email service with new mail utility
- Update authentication flow to use React Email templates
- Add new email-related dependencies in package.json
2025-03-07 19:14:13 +08:00
javayhu
24981655bb feat: add Radix UI toggle and toggle group components 2025-03-06 00:02:03 +08:00
javayhu
74aefcd2b1 chore: upgrade Next.js to version 15.2.1 2025-03-05 20:29:11 +08:00
javayhu
579885393b feat: enhance locale switching with Radix UI Select and Zustand store
- Add Radix UI Select component for improved locale selection
- Create Zustand store for managing current locale state
- Update navbar and mobile navbar to use new LocaleSelector
- Remove deprecated LocaleSwitcher and LocaleSwitcherSelect components
- Update routing configuration with emoji flags for locales
- Add deepmerge and Zustand dependencies to package.json
2025-03-03 00:54:33 +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
javayhu
7ab78c95dc feat: enhance navbar with nested menu, mobile responsiveness, and marketing links 2025-03-01 14:15:16 +08:00
javayhu
e99b4f7e1a feat: add Radix UI Checkbox component and Navbar1 block 2025-02-27 00:48:44 +08:00
javayhu
59f023e933 feat: integrate Geist font and update site configuration 2025-02-25 00:49:58 +08:00
javayhu
fe1bf59d6f feat: add mobile drawer component for user button menu 2025-02-23 15:50:58 +08:00
javayhu
940b8e9dfc feat: enhance authentication flow with improved email verification and password reset 2025-02-23 11:53:53 +08:00
javayhu
ecaf761b61 refactor: migrate from Neon serverless to node-postgres driver for Drizzle ORM 2025-02-23 01:06:25 +08:00
javayhu
3f66a24a60 feat: set up authentication with Drizzle ORM and Better Auth 2025-02-22 21:15:41 +08:00
javayhu
ddf2c49312 feat: optimize blog list and blog post page 2025-02-22 16:52:36 +08:00
javayhu
5dc5c09306 chore: add drizzle dependencies 2025-02-22 00:15:54 +08:00
javayhu
399365be41 chore: add dependencies for ai sdk, better auth, resend email, and more 2025-02-21 23:46:52 +08:00
javayhu
0f04b73114 feat: add shadcn ui navigation menu component 2025-02-21 22:23:27 +08:00
javayhu
f64cd08ec9 chore: add shadcn component form & install zod and react hook form 2025-02-21 00:58:12 +08:00
javayhu
f6b029a843 feat: add component sonner 2025-02-20 01:02:01 +08:00
javayhu
8d2560c74c feat: add shadcn component toaster 2025-02-20 00:59:30 +08:00
javayhu
de1f8bbfcf feat: install content collections 2025-02-20 00:21:32 +08:00
javayhu
d893138250 feat: install biome 2025-02-17 00:16:10 +08:00
javayhu
1f0945446a feat: add magic ui components 2025-02-17 00:00:41 +08:00
javayhu
f16e06f753 feat: add shadcn sidebar-08 2025-02-16 23:39:58 +08:00
javayhu
e2d0c90f9e feat: install shadcn ui 2025-02-16 23:33:56 +08:00
javayhu
ca3ccb0f6f Initial commit from Create Next App 2025-02-16 21:19:53 +08:00