feat: 全量落地后端与功能闭环

- 真实后端(server/):SQLite 存储 + scrypt 会话鉴权 + SMTP 邮件
  - auth 注册/登录/登出/me/资料更新
  - contact 联系表单(落库+邮件)、newsletter 订阅(去重)
  - favorites 作品收藏、comments 新闻评论、account 管理收件箱
- 用户系统 UI:个人中心 /account(资料/收藏/评论/管理员面板)、
  收藏按钮、评论组件、登录/注册弹窗接真实 API(useApiError 错误映射)
- 内容单点事实源:app/data/news|work 消除三处重复,页面全部引用
- 修复断链:首页动态/作品卡可点击、分享按钮真实动作、移除 # 死链、
  语言切换器、社交链接统一 siteConfig
- SEO:动态 sitemap/robots、JSON-LD、脚本生成真实 og-image.png
- 列表增强:搜索 + 加载更多
- 部署自动化:build-and-push.sh 支持 git tag 版本化镜像;
  deploy.sh 一条命令构建推送+注入 Secret/ConfigMap+kubectl 滚动升级;
  deployment 挂 PVC 持久化;Dockerfile 支持 better-sqlite3 原生编译
- 组件注册去目录前缀,修复 AppLoader/AnimatedButton 等未渲染问题
This commit is contained in:
2026-08-06 15:00:56 +08:00
parent 6192ae0a38
commit 5c3f3bca63
61 changed files with 3408 additions and 1318 deletions
+135 -36
View File
@@ -32,13 +32,7 @@
"work": {
"label": "Portfolio 26©",
"title": "Work",
"viewAll": "View all work",
"items": {
"forma": "Forma Digital",
"oneStep": "One Step",
"neroVision": "Nero Vision",
"boldMoves": "Bold Moves"
}
"viewAll": "View all work"
},
"services": {
"title": "Our Services",
@@ -239,34 +233,7 @@
"updates": {
"title": "Latest Updates",
"subtitle": "Explore our latest projects, blog posts, and industry insights",
"viewAll": "View All Updates",
"categories": {
"project": "Project",
"blog": "Blog",
"news": "News"
},
"items": {
"project1": {
"title": "Brand Redesign: Modern E-commerce Platform",
"description": "Created a new brand identity and user experience for a leading e-commerce platform, boosting conversion by 45%."
},
"blog1": {
"title": "Web Design Trends in 2026"
},
"news1": {
"title": "Awarded Best Design Studio"
},
"project2": {
"title": "AI-Powered Recommendation System",
"description": "Developed an innovative AI recommendation engine for personalized experiences."
},
"blog2": {
"title": "How to Boost Website Performance"
},
"news2": {
"title": "Team Expands to 50 Members"
}
}
"viewAll": "View All Updates"
},
"cta": {
"titleLine1": "Ready to Start",
@@ -310,6 +277,32 @@
},
"cta": "View Project",
"backToList": "Back to Work",
"items": {
"forma-digital": {
"title": "Forma Digital",
"description": "A modern e-commerce platform with seamless user experience and dynamic product showcases."
},
"one-step": {
"title": "One Step",
"description": "Brand identity and marketing campaign for a fitness app focused on sustainable habits."
},
"nero-vision": {
"title": "Nero Vision",
"description": "Full-stack web application for creative professionals to manage their portfolios."
},
"bold-moves": {
"title": "Bold Moves",
"description": "Interactive website showcasing innovative architectural designs with 3D visualizations."
},
"echo-labs": {
"title": "Echo Labs",
"description": "Corporate branding and visual identity for a tech startup in the AI space."
},
"flux-api": {
"title": "Flux API",
"description": "Scalable REST API with comprehensive documentation and developer tools."
}
},
"detail": {
"overview": "Overview",
"challenge": "Challenge",
@@ -425,6 +418,33 @@
"projects": "Projects",
"announcements": "Announcements"
},
"minutes": "min",
"items": {
"design-trends-2026": {
"title": "Design Trends Shaping 2026",
"excerpt": "Explore the emerging design trends defining digital experiences this year, from minimalism to bold typography."
},
"forma-digital-launch": {
"title": "Forma Digital Platform Launch",
"excerpt": "We are excited to announce the successful launch of Forma Digital, a revolutionary e-commerce experience."
},
"studio-expansion": {
"title": "Studio Expansion Announcement",
"excerpt": "ArcticNewOne is growing! We are expanding our team and capabilities to serve you better."
},
"ux-research-methods": {
"title": "Modern UX Research Methods",
"excerpt": "Dive into the latest user experience research methodologies, from remote testing to behavioral analytics."
},
"bold-moves-case-study": {
"title": "Bold Moves: A Case Study",
"excerpt": "Behind the scenes of our award-winning architectural visualization project featuring cutting-edge 3D technology."
},
"new-tools-integration": {
"title": "New Tools Added to Our Platform",
"excerpt": "Check out the latest additions to our toolbox across design, development and collaboration."
}
},
"detail": {
"shareArticle": "Share Article",
"relatedArticles": "Related Articles",
@@ -523,6 +543,85 @@
"passwordMismatch": "Passwords do not match",
"invalidPhone": "Invalid phone number format",
"alreadyHaveAccount": "Already have an account?",
"backToLogin": "Back to Login"
"backToLogin": "Back to Login",
"usernameTaken": "Username is already taken",
"emailTaken": "This email is already registered",
"invalidCredentials": "Incorrect account or password",
"passwordTooShort": "Password must be at least 8 characters",
"invalidUsername": "Username must be 2-20 characters (letters, digits, underscores, Chinese)",
"invalidEmail": "Invalid email address",
"loginRequired": "Please sign in first",
"serverError": "Server error. Please try again later."
},
"account": {
"title": "My Account",
"profile": "Profile",
"favorites": "Favorites",
"comments": "My Comments",
"adminTitle": "Admin",
"username": "Username",
"email": "Email",
"phone": "Phone",
"joinedAt": "Joined",
"role": "Role",
"roleAdmin": "Admin",
"roleUser": "User",
"save": "Save Changes",
"saving": "Saving...",
"saved": "Saved",
"saveFailed": "Failed to save. Please try again.",
"emptyFavorites": "No favorites yet. Go to the Work page to explore.",
"emptyComments": "No comments posted yet",
"admin": {
"contacts": "Contact Messages",
"subscribers": "Newsletter Subscribers",
"emptyContacts": "No contact messages",
"emptySubscribers": "No subscribers yet",
"name": "Name",
"email": "Email",
"subject": "Subject",
"message": "Message",
"date": "Date",
"delivered": "Delivered to inbox",
"notDelivered": "Not delivered (SMTP not configured)"
}
},
"comments": {
"title": "Comments",
"placeholder": "Share your thoughts...",
"submit": "Post Comment",
"submitting": "Posting...",
"empty": "No comments yet. Be the first to comment.",
"loginToComment": "Sign in to join the discussion",
"commentError": "Failed to post comment. Please try again."
},
"favorites": {
"add": "Favorite",
"remove": "Unfavorite",
"added": "Favorited",
"loginToFavorite": "Sign in to favorite this project"
},
"search": {
"placeholder": "Search...",
"empty": "No matching results"
},
"pagination": {
"loadMore": "Load More",
"noMore": "All loaded"
},
"share": {
"article": "Share this article",
"copy": "Copy link",
"copied": "Link copied",
"copyFailed": "Copy failed. Please copy the URL from the address bar."
},
"lang": {
"toEnglish": "English",
"toChinese": "中文"
},
"newsletter": {
"subscribed": "Subscribed! Thank you for joining.",
"alreadySubscribed": "You are already subscribed",
"error": "Subscription failed. Please try again."
}
}