diff --git a/.vscode/i18n-ally-custom-framework.yml b/.vscode/i18n-ally-custom-framework.yml deleted file mode 100644 index c4fa6cd..0000000 --- a/.vscode/i18n-ally-custom-framework.yml +++ /dev/null @@ -1,13 +0,0 @@ -# eslint-disable yaml/quotes -languageIds: - - javascript - - typescript - - javascriptreact - - typescriptreact - -usageMatchRegex: - - "[^\\w\\d]t\\(['\"`]({key})['\"`]" - -scopeRangeRegex: "(?:useTranslations\\(|getTranslations\\(|namespace:)\\s*['\"`](.*?)['\"`]" - -monopoly: true diff --git a/.vscode/settings.json b/.vscode/settings.json index e325df0..ab6616a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -18,7 +18,7 @@ "typescript.preferences.preferTypeOnlyAutoImports": true, // Prefer type-only imports // Vitest - "testing.openTesting": "neverOpen", // Don't open the testing view automatically when running tests + "testing.automaticallyOpenTestResults": "neverOpen", // Don't open the test results automatically // I18n "i18n-ally.localesPaths": [ diff --git a/README.md b/README.md index 78a606c..483f7d1 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ Developer experience first, extremely flexible code structure and only keep what - ⚡ [Next.js](https://nextjs.org) with App Router support - 🔥 Type checking [TypeScript](https://www.typescriptlang.org) - 💎 Integrate with [Tailwind CSS](https://tailwindcss.com) and Shadcn UI -- ✅ Strict Mode for TypeScript and [React 18](https://react.dev) +- ✅ Strict Mode for TypeScript and [React](https://react.dev) - 🔒 Authentication with [Clerk](https://go.clerk.com/zGlzydF): Sign up, Sign in, Sign out, Forgot password, Reset password, and more. - 👤 Passwordless Authentication with Magic Links, Multi-Factor Auth (MFA), Social Auth (Google, Facebook, Twitter, GitHub, Apple, and more), Passwordless login with Passkeys, User Impersonation - 👥 Multi-tenancy & team support: create, switch, update organization and invite team members diff --git a/src/app/[locale]/(auth)/dashboard/page.tsx b/src/app/[locale]/(auth)/dashboard/page.tsx index fa90227..ee0359a 100644 --- a/src/app/[locale]/(auth)/dashboard/page.tsx +++ b/src/app/[locale]/(auth)/dashboard/page.tsx @@ -1,7 +1,5 @@ -import { GitHubLogoIcon } from '@radix-ui/react-icons'; import { useTranslations } from 'next-intl'; -import { buttonVariants } from '@/components/ui/buttonVariants'; import { MessageState } from '@/features/dashboard/MessageState'; import { TitleBar } from '@/features/dashboard/TitleBar'; import { SponsorLogos } from '@/features/sponsors/SponsorLogos'; @@ -39,13 +37,18 @@ const DashboardIndexPage = () => { })} button={( <> - - - {t('message_state_button')} - +
+ {t.rich('message_state_alternative', { + url: () => ( + + Next.js Boilerplate SaaS + + ), + })} +
diff --git a/src/locales/en.json b/src/locales/en.json index 3beb3e3..4c5c94c 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -102,7 +102,8 @@ "title_bar_description": "Welcome to your dashboard", "message_state_title": "Let's get started", "message_state_description": "You can customize this page by editing the file at dashboard/page.tsx", - "message_state_button": "Star on GitHub" + "message_state_button": "Star on GitHub", + "message_state_alternative": "Want more features using the same stack? Try ." }, "UserProfile": { "title_bar": "User Profile", diff --git a/src/locales/fr.json b/src/locales/fr.json index cb2be95..262fdb7 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -102,7 +102,8 @@ "title_bar_description": "Bienvenue sur votre tableau de bord", "message_state_title": "C'est parti", "message_state_description": "Vous pouvez personnaliser cette page en modifiant le fichier dans dashboard/page.tsx", - "message_state_button": "Mettez une étoile sur GitHub" + "message_state_button": "Mettez une étoile sur GitHub", + "message_state_alternative": "Vous voulez plus de fonctionnalités en utilisant la même stack ? Essayez ." }, "UserProfile": { "title_bar": "Profil utilisateur",