Commit Graph

1075 Commits

Author SHA1 Message Date
javayhu
675323fb69 refactor: replace Link with LocaleLink and clean up console logs
- Rename `Link` import to `LocaleLink` in navigation module
- Remove console log statements in blog page components
- Update blog card, blog category list, and other components to use `LocaleLink`
- Simplify routing configuration by removing unnecessary pathname entries
- Enhance type safety and internationalization consistency
2025-03-08 00:55:03 +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
801ece4bdd feat: uncomment and standardize blog post images across locales
- Uncomment Image components in blog posts for English and Chinese locales
- Replace blog-specific images with a consistent "mksaas-og.png" across all posts
- Update avatar images for HaiTang author in both English and Chinese content collections
2025-03-07 15:30:37 +08:00
javayhu
8135c439b0 feat: add multilingual blog content for new products
- Create content collections for Boilerplate Hunt, Coupon, HaiTang, and OG Generator
- Add blog posts and author profiles in English and Chinese
- Include corresponding blog post images and avatars
- Update blog page routing and pagination to support localized routes
- Restore ThemeSwitcher in navbar
- Fix pagination route prefix to include locale
2025-03-07 11:06:58 +08:00
javayhu
cb418af07c refactor: remove base URL generation and remote image patterns
- Remove `getBaseUrl()` usage in content collections
- Update base URL environment variable from `NEXT_PUBLIC_APP_URL` to `NEXT_PUBLIC_BASE_URL`
- Remove localhost remote image pattern from Next.js configuration
- Add cursor pointer to locale selector items
2025-03-07 10:43:05 +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
4657e5b691 fix: blog post image can not load
- Update base URL environment variable from NEXT_PUBLIC_BASE_URL to NEXT_PUBLIC_APP_URL
2025-03-07 01:04:56 +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
11e1df01ed feat: improve multilingual blog content handling and documentation
- Enhance content collections to support cross-language content matching
- Update blog post categories from "guide" to "product"
- Add documentation for multilingual blog implementation
- Modify category and blog post pages to handle localized content
- Update locale routing with more detailed language information
- Improve content relationship resolution in content collections
2025-03-07 00:54:15 +08:00
javayhu
6a43803d92 chore: optimize locale selector component & show flag only 2025-03-07 00:33:35 +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
5017ed9f7f refactor: improve blog page and category page type handling
- Add NextPageProps type for consistent page props handling
- Resolve async params and searchParams in blog and category pages
- Simplify type annotations and improve type safety
- Remove redundant type definitions
2025-03-06 01:24:55 +08:00
javayhu
707e4400f7 refactor: update blog components and content categories
- Modify blog card to use dynamic routing with slugAsParams
- Remove getBaseUrl import and simplify link generation
- Update blog post categories in Chinese content
- Adjust blog category list desktop component localization
- Improve key generation for category tags
2025-03-06 01:00:00 +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
24981655bb feat: add Radix UI toggle and toggle group components 2025-03-06 00:02:03 +08:00
javayhu
2d83f74904 feat: improve blog content and components
- Update blog post descriptions and categories
- Add new "Company" category for blog posts
- Enhance blog card and grid UI with improved styling and layout
- Refactor blog card skeleton for better visual consistency
2025-03-05 23:40:20 +08:00
javayhu
58401624c0 feat: enhance blog and dashboard UI components
- Update blog post dates in English and Chinese content
- Refactor blog layout with header section and container
- Simplify blog page and post layouts
- Improve blog card and grid styling
- Add initial dashboard page with sidebar and breadcrumbs
- Adjust header section subtitle color
2025-03-05 22:45:51 +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
3599884789 chore: refine UI components and styling
- Improve locale selector comment and width
- Simplify built-with button UTM parameters
- Re-enable theme switcher in navbar
2025-03-05 21:31:24 +08:00
javayhu
af7faebb06 feat: add backdrop blur and transparency to navbar and mobile menu 2025-03-05 21:09:11 +08:00
javayhu
272b666642 fix: fix hydration error caused by browser extension 2025-03-05 21:00:25 +08:00
javayhu
e3140d0b87 chore: update tailwind indicator style 2025-03-05 20:51:35 +08:00
javayhu
1ea3d72a1c chore: update footer social icons 2025-03-05 20:48:55 +08:00
javayhu
74aefcd2b1 chore: upgrade Next.js to version 15.2.1 2025-03-05 20:29:11 +08:00
javayhu
cc50a025cf
Merge pull request #7 from MkSaaSHQ/next-intl
feat: support i18n with next-intl
2025-03-05 02:08:55 +08:00
javayhu
63f2263797 fix: fix build errors 2025-03-05 02:07:47 +08:00
javayhu
9a2822cecb chore: update favicon and logo assets
- Replace existing favicon and logo images with updated versions
- Remove unused logo SVG and PNG variants
- Normalize file permissions for public assets
2025-03-05 02:05:02 +08:00
javayhu
43d9c798b5 refactor: enhance content collections with multilingual support
- Update content collections to support locale-based content filtering
- Modify blog post, author, and category schemas to include optional locale
- Implement dynamic locale detection from file path or fallback to default locale
- Update blog components to filter posts by current locale
- Remove sample blog posts and categories from default content
2025-03-05 02:03:53 +08:00
javayhu
9236c15245 refactor: update color palette and theme variables 2025-03-05 01:58:20 +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
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
851bbabd71 feat: optimize next intl configuration & add comments 2025-03-02 23:39:06 +08:00
javayhu
cf8b0402a9 refactor: remove German language support from i18n configuration 2025-03-02 21:51:39 +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
javayhu
c2dab381e5
Merge pull request #6 from MkSaaSHQ/next-intl
support intl & add next-intl
2025-03-02 01:34:52 +08:00
javayhu
72005865f3 feat: add next-intl, supports en/zh/de languages 2025-03-02 01:33:56 +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
9ff8fca3f4 feat: add LangAttributeSetter component for dynamic locale handling
- Create a new client-side component to dynamically set the lang attribute
- Refactor root and locale layouts to separate HTML structure and language setting
- Improve internationalization support by handling locale attribute more flexibly
- Remove redundant HTML tag nesting in layout components
2025-03-01 23:29:57 +08:00
javayhu
ddefb47bc0 refactor: restructure root and locale layouts for improved routing and rendering
- Move HTML and body tags to root layout
- Add font and styling configuration to root layout
- Simplify locale layout by removing redundant HTML structure
- Remove separate public layout and integrate navbar and footer into locale layout
- Update page components to handle async params
2025-03-01 23:08:36 +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
24eb819a85 refactor: update routes, marketing links, and footer configuration 2025-03-01 16:42:50 +08:00
javayhu
1f6f9f0f2d Merge branch 'main' of https://github.com/MkSaaSHQ/mksaas-template 2025-03-01 16:42:12 +08:00
javayhu
4830768e9c feat: add MkSaaS logo component and update blog image references 2025-03-01 16:33:52 +08:00
javayhu
5f67294aa5
Merge pull request #5 from MkSaaSHQ/nsui
feat: add landing page sections with modern UI components from nsui
2025-03-01 15:55:17 +08:00
javayhu
4ffb5adfed feat: add landing page sections with modern UI components from nsui 2025-03-01 15:52:44 +08:00
javayhu
6eda6fa83f refactor: replace custom external link icon with Lucide ArrowUpRightIcon 2025-03-01 15:07:25 +08:00
javayhu
ceb279d8fb refactor: improve external link icon placement in navbar components 2025-03-01 14:59:17 +08:00
javayhu
1c85d22ed8 fix: update routes and icons in marketing components 2025-03-01 14:38:43 +08:00