diff --git a/.vscode/settings.json b/.vscode/settings.json index f8210cf..5d148ab 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,11 +8,19 @@ }, "headwind.runOnSave": false, "typescript.preferences.importModuleSpecifier": "non-relative", - "eslint.validate": ["javascript", "javascriptreact", "typescript"], + "eslint.validate": [ + "javascript", + "javascriptreact", + "typescript" + ], "typescript.tsdk": "node_modules/typescript/lib", "commentTranslate.source": "Bing", "cSpell.words": [ "contentlayer", "lemonsqueezy" + ], + "i18n-ally.localesPaths": [ + "i18n", + "i18n/messages" ] -} +} \ No newline at end of file diff --git a/actions/newsletter.ts b/actions/newsletter.ts index 1460696..34042dd 100644 --- a/actions/newsletter.ts +++ b/actions/newsletter.ts @@ -70,9 +70,9 @@ export async function subscribeToNewsletter(email: string) { await resend.emails.send({ from: 'NextForge <' + process.env.ADMIN_EMAIL! + '>', to: normalizedEmail, - subject: 'Welcome to 福安德外贸', + subject: 'Welcome to 巨丰钢铁', html: ` -
Thank you for subscribing to the newsletter. You will receive the latest updates and news.
If you wish to unsubscribe, please click here
diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx
index e378176..3e4879b 100644
--- a/app/[locale]/layout.tsx
+++ b/app/[locale]/layout.tsx
@@ -1,7 +1,3 @@
-import BaiDuAnalytics from "@/app/BaiDuAnalytics";
-import GoogleAdsense from "@/app/GoogleAdsense";
-import GoogleAnalytics from "@/app/GoogleAnalytics";
-import PlausibleAnalytics from "@/app/PlausibleAnalytics";
import Footer from "@/components/footer/Footer";
import Header from "@/components/header/Header";
import { LanguageDetectionAlert } from "@/components/LanguageDetectionAlert";
@@ -12,7 +8,6 @@ import { constructMetadata } from "@/lib/metadata";
import { cn } from "@/lib/utils";
import "@/styles/globals.css";
import "@/styles/loading.css";
-import { Analytics } from "@vercel/analytics/react";
import { Metadata, Viewport } from "next";
import { hasLocale, NextIntlClientProvider } from "next-intl";
import {
@@ -93,17 +88,6 @@ export default async function LocaleLayout({