From 662d96fc28339ce91cb45971ce13f8c3a756fc05 Mon Sep 17 00:00:00 2001 From: JOYCEQL <1449239013@qq.com> Date: Tue, 14 Jan 2025 17:17:08 +0800 Subject: [PATCH] style: landing page news alert style perf --- apps/fronted/src/components/home/NewsAlert.tsx | 17 +++++++---------- apps/fronted/src/i18n/locales/en.json | 4 ++-- apps/fronted/src/i18n/locales/zh.json | 2 +- 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/apps/fronted/src/components/home/NewsAlert.tsx b/apps/fronted/src/components/home/NewsAlert.tsx index 515d4c1..9c33112 100644 --- a/apps/fronted/src/components/home/NewsAlert.tsx +++ b/apps/fronted/src/components/home/NewsAlert.tsx @@ -1,4 +1,4 @@ -import { ArrowRight } from "lucide-react"; +import { ArrowRight, Sparkles } from "lucide-react"; import { useTranslations } from "next-intl"; import { cn } from "@/lib/utils"; @@ -13,21 +13,18 @@ export default function NewsAlert({ className }: NewsAlertProps) {
-
- {t("news.label")} -
- +
🎉
+ {t("news.content")} - {/* */} + {/* */}
); } diff --git a/apps/fronted/src/i18n/locales/en.json b/apps/fronted/src/i18n/locales/en.json index 73be81e..5d678e2 100644 --- a/apps/fronted/src/i18n/locales/en.json +++ b/apps/fronted/src/i18n/locales/en.json @@ -80,13 +80,13 @@ "description": "Configure AI models to provide intelligent optimization and suggestions for your resume.", "selectedModel": "Select Model", "doubao": { - "title": "Doubao Settings", + "title": "Doubao", "description": "Obtain API Key from Volcengine Platform", "apiKey": "API Key", "modelId": "Model ID" }, "deepseek": { - "title": "Deepseek Settings", + "title": "Deepseek", "description": "Obtain API Key from Deepseek Open Platform", "apiKey": "API Key", "modelId": "Model ID" diff --git a/apps/fronted/src/i18n/locales/zh.json b/apps/fronted/src/i18n/locales/zh.json index 643c664..f8a663f 100644 --- a/apps/fronted/src/i18n/locales/zh.json +++ b/apps/fronted/src/i18n/locales/zh.json @@ -35,7 +35,7 @@ }, "news": { "label": "新闻", - "content": "现已接入 DeepSeek, Doubao 大模型" + "content": "现已接入 DeepSeek, Doubao AI大模型" }, "footer": { "copyright": " 2024 Magic Resume. All rights reserved."