diff --git a/apps/user/components/main/HomeContent.tsx b/apps/user/components/main/HomeContent.tsx
index 7be5e39..b4fd029 100644
--- a/apps/user/components/main/HomeContent.tsx
+++ b/apps/user/components/main/HomeContent.tsx
@@ -1,7 +1,7 @@
'use client';
import { useTranslations } from 'next-intl';
-import OfferDialog from './OfferDialog/index';
+// import OfferDialog from './OfferDialog/index';
export default function HomeContent() {
const t = useTranslations('components.home');
@@ -17,7 +17,7 @@ export default function HomeContent() {
{t('anywhere')}
{/* 副标题 */}
-
+
Airo™Port
@@ -27,7 +27,7 @@ export default function HomeContent() {
{t('getSubscription')}
{/* 按钮 */}
-
+ {/**/}
);
}
diff --git a/apps/user/instrumentation-client.ts b/apps/user/instrumentation-client.ts
index 918daa0..6460073 100644
--- a/apps/user/instrumentation-client.ts
+++ b/apps/user/instrumentation-client.ts
@@ -3,6 +3,7 @@
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
import * as Sentry from '@sentry/nextjs';
+const isProduction = process.env.NODE_ENV === 'production';
Sentry.init({
dsn: 'https://e519096f8b71cba99d86ddc46d8e424f@o4509950153719808.ingest.us.sentry.io/4509950194679808',
@@ -20,6 +21,8 @@ Sentry.init({
// in development and sample at a lower rate in production
replaysSessionSampleRate: 0.1,
+ enabled: isProduction,
+
// Define how likely Replay events are sampled when an error occurs.
replaysOnErrorSampleRate: 1.0,
diff --git a/apps/user/locales/en-US/auth.json b/apps/user/locales/en-US/auth.json
index ffb5775..9a61957 100644
--- a/apps/user/locales/en-US/auth.json
+++ b/apps/user/locales/en-US/auth.json
@@ -28,6 +28,7 @@
"description": "Create a new account, fill in your information to register.",
"email": "Please enter a valid email address.",
"existingAccount": "Already have an account?",
+ "sendCode": "The verification code was sent successfully. If you did not receive it, please check your spam folder.",
"get": "Get",
"invite": "Invitation code",
"message": "#### Dear User, Hello!\n\nThank you for your attention and support. Due to adjustments in site operation strategy, we have closed the new user registration function. During this period, existing users will not be affected.\n\nWe are committed to providing you with better service and experience, so we will conduct comprehensive system optimization and feature upgrades during the registration closure. In the future, we will welcome you with better content and services.\n\nPlease follow our website and social media platforms to get the latest updates and notifications. Thank you for your understanding and support.\n\nIf you have any questions or need assistance, please feel free to contact our customer service team.\n\n**Thank you again for your support and understanding.**",
diff --git a/apps/user/locales/zh-CN/auth.json b/apps/user/locales/zh-CN/auth.json
index 24e2697..776917f 100644
--- a/apps/user/locales/zh-CN/auth.json
+++ b/apps/user/locales/zh-CN/auth.json
@@ -35,7 +35,8 @@
"success": "注册成功,已自动登录!",
"switchToLogin": "登录",
"title": "注册",
- "whitelist": "电子邮件域名不在允许的白名单中。"
+ "whitelist": "电子邮件域名不在允许的白名单中。",
+ "sendCode": "验证码发送成功,如未收到请检查垃圾邮件"
},
"reset": {
"description": "请输入您的电子邮件地址以重置密码。",
diff --git a/apps/user/sentry.edge.config.ts b/apps/user/sentry.edge.config.ts
index b73d5bd..c749bf5 100644
--- a/apps/user/sentry.edge.config.ts
+++ b/apps/user/sentry.edge.config.ts
@@ -4,6 +4,7 @@
// https://docs.sentry.io/platforms/javascript/guides/nextjs/
import * as Sentry from '@sentry/nextjs';
+const isProduction = process.env.NODE_ENV === 'production';
Sentry.init({
dsn: 'https://e519096f8b71cba99d86ddc46d8e424f@o4509950153719808.ingest.us.sentry.io/4509950194679808',
@@ -14,6 +15,8 @@ Sentry.init({
// Enable logs to be sent to Sentry
enableLogs: true,
+ enabled: isProduction,
+
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
});
diff --git a/apps/user/sentry.server.config.ts b/apps/user/sentry.server.config.ts
index 163cd54..a3a5405 100644
--- a/apps/user/sentry.server.config.ts
+++ b/apps/user/sentry.server.config.ts
@@ -4,6 +4,8 @@
import * as Sentry from '@sentry/nextjs';
+const isProduction = process.env.NODE_ENV === 'production';
+
Sentry.init({
dsn: 'https://e519096f8b71cba99d86ddc46d8e424f@o4509950153719808.ingest.us.sentry.io/4509950194679808',
@@ -13,6 +15,8 @@ Sentry.init({
// Enable logs to be sent to Sentry
enableLogs: true,
+ enabled: isProduction,
+
// Setting this option to true will print useful information to the console while you're setting up Sentry.
debug: false,
});