style(theme): 更新网站主题色彩方案与字体配置

- 调整主色调从 #1C1C1C 至 #1A1A1A,优化视觉层次
- 更新背景色系为暖白色调 (#FAFAF7, #F5F4F0 等)
- 配置中文字体栈,添加 serif 字体支持
- 优化文本颜色梯度,提升可读性
- 调整边框颜色,统一水墨风格
- 添加 Google Search Console 验证码配置项
- 新增桌面应用架构专家代理配置文件
- 重构 E2E 测试等待策略,提升稳定性
- 添加回归测试脚本,增强质量保障
This commit is contained in:
张翔
2026-06-17 11:37:25 +08:00
parent a3cc4c9d43
commit 415a103a24
50 changed files with 3651 additions and 1186 deletions
+158 -165
View File
@@ -1,195 +1,188 @@
'use client';
import { motion } from 'framer-motion';
import { useMemo } from 'react';
import { useReducedMotion } from '@/hooks/use-reduced-motion';
import { COMPANY_INFO } from '@/lib/constants';
import { PageNav } from '@/components/layout/page-nav';
import { BreadcrumbSchema } from '@/components/seo/structured-data';
import { Users, Target, Award } from 'lucide-react';
import { NarrativeHero } from '@/components/sections/narrative/NarrativeHero';
import { NarrativeValue } from '@/components/sections/narrative/NarrativeValue';
import { NarrativeTrust } from '@/components/sections/narrative/NarrativeTrust';
import { NarrativeCTA } from '@/components/sections/narrative/NarrativeCTA';
import { InkCard } from '@/components/ui/ink-wash';
import { Target, Heart, Lightbulb } from 'lucide-react';
import type { ValuePoint } from '@/components/sections/narrative/NarrativeValue';
const EASE = [0.25, 1, 0.5, 1] as const;
const CORE_VALUES: ValuePoint[] = [
{
icon: Target,
title: '结果导向',
description: '不以"项目上线"为终点,以"客户业务是否真正改善"为衡量标准。每一次交付,都追求可量化的价值。',
},
{
icon: Heart,
title: '长期主义',
description: '不追逐风口,只做真正为客户创造价值的事。您的下一次难题,还愿意第一个想到我们——这才是我们追求的成功。',
},
{
icon: Lightbulb,
title: '技术驱动',
description: '用扎实的工程能力和行业经验赢得信任。技术不是炫技的工具,而是解决真实问题的手段。',
},
];
const MILESTONES = [
{ date: '2026.01', title: '公司成立', description: '四川睿新致远科技有限公司在成都龙泉驿区正式成立' },
{ date: '2026.01', title: '团队组建', description: '核心团队到位,成员来自多个大型 IT 企业,具备扎实的工程能力和规范化交付经验' },
{ date: '2026.02', title: '业务启动', description: '推出企业数字化转型咨询与解决方案服务,开始接触首批客户' },
{ date: '2026.03', title: '产品研发', description: '自主研发 ERP、CRM 等核心产品,逐步构建产品矩阵' },
{ date: '2026.05', title: '研发推进', description: '多款产品进入核心功能开发阶段,同步开展早期用户体验计划' },
];
export function AboutClient() {
const shouldReduceMotion = useReducedMotion();
const fadeUp = shouldReduceMotion ? {} : { initial: { opacity: 0, y: 20 } };
const values = useMemo(() => [
{ icon: Target, title: '务实', description: '不追逐风口,只做真正为客户创造价值的事。' },
{ icon: Users, title: '陪伴', description: '从需求理解到产品打磨,长期陪跑才是我们的承诺。' },
{ icon: Award, title: '专业', description: '用扎实的工程能力和行业经验赢得信任。' },
], []);
const milestones = useMemo(() => [
{ date: '2026.01', title: '公司成立', description: '四川睿新致远科技有限公司在成都龙泉驿区正式成立' },
{ date: '2026.01', title: '团队组建', description: '核心团队到位,成员来自多个大型传统IT企业,具备扎实的工程能力和规范化交付经验' },
{ date: '2026.02', title: '业务启动', description: '推出企业数字化转型咨询与解决方案服务,开始接触首批意向客户' },
{ date: '2026.03', title: '产品研发', description: '自主研发的ERP、CRM等产品启动研发,逐步构建产品矩阵' },
{ date: '2026.05', title: '研发推进', description: '多款产品进入核心功能开发阶段,同步开展早期用户体验计划' },
], []);
return (
<div className="min-h-screen bg-[var(--color-bg-primary)]">
<BreadcrumbSchema items={[{ name: '首页', href: '/' }, { name: '关于我们', href: '/about' }]} />
<section className="pt-32 pb-16">
<div className="container-wide">
<PageNav items={[{ label: '关于我们' }]} />
{/* Layer 1: Hero */}
<NarrativeHero
badge={{ text: '关于我们' }}
title="企业数字化转型的"
highlight="同行者"
subtitle={`关于 ${COMPANY_INFO.shortName}`}
description="以智慧连接数字趋势,以伙伴身份陪您成长。我们不把项目完成当作终点——您的业务增长了吗?您的团队能力提升了吗?这才是我们在意的事。"
primaryCta={{ label: '联系我们', href: '/contact' }}
secondaryCta={{ label: '认识团队', href: '/team' }}
stats={[
{ value: '12+', label: '年行业深耕' },
{ value: '6 款', label: '自研产品' },
{ value: '10+', label: '人核心团队' },
]}
/>
{/* Brand Story */}
<section className="section-padding bg-[var(--color-bg-section)] relative overflow-hidden">
<div className="container-wide relative z-10">
<motion.div
{...fadeUp}
animate={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
className="max-w-3xl"
initial={shouldReduceMotion ? {} : { opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: '-100px' }}
transition={{ duration: 0.6, ease: EASE }}
className="max-w-4xl mx-auto"
>
<p className="text-sm font-medium text-[var(--color-brand-primary)] mb-4 tracking-wide uppercase">About</p>
<h1 className="text-4xl md:text-5xl font-bold text-[var(--color-text-primary)] mb-6 tracking-tight">
关于我们
</h1>
<p className="text-lg text-[var(--color-text-muted)] leading-relaxed">
以智慧连接数字趋势,以伙伴身份陪您成长——您的数字化转型同行者。
</p>
<div className="mb-4 inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-[var(--color-brand-primary-bg)] border border-[var(--color-brand-primary)]/10">
<span className="w-1.5 h-1.5 rounded-full bg-[var(--color-brand-primary)]" />
<span className="text-xs font-medium tracking-wider text-[var(--color-brand-primary)]">品牌故事</span>
</div>
<h2 className="text-3xl sm:text-4xl font-semibold text-[var(--color-text-primary)] mb-10">
智连未来,<span className="text-[var(--color-brand-primary)] font-calligraphy">成长伙伴</span>
</h2>
<div className="grid grid-cols-1 md:grid-cols-2 gap-10">
<InkCard padding="lg">
<h3 className="text-lg font-semibold text-[var(--color-brand-primary)] mb-4">智连未来</h3>
<p className="text-[var(--color-text-muted)] mb-2 leading-relaxed">我们坚持对行业趋势的深度研究,不追逐昙花一现的概念。</p>
<p className="text-[var(--color-text-muted)] mb-2 leading-relaxed">每一次方案,都源于对您业务场景的洞察;</p>
<p className="text-[var(--color-text-muted)] leading-relaxed">每一次连接,都为了让技术真正服务于您的未来。</p>
</InkCard>
<InkCard padding="lg">
<h3 className="text-lg font-semibold text-[var(--color-brand-primary)] mb-4">成长伙伴</h3>
<p className="text-[var(--color-text-muted)] mb-2 leading-relaxed">我们不把&ldquo;项目完成&rdquo;当作终点。</p>
<p className="text-[var(--color-text-muted)] mb-2 leading-relaxed">您的业务增长了吗?您的团队能力提升了吗?</p>
<p className="text-[var(--color-text-muted)] leading-relaxed">您下一次遇到难题时,还会第一个想到我们吗?</p>
</InkCard>
</div>
{/* Promises */}
<div className="mt-10 p-6 rounded-xl bg-[var(--color-bg-primary)] border border-[var(--color-border-primary)]">
<p className="text-[var(--color-text-muted)] mb-4 leading-relaxed font-medium">我们承诺:</p>
<div className="grid grid-cols-1 md:grid-cols-3 gap-4">
{[
'不卖您用不上的技术',
'不说不懂业务的术语',
'不做路过就忘的"一锤子买卖"',
].map((promise) => (
<div key={promise} className="flex items-start gap-2">
<span className="text-[var(--color-brand-primary)] font-bold mt-0.5 shrink-0">&#10003;</span>
<span className="text-[var(--color-text-muted)] text-sm">{promise}</span>
</div>
))}
</div>
<p className="text-[var(--color-text-primary)] leading-relaxed font-medium mt-6 text-lg">
我们只做一件事:成为您数字化转型路上,信得过的<span className="text-[var(--color-brand-primary)]">成长伙伴</span>。
</p>
</div>
</motion.div>
</div>
</section>
<section className="pb-20">
<div className="container-wide">
<div className="max-w-4xl mx-auto">
<motion.div
{...fadeUp}
whileInView={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5 }}
className="bg-[var(--color-bg-section)] rounded-2xl p-8 md:p-12"
>
<h2 className="text-2xl font-bold text-[var(--color-text-primary)] mb-8">
关于 {COMPANY_INFO.shortName}
</h2>
{/* Layer 2: Core Values */}
<NarrativeValue
badge="核心价值观"
title="我们坚信的事"
highlight=""
subtitle="这些不是墙上的标语,而是每一个决策背后的原则"
points={CORE_VALUES}
columns={3}
bgVariant="default"
/>
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 md:gap-12">
<div>
<h3 className="text-lg font-semibold text-[var(--color-brand-primary)] mb-3">智连未来</h3>
<p className="text-[var(--color-text-muted)] mb-2 leading-relaxed">我们坚持对行业趋势的深度研究,不追逐昙花一现的概念。</p>
<p className="text-[var(--color-text-muted)] mb-2 leading-relaxed">每一次方案,都源于对您业务场景的洞察;</p>
<p className="text-[var(--color-text-muted)] leading-relaxed">每一次连接,都为了让技术真正服务于您的未来。</p>
</div>
<div>
<h3 className="text-lg font-semibold text-[var(--color-brand-primary)] mb-3">成长伙伴</h3>
<p className="text-[var(--color-text-muted)] mb-2 leading-relaxed">我们不把&ldquo;项目完成&rdquo;当作终点。</p>
<p className="text-[var(--color-text-muted)] mb-2 leading-relaxed">您的业务增长了吗?您的团队能力提升了吗?</p>
<p className="text-[var(--color-text-muted)] leading-relaxed">您下一次遇到难题时,还会第一个想到我们吗?</p>
</div>
</div>
<div className="mt-8 pt-8 border-t border-[var(--color-border-light)]">
<p className="text-[var(--color-text-muted)] mb-4 leading-relaxed">我们承诺:</p>
<div className="grid grid-cols-1 md:grid-cols-3 gap-3">
{[
'不卖您用不上的技术',
'不说不懂业务的术语',
'不做路过就忘的"一锤子买卖"',
].map((promise) => (
<div key={promise} className="flex items-start gap-2">
<span className="text-[var(--color-brand-primary)] font-bold mt-0.5">✓</span>
<span className="text-[var(--color-text-muted)] text-sm">{promise}</span>
</div>
))}
</div>
<p className="text-[var(--color-text-primary)] leading-relaxed font-medium mt-4">
我们只做一件事:成为您数字化转型路上,信得过的成长伙伴。
</p>
</div>
</motion.div>
</div>
</div>
</section>
<section className="py-20 bg-[var(--color-bg-section)]">
<div className="container-wide">
<div className="max-w-4xl mx-auto">
<motion.h2
{...fadeUp}
whileInView={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5 }}
className="text-2xl font-bold text-[var(--color-text-primary)] mb-10"
>
核心价值观
</motion.h2>
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
{values.map((value) => (
{/* Layer 3: Milestones (Trust) */}
<NarrativeTrust
badge="发展历程"
title="一路走来"
highlight="步步扎实"
bgVariant="section"
>
<div className="relative max-w-3xl">
<div className="absolute left-[4.5rem] top-0 bottom-0 w-px bg-[var(--color-border-primary)] hidden md:block" />
<div className="space-y-8">
{MILESTONES.map((milestone, idx) => {
const isLatest = idx === MILESTONES.length - 1;
return (
<motion.div
key={value.title}
{...fadeUp}
whileInView={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
key={milestone.title + milestone.date}
initial={shouldReduceMotion ? {} : { opacity: 0, y: 16 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5 }}
className="flex items-start gap-4 p-6 rounded-xl bg-[var(--color-bg-primary)] border border-[var(--color-border-primary)] hover:border-[rgba(var(--color-brand-primary-rgb),0.3)] transition-colors"
transition={{ duration: 0.4, delay: idx * 0.08, ease: EASE }}
className="flex items-start gap-6"
>
<div className="w-10 h-10 rounded-lg bg-[var(--color-brand-primary-bg)] flex items-center justify-center shrink-0">
<value.icon className="w-5 h-5 text-[var(--color-brand-primary)]" />
<div className="md:w-20 shrink-0 text-right hidden md:block">
<span className="text-sm font-mono font-medium text-[var(--color-brand-primary)]">{milestone.date}</span>
</div>
<div>
<h3 className="font-semibold text-[var(--color-text-primary)] mb-1">{value.title}</h3>
<p className="text-sm text-[var(--color-text-muted)]">{value.description}</p>
<div className="relative shrink-0 hidden md:block">
<div className={`w-3 h-3 rounded-full border-2 border-white shadow-sm mt-1.5 ${isLatest ? 'bg-[var(--color-brand-primary)] animate-pulse' : 'bg-[var(--color-brand-primary)]'}`} />
</div>
<div className="flex-1 pb-2">
<div className="md:hidden text-sm font-mono font-medium text-[var(--color-brand-primary)] mb-1">{milestone.date}</div>
<div className="flex items-center gap-2 mb-1">
<h3 className="font-semibold text-[var(--color-text-primary)]">{milestone.title}</h3>
{isLatest && (
<span className="inline-flex items-center px-2 py-0.5 rounded text-[10px] font-medium bg-[var(--color-brand-primary-bg)] text-[var(--color-brand-primary)] border border-[var(--color-brand-primary)]/10">
进行中
</span>
)}
</div>
<p className="text-sm text-[var(--color-text-muted)] leading-relaxed">{milestone.description}</p>
</div>
</motion.div>
))}
</div>
);
})}
</div>
</div>
</section>
</NarrativeTrust>
<section className="py-20">
<div className="container-wide">
<div className="max-w-4xl mx-auto">
<motion.h2
{...fadeUp}
whileInView={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5 }}
className="text-2xl font-bold text-[var(--color-text-primary)] mb-10"
>
发展历程
</motion.h2>
<div className="relative">
<div className="absolute left-[4.5rem] top-0 bottom-0 w-px bg-[var(--color-border-primary)] hidden md:block" />
<div className="space-y-8">
{milestones.map((milestone, idx) => {
const isLatest = idx === milestones.length - 1;
return (
<motion.div
key={milestone.title}
{...fadeUp}
whileInView={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5, delay: idx * 0.1 }}
className="flex items-start gap-6"
>
<div className="md:w-20 shrink-0 text-right hidden md:block">
<span className="text-sm font-mono font-medium text-[var(--color-brand-primary)]">{milestone.date}</span>
</div>
<div className="relative shrink-0 hidden md:block">
<div className={`w-3 h-3 rounded-full border-2 border-white shadow-sm mt-1 ${isLatest ? 'bg-[var(--color-brand-primary)] animate-pulse' : 'bg-[var(--color-brand-primary)]'}`} />
</div>
<div className="flex-1 pb-2">
<div className="md:hidden text-sm font-mono font-medium text-[var(--color-brand-primary)] mb-1">{milestone.date}</div>
<div className="flex items-center gap-2">
<h3 className="font-semibold text-[var(--color-text-primary)]">{milestone.title}</h3>
{isLatest && (
<span className="inline-flex items-center px-2 py-0.5 rounded text-[10px] font-medium bg-[var(--color-brand-primary-bg)] text-[var(--color-brand-primary)] border border-[var(--color-brand-primary)]/10">
进行中
</span>
)}
</div>
<p className="text-sm text-[var(--color-text-muted)] leading-relaxed">{milestone.description}</p>
</div>
</motion.div>
);
})}
</div>
</div>
</div>
</div>
</section>
{/* Layer 4: CTA */}
<NarrativeCTA
title="与我们同行"
description="无论您是想了解合作机会,还是希望加入我们的团队,都欢迎随时联系。"
primaryLabel="联系我们"
primaryHref="/contact"
secondaryLabel="认识团队"
secondaryHref="/team"
/>
</div>
);
}
+1 -1
View File
@@ -3,7 +3,7 @@ import { AboutClient } from './client';
export const metadata = {
title: `关于我们 - ${COMPANY_INFO.displayName}`,
description: `了解${COMPANY_INFO.name}的品牌故事。我们不只是技术供应商,更是您数字化转型的成长伙伴。以智慧连接数字趋势,以伙伴身份陪您成长。`,
description: `了解${COMPANY_INFO.name}。12年行业深耕,大厂背景团队,以结果导向的服务理念,做企业数字化转型的同行者与成长伙伴。`,
};
export default function AboutPage() {
+153 -73
View File
@@ -9,13 +9,16 @@ import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
import { Textarea } from '@/components/ui/textarea';
import { Toast } from '@/components/ui/toast';
import { Mail, MapPin, Send, Loader2, Clock, HeadphonesIcon, CheckCircle2, HelpCircle } from 'lucide-react';
import { InkCard } from '@/components/ui/ink-wash';
import { NarrativeCTA } from '@/components/sections/narrative/NarrativeCTA';
import { Mail, MapPin, Send, Loader2, Clock, HeadphonesIcon, CheckCircle2, HelpCircle, MessageSquare } from 'lucide-react';
import { COMPANY_INFO } from '@/lib/constants';
import { PageNav } from '@/components/layout/page-nav';
import { trackContactForm, trackConversion } from '@/lib/analytics';
import { BreadcrumbSchema } from '@/components/seo/structured-data';
import { Tooltip } from '@/components/ui/tooltip';
const EASE = [0.25, 1, 0.5, 1] as const;
const contactFormSchema = z.object({
name: z.string().min(2, '姓名至少需要2个字符'),
phone: z.string().regex(/^1[3-9]\d{9}$/, '请输入有效的手机号码'),
@@ -34,11 +37,29 @@ interface FormErrors {
message?: string;
}
const FAQ_ITEMS = [
{
q: '你们的服务流程是怎样的?',
a: '通常分四步:需求沟通 → 方案评估 → 签约启动 → 敏捷交付。首次咨询免费,我们会在 2 个工作日内给出初步方案建议。',
},
{
q: '收费模式是怎样的?',
a: '根据项目规模和合作模式灵活定价。项目制按里程碑付款,订阅制按月结算,长期陪跑模式可协商年度合作方案。',
},
{
q: '数据安全如何保障?',
a: '我们严格遵守数据保护规范,签署保密协议,采用加密传输和权限隔离。项目结束后,客户数据按要求彻底清除。',
},
{
q: '项目周期一般多长?',
a: '小型项目 2-4 周,中型项目 1-3 个月,大型项目按阶段推进。我们会在方案评估阶段给出明确的时间线。',
},
];
function ContactFormContent() {
const searchParams = useSearchParams();
const isSuccessFromRedirect = searchParams.get('success') === 'true';
const shouldReduceMotion = useReducedMotion();
const fadeUp = shouldReduceMotion ? {} : { initial: { opacity: 0, y: 20 } };
const [showToast, setShowToast] = useState(isSuccessFromRedirect);
const [toastMessage, setToastMessage] = useState(
isSuccessFromRedirect ? '表单提交成功!我们会尽快与您联系。' : ''
@@ -100,20 +121,15 @@ function ContactFormContent() {
setIsSubmitting(true);
try {
const formEndpoint = `https://formsubmit.co/ajax/${COMPANY_INFO.email}`;
const formBody = new URLSearchParams();
formBody.append('name', formData.name);
formBody.append('phone', formData.phone);
formBody.append('email', formData.email);
formBody.append('subject', formData.subject);
formBody.append('message', formData.message);
formBody.append('_subject', `网站留言: ${formData.subject}`);
formBody.append('_captcha', 'false');
formBody.append('_template', 'table');
const response = await fetch(formEndpoint, {
const response = await fetch('/api/contact', {
method: 'POST',
headers: { 'Accept': 'application/json' },
body: formBody,
});
@@ -151,6 +167,8 @@ function ContactFormContent() {
}
}
const fadeUp = shouldReduceMotion ? {} : { initial: { opacity: 0, y: 20 } };
return (
<div className="min-h-screen bg-[var(--color-bg-primary)]">
<BreadcrumbSchema items={[{ name: '首页', href: '/' }, { name: '联系我们', href: '/contact' }]} />
@@ -162,53 +180,61 @@ function ContactFormContent() {
/>
)}
<section className="pt-32 pb-16">
<div className="container-wide">
<PageNav items={[{ label: '联系我们' }]} />
{/* Hero */}
<section className="relative pt-32 pb-12 overflow-hidden bg-[var(--color-bg-primary)]">
<div className="container-wide relative z-10">
<motion.div
{...fadeUp}
animate={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
transition={{ duration: 0.6, ease: EASE }}
className="max-w-3xl"
>
<p className="text-sm font-medium text-[var(--color-brand-primary)] mb-4 tracking-wide uppercase">Contact</p>
<h1 className="text-4xl md:text-5xl font-bold text-[var(--color-text-primary)] mb-6 tracking-tight">
<div className="inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-[var(--color-brand-primary-bg)] text-[var(--color-brand-primary)] text-xs font-medium border border-[var(--color-brand-primary)]/10 mb-6">
联系我们
</div>
<p className="text-base sm:text-lg text-[var(--color-text-muted)] mb-3">
工作日 2 小时内快速响应,首次咨询免费
</p>
<h1 className="text-4xl md:text-5xl lg:text-6xl tracking-tight mb-6 leading-[1.12]">
随时欢迎{' '}
<span className="text-[var(--color-brand-primary)] font-calligraphy">聊一聊</span>
</h1>
<p className="text-lg text-[var(--color-text-muted)] leading-relaxed">
无论您有任何问题或合作意向,我们都很乐意与您交流
<p className="text-base sm:text-lg text-[var(--color-text-muted)] max-w-lg leading-relaxed">
无论是一个明确的项目需求,还是一个模糊的想法,我们都愿意坐下来和您一起理清楚。没有任何销售压力。
</p>
</motion.div>
</div>
</section>
<section className="pb-16">
{/* Form + Info */}
<section className="pb-16 md:pb-24">
<div className="container-wide">
<div className="grid lg:grid-cols-5 gap-12 lg:gap-16">
<div className="grid lg:grid-cols-5 gap-10 lg:gap-14">
{/* Left: Contact Info */}
<motion.div
{...fadeUp}
whileInView={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5 }}
transition={{ duration: 0.6, ease: EASE }}
className="lg:col-span-2 space-y-6"
>
<div>
<h2 className="text-lg font-semibold text-[var(--color-text-primary)] mb-6">联系方式</h2>
<div className="space-y-4" data-testid="contact-info">
<div className="flex items-start gap-4 group" data-testid="email-info">
<div className="w-10 h-10 bg-[var(--color-brand-primary-bg)] rounded-lg flex items-center justify-center shrink-0 group-hover:scale-105 transition-transform duration-200">
<div className="w-10 h-10 bg-[var(--color-brand-primary-bg)] rounded-lg flex items-center justify-center shrink-0 group-hover:scale-105 transition-transform duration-300">
<Mail className="w-5 h-5 text-[var(--color-brand-primary)]" />
</div>
<div>
<p className="text-sm text-[var(--color-text-muted)] mb-1">邮箱</p>
<a href={`mailto:${COMPANY_INFO.email}`} className="text-[var(--color-text-primary)] hover:text-[var(--color-brand-primary)] transition-colors duration-200" data-testid="email-link">
<a href={`mailto:${COMPANY_INFO.email}`} className="text-[var(--color-text-primary)] hover:text-[var(--color-brand-primary)] transition-colors duration-300" data-testid="email-link">
{COMPANY_INFO.email}
</a>
</div>
</div>
<div className="flex items-start gap-4 group" data-testid="address-info">
<div className="w-10 h-10 bg-[var(--color-brand-primary-bg)] rounded-lg flex items-center justify-center shrink-0 group-hover:scale-105 transition-transform duration-200">
<div className="w-10 h-10 bg-[var(--color-brand-primary-bg)] rounded-lg flex items-center justify-center shrink-0 group-hover:scale-105 transition-transform duration-300">
<MapPin className="w-5 h-5 text-[var(--color-brand-primary)]" />
</div>
<div>
@@ -219,7 +245,7 @@ function ContactFormContent() {
</div>
</div>
<div className="p-5 rounded-xl border border-[var(--color-border)]" data-testid="work-hours-card">
<InkCard padding="md" data-testid="work-hours-card">
<div className="flex items-center gap-2 mb-3">
<Clock className="w-4 h-4 text-[var(--color-brand-primary)]" />
<h2 className="text-sm font-medium text-[var(--color-text-primary)]">工作时间</h2>
@@ -228,9 +254,9 @@ function ContactFormContent() {
<span className="text-[var(--color-text-muted)]">周一至周五</span>
<span className="text-[var(--color-brand-primary)] font-medium">9:00 - 18:00</span>
</div>
</div>
</InkCard>
<div className="p-5 rounded-xl border border-[var(--color-border)]">
<InkCard padding="md">
<div className="flex items-center gap-2 mb-3">
<HeadphonesIcon className="w-4 h-4 text-[var(--color-brand-primary)]" />
<h2 className="text-sm font-medium text-[var(--color-text-primary)]">我们的承诺</h2>
@@ -249,17 +275,18 @@ function ContactFormContent() {
<p className="text-sm text-[var(--color-text-muted)]">根据您的需求量身定制最优解决方案</p>
</div>
</div>
</div>
</InkCard>
</motion.div>
{/* Right: Form */}
<motion.div
{...fadeUp}
whileInView={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5, delay: 0.1 }}
transition={{ duration: 0.6, delay: 0.1, ease: EASE }}
className="lg:col-span-3"
>
<div className="p-6 sm:p-8 rounded-xl border border-[var(--color-border-primary)] bg-[var(--color-bg-primary)] shadow-md">
<InkCard padding="lg" glow className="h-full">
<h2 className="text-lg font-semibold text-[var(--color-text-primary)] mb-6">发送消息</h2>
{isSubmitted ? (
@@ -271,52 +298,52 @@ function ContactFormContent() {
<p className="text-[var(--color-text-muted)]">感谢您的留言,我们会尽快与您联系!</p>
</div>
) : (
<form onSubmit={handleSubmit} className="space-y-5">
<form onSubmit={handleSubmit} className="space-y-5" noValidate>
<input type="text" name="website" style={{ display: 'none' }} tabIndex={-1} autoComplete="off" aria-hidden="true" />
<div className="grid grid-cols-1 sm:grid-cols-2 gap-4">
<div className="relative">
<Input
name="name"
data-testid="name-input"
label={
<span className="flex items-center gap-1.5">
姓名
<Tooltip content="用于正式沟通和方案报价">
<HelpCircle className="w-3.5 h-3.5 text-[var(--color-text-subtle)] hover:text-[var(--color-brand-primary)] cursor-help" />
</Tooltip>
</span>
}
id="name"
placeholder="请输入您的姓名"
required
value={formData.name}
onChange={(e) => handleChange('name', e.target.value)}
onBlur={(e) => handleBlur('name', e.target.value)}
error={errors.name}
/>
</div>
<div className="relative">
<Input
name="phone"
data-testid="phone-input"
label={
<span className="flex items-center gap-1.5">
电话
<Tooltip content="接收项目进度通知和验证码,仅用于业务联系">
<HelpCircle className="w-3.5 h-3.5 text-[var(--color-text-subtle)] hover:text-[var(--color-brand-primary)] cursor-help" />
</Tooltip>
</span>
}
id="phone"
type="tel"
placeholder="请输入11位手机号"
required
value={formData.phone}
onChange={(e) => handleChange('phone', e.target.value)}
onBlur={(e) => handleBlur('phone', e.target.value)}
error={errors.phone}
/>
</div>
<Input
name="name"
data-testid="name-input"
label={
<span className="flex items-center gap-1.5">
姓名
<Tooltip content="用于正式沟通和方案报价">
<HelpCircle className="w-3.5 h-3.5 text-[var(--color-text-subtle)] hover:text-[var(--color-brand-primary)] cursor-help" />
</Tooltip>
</span>
}
id="name"
placeholder="请输入您的姓名"
required
value={formData.name}
onChange={(e) => handleChange('name', e.target.value)}
onBlur={(e) => handleBlur('name', e.target.value)}
error={errors.name}
/>
</div>
<div className="relative">
<Input
name="phone"
data-testid="phone-input"
label={
<span className="flex items-center gap-1.5">
电话
<Tooltip content="接收项目进度通知和验证码,仅用于业务联系">
<HelpCircle className="w-3.5 h-3.5 text-[var(--color-text-subtle)] hover:text-[var(--color-brand-primary)] cursor-help" />
</Tooltip>
</span>
}
id="phone"
type="tel"
placeholder="请输入11位手机号"
required
value={formData.phone}
onChange={(e) => handleChange('phone', e.target.value)}
onBlur={(e) => handleBlur('phone', e.target.value)}
error={errors.phone}
/>
</div>
</div>
<Input
name="email"
@@ -378,11 +405,64 @@ function ContactFormContent() {
</Button>
</form>
)}
</div>
</InkCard>
</motion.div>
</div>
</div>
</section>
{/* FAQ Section */}
<section className="section-padding bg-[var(--color-bg-section)] relative overflow-hidden">
<div className="container-wide relative z-10">
<motion.div
initial={shouldReduceMotion ? {} : { opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: '-100px' }}
transition={{ duration: 0.6, ease: EASE }}
className="mb-14"
>
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-[var(--color-brand-primary-bg)] border border-[var(--color-brand-primary)]/10 mb-4">
<span className="w-1.5 h-1.5 rounded-full bg-[var(--color-brand-primary)]" />
<span className="text-xs font-medium tracking-wider text-[var(--color-brand-primary)]">常见问题</span>
</div>
<h2 className="text-3xl sm:text-4xl font-semibold text-[var(--color-text-primary)] mb-4">
您可能想<span className="text-[var(--color-brand-primary)] font-calligraphy ml-1">了解的</span>
</h2>
</motion.div>
<div className="grid grid-cols-1 md:grid-cols-2 gap-6 max-w-5xl">
{FAQ_ITEMS.map((faq, idx) => (
<motion.div
key={faq.q}
initial={shouldReduceMotion ? {} : { opacity: 0, y: 16 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.4, delay: idx * 0.08, ease: EASE }}
>
<InkCard padding="md" className="h-full">
<div className="flex items-start gap-3">
<MessageSquare className="w-5 h-5 text-[var(--color-brand-primary)] shrink-0 mt-0.5" strokeWidth={1.8} />
<div>
<h3 className="text-base font-semibold text-[var(--color-text-primary)] mb-2">{faq.q}</h3>
<p className="text-sm text-[var(--color-text-muted)] leading-relaxed">{faq.a}</p>
</div>
</div>
</InkCard>
</motion.div>
))}
</div>
</div>
</section>
{/* CTA */}
<NarrativeCTA
title="还是想直接聊?"
description="表单填起来太麻烦?直接发邮件到 contact@novalon.cn,我们同样会快速回复。"
primaryLabel="发送邮件"
primaryHref={`mailto:${COMPANY_INFO.email}`}
secondaryLabel="回到首页"
secondaryHref="/"
/>
</div>
);
}
+300
View File
@@ -0,0 +1,300 @@
'use client';
import { motion } from 'framer-motion';
import { StaticLink } from '@/components/ui/static-link';
import { InkCard, InkWashBackground } from '@/components/ui/ink-wash';
import { NarrativeHero } from '@/components/sections/narrative/NarrativeHero';
import { NarrativeValue, type ValuePoint } from '@/components/sections/narrative/NarrativeValue';
import { NarrativeCTA } from '@/components/sections/narrative/NarrativeCTA';
import { useReducedMotion } from '@/hooks/use-reduced-motion';
import { PRODUCTS } from '@/lib/constants/products';
import { SOLUTIONS } from '@/lib/constants/solutions';
import {
Shield, Building2, Users, Code, Target,
ArrowRight, Package, Briefcase,
} from 'lucide-react';
const EASE = [0.25, 1, 0.5, 1] as const;
const CORE_STRENGTHS: ValuePoint[] = [
{
icon: Shield,
title: '12年+ 行业深耕',
description: '核心团队长期从事技术咨询与企业数字化,服务覆盖金融、制造、零售、政务等多个行业',
stat: '12+',
statLabel: '年行业经验',
},
{
icon: Building2,
title: '大型 IT 企业背景',
description: '团队来自多个大型传统 IT 企业,具备扎实的工程能力和规范化交付经验',
stat: '10+',
statLabel: '人核心团队',
},
{
icon: Users,
title: '复合型技术团队',
description: '既懂技术又懂业务,深入理解客户真实场景,提供真正可落地的解决方案',
stat: '6',
statLabel: '款自研产品',
},
{
icon: Code,
title: '全栈技术能力',
description: '从前端到后端、云原生到数据智能、移动端到物联网的全栈技术覆盖',
stat: '5+',
statLabel: '个覆盖行业',
},
{
icon: Target,
title: '结果导向交付',
description: '不以项目上线为终点,以客户业务是否真正改善为衡量标准',
stat: '100%',
statLabel: '项目交付率',
},
];
const enterpriseProducts = PRODUCTS.filter(p => p.categoryId === 'enterprise');
function HomeHeroRight() {
return (
<InkCard padding="lg" className="lg:opacity-95">
<div className="w-12 h-12 rounded-xl bg-[var(--color-brand-primary-bg)] flex items-center justify-center mb-5">
<Briefcase className="w-5 h-5 text-[var(--color-brand-primary)]" strokeWidth={1.8} />
</div>
<h3 className="text-lg font-semibold text-[var(--color-text-primary)] mb-2">
从沟通到落地,全程陪伴
</h3>
<p className="text-sm text-[var(--color-text-muted)] leading-relaxed mb-6">
四步合作流程,确保每个项目科学推进、高效交付
</p>
<div className="space-y-3">
{[
{ step: '01', label: '需求沟通', desc: '深入理解您的业务痛点' },
{ step: '02', label: '方案诊断', desc: '量身定制技术路径' },
{ step: '03', label: '敏捷交付', desc: '快速迭代持续验证' },
{ step: '04', label: '长期陪跑', desc: '持续优化保障落地' },
].map((item) => (
<div
key={item.step}
className="flex items-center gap-4 p-3 rounded-lg bg-[var(--color-bg-section)]/60"
>
<div className="w-9 h-9 rounded-lg bg-[var(--color-brand-primary-bg)] flex items-center justify-center shrink-0">
<span className="text-xs font-bold text-[var(--color-brand-primary)]">{item.step}</span>
</div>
<div>
<span className="text-sm font-medium text-[var(--color-text-primary)]">{item.label}</span>
<p className="text-xs text-[var(--color-text-muted)] mt-0.5">{item.desc}</p>
</div>
</div>
))}
</div>
</InkCard>
);
}
function ProductMatrixPreview() {
const shouldReduceMotion = useReducedMotion();
return (
<section className="relative section-padding bg-[var(--color-bg-primary)] overflow-hidden">
<InkWashBackground variant="subtle" />
<div className="container-wide relative z-10">
<motion.div
initial={shouldReduceMotion ? {} : { opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: '-100px' }}
transition={{ duration: 0.6, ease: EASE }}
className="mb-14"
>
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-[var(--color-brand-primary-bg)] border border-[var(--color-brand-primary)]/10 mb-4">
<span className="w-1.5 h-1.5 rounded-full bg-[var(--color-brand-primary)]" />
<span className="text-xs font-medium tracking-wider text-[var(--color-brand-primary)]">产品矩阵</span>
</div>
<h2 className="text-3xl sm:text-4xl font-semibold text-[var(--color-text-primary)] mb-4">
覆盖企业数字化<span className="text-[var(--color-brand-primary)] font-calligraphy">全场景</span>
</h2>
<p className="text-base text-[var(--color-text-muted)] max-w-2xl">
6 大自研产品互为补充,从数据智能到业务协同,每一款都经过实战验证
</p>
</motion.div>
<div className="grid grid-cols-2 md:grid-cols-3 gap-4 md:gap-6 mb-10">
{enterpriseProducts.map((product, idx) => (
<motion.div
key={product.id}
initial={shouldReduceMotion ? {} : { opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: '-40px' }}
transition={{ duration: 0.5, delay: idx * 0.06, ease: EASE }}
>
<InkCard padding="sm" href={`/products/${product.id}`} className="group">
<Package className="w-5 h-5 text-[var(--color-brand-primary)] mb-3" strokeWidth={1.8} />
<h3 className="text-sm font-semibold text-[var(--color-text-primary)] mb-1 group-hover:text-[var(--color-brand-primary)] transition-colors">
{product.title}
</h3>
<p className="text-xs text-[var(--color-text-muted)] leading-relaxed line-clamp-2">
{product.description}
</p>
</InkCard>
</motion.div>
))}
</div>
<motion.div
initial={shouldReduceMotion ? {} : { opacity: 0, y: 12 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5, delay: 0.3, ease: EASE }}
className="text-center"
>
<StaticLink
href="/products"
className="inline-flex items-center gap-2 text-sm font-medium text-[var(--color-brand-primary)] hover:text-[var(--color-brand-primary-hover)] transition-colors group"
>
浏览完整产品矩阵
<ArrowRight className="w-4 h-4 group-hover:translate-x-1 transition-transform" />
</StaticLink>
</motion.div>
</div>
</section>
);
}
function SolutionsPreview() {
const shouldReduceMotion = useReducedMotion();
return (
<section className="relative section-padding bg-[var(--color-bg-section)] overflow-hidden">
<InkWashBackground variant="subtle" />
<div className="container-wide relative z-10">
<motion.div
initial={shouldReduceMotion ? {} : { opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: '-100px' }}
transition={{ duration: 0.6, ease: EASE }}
className="mb-14"
>
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-[var(--color-brand-primary-bg)] border border-[var(--color-brand-primary)]/10 mb-4">
<span className="w-1.5 h-1.5 rounded-full bg-[var(--color-brand-primary)]" />
<span className="text-xs font-medium tracking-wider text-[var(--color-brand-primary)]">行业方案</span>
</div>
<h2 className="text-3xl sm:text-4xl font-semibold text-[var(--color-text-primary)] mb-4">
深耕行业<span className="text-[var(--color-brand-primary)] font-calligraphy">场景</span>
</h2>
<p className="text-base text-[var(--color-text-muted)] max-w-2xl">
基于自研产品矩阵,为不同行业量身定制端到端的数字化解决方案
</p>
</motion.div>
<div className="grid grid-cols-1 md:grid-cols-2 gap-6 mb-10">
{SOLUTIONS.map((solution, idx) => (
<motion.div
key={solution.id}
initial={shouldReduceMotion ? {} : { opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: '-40px' }}
transition={{ duration: 0.5, delay: idx * 0.08, ease: EASE }}
>
<InkCard padding="md" href={`/solutions/${solution.id}`} className="group">
<div className="flex items-center gap-2 mb-3">
<span className="px-2 py-0.5 rounded text-[10px] font-medium bg-[var(--color-brand-primary-bg)] text-[var(--color-brand-primary)]">
{solution.industry}
</span>
</div>
<h3 className="text-base font-semibold text-[var(--color-text-primary)] mb-1 group-hover:text-[var(--color-brand-primary)] transition-colors">
{solution.title}
</h3>
<p className="text-sm text-[var(--color-text-muted)] leading-relaxed mb-3 line-clamp-2">
{solution.description}
</p>
<div className="flex flex-wrap gap-1.5">
{solution.suiteCombination.primaryProducts.map(pid => {
const prod = PRODUCTS.find(p => p.id === pid);
return prod ? (
<span key={pid} className="px-2 py-0.5 rounded text-[10px] bg-[var(--color-bg-section)] text-[var(--color-text-muted)] border border-[var(--color-border-primary)]">
{prod.title.replace('睿新', '').replace('睿视 ', '')}
</span>
) : null;
})}
<span className="px-2 py-0.5 rounded text-[10px] text-[var(--color-brand-primary)] font-medium">
+ 配套服务
</span>
</div>
</InkCard>
</motion.div>
))}
</div>
<motion.div
initial={shouldReduceMotion ? {} : { opacity: 0, y: 12 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5, delay: 0.3, ease: EASE }}
className="text-center"
>
<StaticLink
href="/solutions"
className="inline-flex items-center gap-2 text-sm font-medium text-[var(--color-brand-primary)] hover:text-[var(--color-brand-primary-hover)] transition-colors group"
>
查看全部行业方案
<ArrowRight className="w-4 h-4 group-hover:translate-x-1 transition-transform" />
</StaticLink>
</motion.div>
</div>
</section>
);
}
function HomeContentV3() {
return (
<main id="main-content" className="min-h-screen bg-[var(--color-bg-primary)]">
{/* Layer 1: Hero */}
<NarrativeHero
badge={{ text: '智连未来,成长伙伴' }}
title="企业数字化转型的"
highlight="同行者"
subtitle="12 年深耕 · 全栈能力 · 结果导向"
description={'我们不是一家“做完就跑”的外包公司,而是愿意与您一起成长的数字化转型同行者。从需求沟通到系统落地,全程陪伴、结果导向。'}
primaryCta={{ label: '预约免费咨询', href: '/contact' }}
secondaryCta={{ label: '浏览产品', href: '/products' }}
rightContent={<HomeHeroRight />}
stats={[
{ value: '12+', label: '年行业经验' },
{ value: '6', label: '款自研产品' },
{ value: '10+', label: '人核心团队' },
{ value: '5+', label: '个覆盖行业' },
]}
/>
{/* Layer 2: Value - Core Strengths */}
<NarrativeValue
badge="核心优势"
title="为什么选择"
highlight="我们"
subtitle={'我们不是一家“做完就跑”的外包公司,而是愿意与您一起成长的数字化转型同行者'}
points={CORE_STRENGTHS}
columns={3}
bgVariant="section"
/>
{/* Layer 3: Trust - Products + Solutions */}
<ProductMatrixPreview />
<SolutionsPreview />
{/* Layer 4: CTA */}
<NarrativeCTA
title="让我们一起,把想法落地"
description="无论您处于数字化转型的哪个阶段,我们都愿意坐下来一起想办法。首次咨询免费,无任何销售压力。"
primaryLabel="预约免费咨询"
primaryHref="/contact"
secondaryLabel="了解我们的方法"
secondaryHref="/team"
/>
</main>
);
}
export { HomeContentV3 };
@@ -3,38 +3,49 @@
import { StaticLink } from '@/components/ui/static-link';
import { Button } from '@/components/ui/button';
import { Badge } from '@/components/ui/badge';
import { PageNav } from '@/components/layout/page-nav';
import { InkCard } from '@/components/ui/ink-wash';
import { Calendar, ArrowLeft, Newspaper } from 'lucide-react';
import { motion } from 'framer-motion';
import { useReducedMotion } from '@/hooks/use-reduced-motion';
import { NEWS } from '@/lib/constants';
const EASE = [0.25, 1, 0.5, 1] as const;
interface NewsDetailClientProps {
news: typeof NEWS[0];
}
export function NewsDetailClient({ news }: NewsDetailClientProps) {
const shouldReduceMotion = useReducedMotion();
const fadeUp = shouldReduceMotion ? {} : { initial: { opacity: 0, y: 20 } };
const relatedNews = NEWS
.filter((n) => n.id !== news.id && n.category === news.category)
.slice(0, 3);
return (
<div className="min-h-screen bg-[var(--color-bg-primary)]">
{/* Article Header */}
<section className="pt-32 pb-12">
<div className="container-wide">
<PageNav items={[{ label: '新闻动态', href: '/news' }, { label: news.title }]} />
{/* Breadcrumb */}
<nav className="flex items-center gap-2 text-sm text-[var(--color-text-muted)] mb-8">
<StaticLink href="/news" className="hover:text-[var(--color-brand-primary)] transition-colors duration-300">
新闻动态
</StaticLink>
<span>/</span>
<span className="text-[var(--color-text-primary)] line-clamp-1">{news.title}</span>
</nav>
<motion.div
{...fadeUp}
animate={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
className="max-w-4xl mt-6"
initial={shouldReduceMotion ? {} : { opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.6, ease: EASE }}
className="max-w-4xl"
>
<Badge className="mb-4 bg-[var(--color-brand-primary-bg)] text-[var(--color-brand-primary)] hover:bg-[var(--color-brand-primary)]/20 border-0">
{news.category}
</Badge>
<h1 className="text-3xl sm:text-4xl lg:text-5xl font-bold text-[var(--color-text-primary)] mb-4 tracking-tight">
<h1 className="text-3xl sm:text-4xl lg:text-5xl font-semibold text-[var(--color-text-primary)] mb-5 tracking-tight leading-tight">
{news.title}
</h1>
<div className="flex items-center gap-4 text-[var(--color-text-muted)] text-sm">
@@ -43,21 +54,24 @@ export function NewsDetailClient({ news }: NewsDetailClientProps) {
{news.date}
</div>
</div>
<div className="ink-divider mt-8" />
</motion.div>
</div>
</section>
<section className="pb-16">
{/* Article Body */}
<section className="pb-16 md:pb-24">
<div className="container-wide">
<motion.div
{...fadeUp}
whileInView={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
initial={shouldReduceMotion ? {} : { opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5 }}
transition={{ duration: 0.6, ease: EASE }}
className="max-w-4xl"
>
{/* Featured Image */}
{news.image ? (
<div className="aspect-video rounded-xl overflow-hidden mb-8">
<div className="aspect-video rounded-xl overflow-hidden mb-10">
<img
src={news.image}
alt={news.title}
@@ -65,34 +79,37 @@ export function NewsDetailClient({ news }: NewsDetailClientProps) {
/>
</div>
) : (
<div className="aspect-video bg-gradient-to-br from-[var(--color-brand-primary-bg)] to-[var(--color-bg-tertiary)] rounded-xl mb-8 flex items-center justify-center">
<div className="aspect-video bg-gradient-to-br from-[var(--color-brand-primary-bg)] to-[var(--color-bg-tertiary)] rounded-xl mb-10 flex items-center justify-center">
<Newspaper className="w-16 h-16 text-[var(--color-brand-primary)]/30" />
</div>
)}
<div className="bg-[var(--color-brand-primary-bg)] rounded-xl p-6 mb-8">
{/* Excerpt */}
<InkCard padding="md" className="mb-10">
<p className="text-lg text-[var(--color-text-muted)] leading-relaxed">
{news.excerpt}
</p>
</div>
</InkCard>
<div className="text-[var(--color-text-primary)] leading-relaxed whitespace-pre-line">
{/* Article Content */}
<div className="prose-ink text-[var(--color-text-primary)] text-base sm:text-lg leading-[1.8] whitespace-pre-line">
{news.content}
</div>
{/* Related News */}
{relatedNews.length > 0 && (
<div className="mt-16 pt-12 border-t border-[var(--color-border)]">
<h2 className="text-2xl font-bold text-[var(--color-text-primary)] mb-8">相关新闻</h2>
<div className="mt-16 pt-12 border-t border-[var(--color-border-primary)]">
<h2 className="text-2xl font-semibold text-[var(--color-text-primary)] mb-8">相关新闻</h2>
<div className="grid md:grid-cols-3 gap-6">
{relatedNews.map((related) => (
<StaticLink key={related.id} href={`/news/${related.id}`}>
<div className="group cursor-pointer">
<div className="aspect-video rounded-lg mb-4 overflow-hidden">
<InkCard padding="none" interactive className="overflow-hidden group h-full">
<div className="aspect-video overflow-hidden">
{related.image ? (
<img
src={related.image}
alt={related.title}
className="w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"
className="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"
/>
) : (
<div className="w-full h-full bg-gradient-to-br from-[var(--color-brand-primary-bg)] to-[var(--color-bg-tertiary)] flex items-center justify-center">
@@ -100,18 +117,21 @@ export function NewsDetailClient({ news }: NewsDetailClientProps) {
</div>
)}
</div>
<Badge variant="secondary" className="mb-2 text-xs">{related.category}</Badge>
<h3 className="text-base font-semibold text-[var(--color-text-primary)] mb-1 line-clamp-2 group-hover:text-[var(--color-brand-primary)] transition-colors">
{related.title}
</h3>
<p className="text-sm text-[var(--color-text-muted)] line-clamp-2">{related.excerpt}</p>
</div>
<div className="p-4">
<Badge variant="secondary" className="mb-2 text-xs">{related.category}</Badge>
<h3 className="text-base font-semibold text-[var(--color-text-primary)] mb-1 line-clamp-2 group-hover:text-[var(--color-brand-primary)] transition-colors duration-300">
{related.title}
</h3>
<p className="text-sm text-[var(--color-text-muted)] line-clamp-2 leading-relaxed">{related.excerpt}</p>
</div>
</InkCard>
</StaticLink>
))}
</div>
</div>
)}
{/* Navigation */}
<div className="mt-12 flex justify-center gap-4">
<StaticLink href="/news">
<Button variant="outline" size="lg">
+105 -98
View File
@@ -9,15 +9,16 @@ import { Input } from '@/components/ui/input';
import { Button } from '@/components/ui/button';
import { StaticLink } from '@/components/ui/static-link';
import { LoadingState } from '@/components/ui/loading-state';
import { InkCard } from '@/components/ui/ink-wash';
import { Search, Calendar, ChevronLeft, ChevronRight, ArrowRight, Newspaper } from 'lucide-react';
import { PageNav } from '@/components/layout/page-nav';
const EASE = [0.25, 1, 0.5, 1] as const;
const categories = ['全部', '公司新闻', '研发动态'];
const ITEMS_PER_PAGE = 9;
export default function NewsListPage() {
const shouldReduceMotion = useReducedMotion();
const fadeUp = shouldReduceMotion ? {} : { initial: { opacity: 0, y: 20 } };
const [selectedCategory, setSelectedCategory] = useState('全部');
const [searchQuery, setSearchQuery] = useState('');
const [currentPage, setCurrentPage] = useState(1);
@@ -61,34 +62,40 @@ export default function NewsListPage() {
return (
<div className="min-h-screen bg-[var(--color-bg-primary)]">
<section className="pt-32 pb-16">
<div className="container-wide">
<PageNav items={[{ label: '新闻动态' }]} />
{/* Hero */}
<section className="relative pt-32 pb-12 overflow-hidden">
<div className="container-wide relative z-10">
<motion.div
{...fadeUp}
animate={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
initial={shouldReduceMotion ? {} : { opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.6, ease: EASE }}
className="max-w-3xl"
>
<p className="text-sm font-medium text-[var(--color-brand-primary)] mb-4 tracking-wide uppercase">News</p>
<h1 className="text-4xl md:text-5xl font-bold text-[var(--color-text-primary)] mb-6 tracking-tight">
<div className="inline-flex items-center gap-2 px-3 py-1.5 rounded-full bg-[var(--color-brand-primary-bg)] text-[var(--color-brand-primary)] text-xs font-medium border border-[var(--color-brand-primary)]/10 mb-6">
新闻动态
</div>
<p className="text-base sm:text-lg text-[var(--color-text-muted)] mb-3">
了解行业趋势,把握数字化脉搏
</p>
<h1 className="text-4xl md:text-5xl lg:text-6xl tracking-tight mb-6 leading-[1.12]">
新闻<span className="text-[var(--color-brand-primary)] font-calligraphy">动态</span>
</h1>
<p className="text-lg text-[var(--color-text-muted)] leading-relaxed">
了解{COMPANY_INFO.displayName}最新动态,把握行业发展脉搏
<p className="text-base sm:text-lg text-[var(--color-text-muted)] max-w-lg leading-relaxed">
{COMPANY_INFO.displayName}最新动态、产品更新与行业洞察
</p>
</motion.div>
</div>
</section>
<section className="pb-16">
{/* Filters + List */}
<section className="pb-16 md:pb-24">
<div className="container-wide">
<motion.div
{...fadeUp}
whileInView={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
initial={shouldReduceMotion ? {} : { opacity: 0, y: 16 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5 }}
className="mb-8 space-y-4"
transition={{ duration: 0.5, ease: EASE }}
className="mb-10 space-y-4"
>
<div className="flex flex-wrap gap-2">
{categories.map((category) => (
@@ -128,91 +135,91 @@ export default function NewsListPage() {
) : (
<LoadingState isLoading={isLoading} variant="list">
<>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
{paginatedNews.map((newsItem, index) => (
<motion.div
key={newsItem.id}
{...fadeUp}
whileInView={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5, delay: index * 0.1 }}
>
<StaticLink href={`/news/${newsItem.id}`}>
<div className="group h-full bg-[var(--color-bg-primary)] rounded-xl border border-[var(--color-border)] overflow-hidden hover:border-[var(--color-brand-primary)]/30 hover:shadow-md transition-all duration-300">
{newsItem.image ? (
<div className="aspect-video bg-[var(--color-bg-tertiary)] overflow-hidden">
<img
src={newsItem.image}
alt={newsItem.title}
className="w-full h-full object-cover group-hover:scale-105 transition-transform duration-300"
/>
</div>
) : (
<div className="aspect-video bg-gradient-to-br from-[var(--color-brand-primary-bg)] to-[var(--color-bg-tertiary)] flex items-center justify-center">
<Newspaper className="w-12 h-12 text-[var(--color-brand-primary)]/30" />
</div>
)}
<div className="p-6">
<div className="flex items-center gap-2 mb-3">
<Badge variant="secondary" className="text-xs">{newsItem.category}</Badge>
<div className="flex items-center gap-1 text-xs text-[var(--color-text-muted)]">
<Calendar className="w-3 h-3" />
{newsItem.date}
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8">
{paginatedNews.map((newsItem, index) => (
<motion.div
key={newsItem.id}
initial={shouldReduceMotion ? {} : { opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5, delay: index * 0.08, ease: EASE }}
>
<StaticLink href={`/news/${newsItem.id}`}>
<InkCard padding="none" interactive className="h-full overflow-hidden group">
{newsItem.image ? (
<div className="aspect-video bg-[var(--color-bg-tertiary)] overflow-hidden">
<img
src={newsItem.image}
alt={newsItem.title}
className="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"
/>
</div>
) : (
<div className="aspect-video bg-gradient-to-br from-[var(--color-brand-primary-bg)] to-[var(--color-bg-tertiary)] flex items-center justify-center">
<Newspaper className="w-12 h-12 text-[var(--color-brand-primary)]/30" />
</div>
)}
<div className="p-6">
<div className="flex items-center gap-2 mb-3">
<Badge variant="secondary" className="text-xs">{newsItem.category}</Badge>
<div className="flex items-center gap-1 text-xs text-[var(--color-text-muted)]">
<Calendar className="w-3 h-3" />
{newsItem.date}
</div>
</div>
<h3 className="text-lg font-semibold text-[var(--color-text-primary)] mb-2 line-clamp-2 group-hover:text-[var(--color-brand-primary)] transition-colors duration-300">
{newsItem.title}
</h3>
<p className="text-sm text-[var(--color-text-muted)] line-clamp-3 mb-4 leading-relaxed">
{newsItem.excerpt}
</p>
<div className="flex items-center text-[var(--color-brand-primary)] text-sm font-medium">
阅读更多
<ArrowRight className="ml-1 w-4 h-4 group-hover:translate-x-1 transition-transform duration-300" />
</div>
</div>
<h3 className="text-lg font-semibold text-[var(--color-text-primary)] mb-2 line-clamp-2 group-hover:text-[var(--color-brand-primary)] transition-colors">
{newsItem.title}
</h3>
<p className="text-sm text-[var(--color-text-muted)] line-clamp-3 mb-4">
{newsItem.excerpt}
</p>
<div className="flex items-center text-[var(--color-brand-primary)] text-sm font-medium">
阅读更多
<ArrowRight className="ml-1 w-4 h-4 group-hover:translate-x-1 transition-transform" />
</div>
</div>
</div>
</StaticLink>
</motion.div>
))}
</div>
{totalPages > 1 && (
<div className="flex justify-center items-center gap-2 mt-8">
<Button
variant="outline"
size="icon"
onClick={() => handlePageChange(currentPage - 1)}
disabled={currentPage === 1}
>
<ChevronLeft className="w-4 h-4" />
</Button>
{Array.from({ length: totalPages }, (_, i) => i + 1).map((page) => (
<Button
key={page}
variant={currentPage === page ? 'default' : 'outline'}
size="icon"
onClick={() => handlePageChange(page)}
className={
currentPage === page
? 'bg-[var(--color-brand-primary)] hover:bg-[var(--color-brand-primary-hover)] text-white'
: ''
}
>
{page}
</Button>
</InkCard>
</StaticLink>
</motion.div>
))}
<Button
variant="outline"
size="icon"
onClick={() => handlePageChange(currentPage + 1)}
disabled={currentPage === totalPages}
>
<ChevronRight className="w-4 h-4" />
</Button>
</div>
)}
</>
{totalPages > 1 && (
<div className="flex justify-center items-center gap-2 mt-10">
<Button
variant="outline"
size="icon"
onClick={() => handlePageChange(currentPage - 1)}
disabled={currentPage === 1}
>
<ChevronLeft className="w-4 h-4" />
</Button>
{Array.from({ length: totalPages }, (_, i) => i + 1).map((page) => (
<Button
key={page}
variant={currentPage === page ? 'default' : 'outline'}
size="icon"
onClick={() => handlePageChange(page)}
className={
currentPage === page
? 'bg-[var(--color-brand-primary)] hover:bg-[var(--color-brand-primary-hover)] text-white'
: ''
}
>
{page}
</Button>
))}
<Button
variant="outline"
size="icon"
onClick={() => handlePageChange(currentPage + 1)}
disabled={currentPage === totalPages}
>
<ChevronRight className="w-4 h-4" />
</Button>
</div>
)}
</>
</LoadingState>
)}
</div>
+2 -2
View File
@@ -1,5 +1,5 @@
import { HomeContentV2 } from './home-content-v2';
import { HomeContentV3 } from './home-content-v3';
export default function HomePage() {
return <HomeContentV2 />;
return <HomeContentV3 />;
}
+7 -7
View File
@@ -24,8 +24,8 @@ export async function generateMetadata({ params }: { params: Promise<{ id: strin
}
return {
title: `${product.title} - ${COMPANY_INFO.displayName}`,
description: `${product.description} | 现代东方美学设计`,
title: `${product.title} - 企业数字化解决方案 | ${COMPANY_INFO.displayName}`,
description: `${product.description} | 12年行业深耕,全栈技术能力`,
};
}
@@ -52,7 +52,7 @@ export default async function ProductDetailPage({ params }: { params: Promise<{
subtitle={product.description}
description={product.overview}
primaryAction={{ label: '预约体验', href: '/contact' }}
secondaryAction={{ label: '查看方案', href: '/solutions' }}
secondaryAction={{ label: '查看组合方案', href: '/products' }}
/>
{/* L2 - 价值理性支撑 (V3) */}
@@ -69,10 +69,10 @@ export default async function ProductDetailPage({ params }: { params: Promise<{
{/* L4 - CTA + 交叉推荐 (V2) */}
<DetailCTASectionV2
theme={theme}
title={`探索 ${product.title} 的无限可能`}
description="立即联系我们,获取专属方案和报价"
primaryAction={{ label: '预约体验', href: '/contact' }}
secondaryAction={{ label: '下载产品手册', href: '#' }}
title={`探索 ${product.title} 的更多可能`}
description="联系我们获取专属方案,或查看产品组合了解如何与其他产品协同使用"
primaryAction={{ label: '预约演示', href: '/contact' }}
secondaryAction={{ label: '查看组合方案', href: '/products' }}
/>
<CrossRecommendGrid items={crossRefs} title={`与 ${product.title} 相关的推荐`} />
+181 -135
View File
@@ -1,180 +1,226 @@
'use client';
import { useState, useEffect, useMemo } from 'react';
import { PRODUCTS, PRODUCT_CATEGORIES, type ProductCategory as ProductCategoryType } from '@/lib/constants';
import { motion } from 'framer-motion';
import { CTASection } from '@/components/sections/cta-section';
import { PRODUCTS } from '@/lib/constants/products';
import { NarrativeHero } from '@/components/sections/narrative/NarrativeHero';
import { NarrativeCTA } from '@/components/sections/narrative/NarrativeCTA';
import { InkCard, InkWashBackground } from '@/components/ui/ink-wash';
import { BreadcrumbSchema } from '@/components/seo/structured-data';
import { LoadingState } from '@/components/ui/loading-state';
import { ListPageHeroV3 } from '@/components/detail-v2/list-page-hero-v3';
import { ProductCardV3 } from '@/components/detail-v2/product-card-v3';
import { Package, Lock, Cpu, ArrowRight } from 'lucide-react';
import { useReducedMotion } from '@/hooks/use-reduced-motion';
import { StaticLink } from '@/components/ui/static-link';
import { Package, Cpu, ArrowRight, Lock } from 'lucide-react';
const EASE = [0.25, 1, 0.5, 1] as const;
const enterpriseProducts = PRODUCTS.filter(p => p.categoryId === 'enterprise');
const specializedProducts = PRODUCTS.filter(p => p.categoryId === 'specialized');
/** 产品常见组合推荐 */
const SUITE_COMBOS = [
{ products: ['erp', 'bi'], label: 'ERP + BI 数据驱动组合' },
{ products: ['crm', 'bi'], label: 'CRM + BI 客户洞察组合' },
{ products: ['erp', 'sds'], label: 'ERP + SDS 供应链优化组合' },
{ products: ['cms', 'oa'], label: 'CMS + OA 协同运营组合' },
];
function getProductCombo(productId: string) {
return SUITE_COMBOS.filter(c => c.products.includes(productId));
}
export default function ProductsPage() {
const [isLoading, setIsLoading] = useState(true);
const [activeCategory, setActiveCategory] = useState<string>('all');
useEffect(() => {
const timer = setTimeout(() => setIsLoading(false), 500);
return () => clearTimeout(timer);
}, []);
const filteredProducts = useMemo(() => {
if (activeCategory === 'all') return PRODUCTS;
return PRODUCTS.filter(product => product.categoryId === activeCategory);
}, [activeCategory]);
const shouldReduceMotion = useReducedMotion();
return (
<div className="min-h-screen bg-[var(--color-bg-primary)]">
<BreadcrumbSchema items={[{ name: '首页', href: '/' }, { name: '产品', href: '/products' }]} />
{/* Hero 区域 (V3) */}
<ListPageHeroV3
title="企业软件产品矩阵"
subtitle="从ERP到BI,覆盖企业数字化全场景"
description="六大核心产品互为补充,可根据业务需求灵活组合"
{/* Hero */}
<NarrativeHero
badge={{ text: '自研产品' }}
title="覆盖企业数字化全场景的"
highlight="产品矩阵"
subtitle="从数据智能到业务协同,每一款产品都经过实战验证"
description="6 大核心产品互为补充,常以组合形式出现在行业解决方案中。不确定需要哪些产品?让我们帮您诊断。"
primaryCta={{ label: '预约产品演示', href: '/contact' }}
secondaryCta={{ label: '查看行业方案', href: '/solutions' }}
stats={[
{ value: '6', label: '核心产品' },
{ value: '2', label: '产品分区' },
{ value: '99%', label: '自主可控' },
{ value: '6', label: '产品线' },
{ value: '100%', label: '自研率' },
{ value: '全栈', label: '技术覆盖' },
]}
/>
{/* 双区展示:企业套装 + 专业产品 */}
<section className="pb-16">
<div className="container-wide">
{/* 企业套装区域 */}
{/* 企业套装区 (Hub 核心) */}
<section className="relative section-padding bg-[var(--color-bg-section)] overflow-hidden">
<InkWashBackground variant="subtle" />
<div className="container-wide relative z-10">
<motion.div
initial={{ opacity: 0, y: 20 }}
initial={shouldReduceMotion ? {} : { opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5 }}
className="mb-16"
transition={{ duration: 0.6, ease: EASE }}
className="mb-10"
>
<div className="mb-8 flex items-center gap-3">
<div className="flex h-10 w-10 items-center justify-center rounded-xl bg-blue-50">
<Package className="h-5 w-5 text-blue-600" />
<div className="flex items-center gap-3 mb-4">
<div className="flex h-10 w-10 items-center justify-center rounded-xl bg-[var(--color-brand-primary-bg)]">
<Package className="h-5 w-5 text-[var(--color-brand-primary)]" />
</div>
<div>
<h2 className="text-xl font-bold text-gray-900">企业套装</h2>
<p className="text-sm text-gray-500">6 大核心产品互为补充,覆盖企业数字化全场景</p>
<h2 className="text-2xl font-bold text-[var(--color-text-primary)]">企业套装</h2>
<p className="text-sm text-[var(--color-text-muted)]">6 大核心产品互为补充,覆盖企业数字化全场景</p>
</div>
</div>
<LoadingState isLoading={isLoading} variant="card">
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
{enterpriseProducts.map((product) => (
<ProductCardV3 key={product.id} product={product} />
))}
</div>
</LoadingState>
</motion.div>
{/* 专业产品区域 */}
<motion.div
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5, delay: 0.15 }}
>
<div className="mb-8 flex items-center gap-3">
<div className="flex h-10 w-10 items-center justify-center rounded-xl bg-orange-50">
<Cpu className="h-5 w-5 text-orange-600" />
</div>
<div>
<h2 className="text-xl font-bold text-gray-900">专业产品</h2>
<p className="text-sm text-gray-500">自成体系的独立产品线</p>
</div>
</div>
{specializedProducts.length > 0 ? (
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
{specializedProducts.map((product) => (
<ProductCardV3 key={product.id} product={product} />
))}
</div>
) : (
<div className="rounded-2xl border-2 border-dashed border-gray-200 bg-gray-50/50 p-12 text-center">
<Lock className="mx-auto mb-4 h-12 w-12 text-gray-300" />
<h3 className="mb-2 text-lg font-semibold text-gray-700">独立产品即将上线</h3>
<p className="mb-6 max-w-md mx-auto text-sm text-gray-500">
安全产品、特种行业软件、硬件产品等独立产品线正在规划中,
敬请期待。如有需求可提前联系我们。
</p>
<a
href="/contact"
className="inline-flex items-center gap-2 rounded-lg bg-[#C41E3A] px-6 py-3 text-sm font-semibold text-white shadow-lg transition-all hover:bg-[#a01829] hover:shadow-xl"
>
联系我们了解详情
<ArrowRight className="h-4 w-4" />
</a>
</div>
)}
</motion.div>
</div>
</section>
{/* 分类标签导航(保留作为辅助筛选) */}
<section className="border-t border-gray-100 bg-gray-50/50 py-12">
<div className="container-wide">
<h3 className="mb-6 text-center text-lg font-semibold text-gray-900">按分类浏览</h3>
<div className="flex flex-wrap justify-center gap-2">
<button
onClick={() => setActiveCategory('all')}
className={`px-5 py-2.5 text-sm font-medium rounded-full transition-all ${
activeCategory === 'all'
? 'bg-[#C41E3A] text-white shadow-md'
: 'bg-white text-gray-600 border border-gray-200 hover:border-gray-300'
}`}
>
全部 ({PRODUCTS.length})
</button>
{PRODUCT_CATEGORIES.map((category: ProductCategoryType) => {
const count = PRODUCTS.filter(p => p.categoryId === category.id).length;
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8">
{enterpriseProducts.map((product, idx) => {
const combos = getProductCombo(product.id);
return (
<button
key={category.id}
onClick={() => setActiveCategory(category.id)}
className={`px-5 py-2.5 text-sm font-medium rounded-full transition-all ${
activeCategory === category.id
? 'bg-[#C41E3A] text-white shadow-md'
: 'bg-white text-gray-600 border border-gray-200 hover:border-gray-300'
}`}
<motion.div
key={product.id}
initial={shouldReduceMotion ? {} : { opacity: 0, y: 24 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: '-40px' }}
transition={{ duration: 0.5, delay: idx * 0.06, ease: EASE }}
>
{category.title} ({count})
</button>
<InkCard padding="md" href={`/products/${product.id}`} className="group h-full flex flex-col">
<div className="flex items-center gap-2 mb-3">
<span className="px-2 py-0.5 rounded text-[10px] font-medium bg-[var(--color-brand-primary-bg)] text-[var(--color-brand-primary)]">
{product.status}
</span>
{product.tags.slice(0, 2).map(tag => (
<span key={tag} className="px-2 py-0.5 rounded text-[10px] bg-[var(--color-bg-section)] text-[var(--color-text-subtle)] border border-[var(--color-border-primary)]">
{tag}
</span>
))}
</div>
<h3 className="text-base font-semibold text-[var(--color-text-primary)] mb-2 group-hover:text-[var(--color-brand-primary)] transition-colors">
{product.title}
</h3>
<p className="text-sm text-[var(--color-text-muted)] leading-relaxed mb-4 flex-1">
{product.description}
</p>
{/* 常见组合标签 */}
{combos.length > 0 && (
<div className="pt-3 border-t border-[var(--color-border-primary)]">
<p className="text-[10px] text-[var(--color-text-subtle)] mb-1.5">常见组合</p>
<div className="flex flex-wrap gap-1">
{combos.map(c => (
<span key={c.label} className="px-2 py-0.5 rounded text-[10px] text-[var(--color-brand-primary)] bg-[var(--color-brand-primary-bg)] font-medium">
{c.label}
</span>
))}
</div>
</div>
)}
</InkCard>
</motion.div>
);
})}
</div>
</div>
</section>
{activeCategory !== 'all' && filteredProducts.length > 0 && (
<motion.div
initial={{ opacity: 0, y: 10 }}
animate={{ opacity: 1, y: 0 }}
className="mt-8"
>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
{filteredProducts.map((product) => (
<ProductCardV3 key={product.id} product={product} />
))}
{/* 专业产品区 (Independent) */}
<section className="relative section-padding bg-[var(--color-bg-primary)] overflow-hidden">
<InkWashBackground variant="subtle" />
<div className="container-wide relative z-10">
<motion.div
initial={shouldReduceMotion ? {} : { opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.6, ease: EASE }}
className="mb-10"
>
<div className="flex items-center gap-3 mb-4">
<div className="flex h-10 w-10 items-center justify-center rounded-xl bg-[var(--color-bg-section)]">
<Cpu className="h-5 w-5 text-[var(--color-text-muted)]" />
</div>
</motion.div>
<div>
<h2 className="text-2xl font-bold text-[var(--color-text-primary)]">专业产品</h2>
<p className="text-sm text-[var(--color-text-muted)]">自成体系的独立产品线,面向特种场景</p>
</div>
</div>
</motion.div>
{specializedProducts.length > 0 ? (
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8">
{specializedProducts.map((product, idx) => (
<motion.div
key={product.id}
initial={shouldReduceMotion ? {} : { opacity: 0, y: 24 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5, delay: idx * 0.06, ease: EASE }}
>
<InkCard padding="md" href={`/products/${product.id}`} className="group h-full flex flex-col">
<div className="flex items-center gap-2 mb-3">
<span className="px-2 py-0.5 rounded text-[10px] font-medium bg-[var(--color-brand-primary-bg)] text-[var(--color-brand-primary)]">
{product.status}
</span>
{product.tags.slice(0, 3).map(tag => (
<span key={tag} className="px-2 py-0.5 rounded text-[10px] bg-[var(--color-bg-section)] text-[var(--color-text-subtle)] border border-[var(--color-border-primary)]">
{tag}
</span>
))}
</div>
<h3 className="text-base font-semibold text-[var(--color-text-primary)] mb-2 group-hover:text-[var(--color-brand-primary)] transition-colors">
{product.title}
</h3>
<p className="text-sm text-[var(--color-text-muted)] leading-relaxed flex-1">
{product.description}
</p>
</InkCard>
</motion.div>
))}
</div>
) : (
<div className="rounded-2xl border-2 border-dashed border-[var(--color-border-primary)] bg-[var(--color-bg-section)] p-12 text-center">
<Lock className="mx-auto mb-4 h-12 w-12 text-[var(--color-text-subtle)]" />
<h3 className="mb-2 text-lg font-semibold text-[var(--color-text-primary)]">独立产品即将上线</h3>
<p className="mb-6 max-w-md mx-auto text-sm text-[var(--color-text-muted)]">
安全产品、特种行业软件、硬件产品等独立产品线正在规划中,敬请期待。
</p>
<StaticLink
href="/contact"
className="inline-flex items-center gap-2 rounded-lg bg-[var(--color-brand-primary)] px-6 py-3 text-sm font-semibold text-white shadow-lg transition-all hover:bg-[var(--color-brand-primary-hover)]"
>
联系我们了解详情
<ArrowRight className="h-4 w-4" />
</StaticLink>
</div>
)}
</div>
</section>
<CTASection
title="期待与您共同打磨产品"
description="我们的产品正在研发中,如果您对产品方向有建议或希望参与早期体验,欢迎联系我们"
primaryLabel="预约体验"
{/* 套装→方案关联 */}
<section className="relative py-16 md:py-20 bg-[var(--color-bg-section)]">
<div className="container-wide text-center">
<h3 className="text-xl font-semibold text-[var(--color-text-primary)] mb-3">
这些产品如何组合?
</h3>
<p className="text-sm text-[var(--color-text-muted)] mb-6 max-w-lg mx-auto">
查看我们的行业解决方案,了解产品组合如何为不同行业创造价值
</p>
<StaticLink
href="/solutions"
className="inline-flex items-center gap-2 text-sm font-medium text-[var(--color-brand-primary)] hover:text-[var(--color-brand-primary-hover)] transition-colors group"
>
浏览行业解决方案
<ArrowRight className="w-4 h-4 group-hover:translate-x-1 transition-transform" />
</StaticLink>
</div>
</section>
{/* CTA */}
<NarrativeCTA
title="不确定需要哪些产品?"
description="告诉我们您的业务场景和痛点,我们帮您诊断并推荐最适合的产品组合。首次咨询免费。"
primaryLabel="预约产品诊断"
primaryHref="/contact"
secondaryLabel="了解方案"
secondaryLabel="查看全部方案"
secondaryHref="/solutions"
/>
</div>
);
}
@@ -1,6 +1,7 @@
import { Metadata } from 'next';
import { notFound } from 'next/navigation';
import { STANDALONE_PRODUCTS } from '@/lib/constants/standalone-products';
import { COMPANY_INFO } from '@/lib/constants';
import { StandaloneProductClient } from './client';
export async function generateStaticParams() {
@@ -20,7 +21,7 @@ export async function generateMetadata({ params }: { params: Promise<{ id: strin
}
return {
title: `${product.title} - ${process.env.NEXT_PUBLIC_COMPANY_NAME || 'Novalon'}`,
title: `${product.title} - 专业产品 | ${COMPANY_INFO.displayName}`,
description: product.description,
};
}
+1 -1
View File
@@ -20,7 +20,7 @@ export async function generateMetadata({ params }: { params: Promise<{ id: strin
}
return {
title: `${service.title} - ${COMPANY_INFO.displayName}`,
title: `${service.title}服务 - 专业团队全程陪跑 | ${COMPANY_INFO.displayName}`,
description: service.description,
};
}
+206 -83
View File
@@ -1,110 +1,233 @@
'use client';
import { useState, useEffect } from 'react';
import { SERVICES } from '@/lib/constants';
import { StaticLink } from '@/components/ui/static-link';
import { Button } from '@/components/ui/button';
import { ArrowRight } from 'lucide-react';
import { NarrativeHero } from '@/components/sections/narrative/NarrativeHero';
import { NarrativeValue } from '@/components/sections/narrative/NarrativeValue';
import { NarrativeCTA } from '@/components/sections/narrative/NarrativeCTA';
import { InkCard } from '@/components/ui/ink-wash';
import { motion } from 'framer-motion';
import { useReducedMotion } from '@/hooks/use-reduced-motion';
import { LoadingState } from '@/components/ui/loading-state';
import { ListPageHeroV3 } from '@/components/detail-v2/list-page-hero-v3';
import { ServiceCardV3 } from '@/components/detail-v2/solution-service-card-v3';
import {
Code,
BarChart3,
Lightbulb,
Puzzle,
ClipboardList,
PencilRuler,
Rocket,
HeartHandshake,
Briefcase,
RefreshCcw,
Handshake,
} from 'lucide-react';
import type { ValuePoint } from '@/components/sections/narrative/NarrativeValue';
const EASE = [0.25, 1, 0.5, 1] as const;
const SERVICE_MATRIX: ValuePoint[] = [
{
icon: Code,
title: '软件开发',
description: '从需求分析到上线运维,提供全栈定制化开发。企业管理系统、Web/移动应用、数据中台——用扎实的工程能力交付高质量软件。',
stat: '95%',
statLabel: '准时交付率',
},
{
icon: BarChart3,
title: '数据分析',
description: '多源数据整合、可视化看板、预测模型——让数据从"存着"变成"用着",为经营决策提供可量化的洞察支撑。',
stat: '100+',
statLabel: '分析模型',
},
{
icon: Lightbulb,
title: '技术咨询',
description: 'IT 战略规划、技术选型评估、数字化转型路线图——帮您理清方向,规避技术风险,减少试错成本。',
stat: '90%',
statLabel: '方案落地率',
},
{
icon: Puzzle,
title: '方案实施',
description: '深耕制造、零售、金融、医疗等行业,提供从咨询到落地的端到端交付,确保方案不只是 PPT。',
stat: '30+',
statLabel: '行业方案',
},
];
const SERVICE_PROCESS = [
{ icon: ClipboardList, step: '01', title: '需求分析', desc: '深入了解业务场景与真实痛点,而非凭空假设' },
{ icon: PencilRuler, step: '02', title: '方案设计', desc: '量身定制技术路线,拒绝千篇一律的模板' },
{ icon: Rocket, step: '03', title: '敏捷交付', desc: '快速迭代,每个冲刺周期都有可交付成果' },
{ icon: HeartHandshake, step: '04', title: '持续支持', desc: '上线不是终点,长期陪伴才是真正的承诺' },
];
const SERVICE_MODES = [
{
icon: Briefcase,
title: '项目制',
description: '针对明确的需求和交付目标,以项目为单位进行合作。适合有清晰边界的一次性建设类项目。',
highlight: '固定范围 · 固定周期',
},
{
icon: RefreshCcw,
title: '订阅制',
description: '按月或按年持续提供技术支持和迭代优化。适合需要长期维护、持续演进的产品和系统。',
highlight: '持续迭代 · 弹性调整',
},
{
icon: Handshake,
title: '长期陪跑',
description: '以合作伙伴身份深度参与您的数字化进程,从规划到执行全程陪伴。适合正在系统性转型的企业。',
highlight: '深度参与 · 共同成长',
},
];
export default function ServicesPage() {
const shouldReduceMotion = useReducedMotion();
const fadeUp = shouldReduceMotion ? {} : { initial: { opacity: 0, y: 20 } };
const [isLoading, setIsLoading] = useState(true);
useEffect(() => {
const timer = setTimeout(() => setIsLoading(false), 500);
return () => clearTimeout(timer);
}, []);
return (
<div className="min-h-screen bg-[var(--color-bg-primary)]">
{/* Hero 区域 (V3) */}
<ListPageHeroV3
title="专业服务"
subtitle="从咨询规划到落地实施,全生命周期数字化支持"
description="提供咨询、开发、数据、解决方案等全方位服务"
{/* Layer 1: Hero */}
<NarrativeHero
badge={{ text: '专业服务', variant: 'green' }}
title="从规划到运维的"
highlight="全程陪伴"
subtitle="不只是技术供应商,更是您数字化转型的同行者"
description="12 年行业深耕,我们深知每个项目背后都是真实的业务诉求。从第一次沟通到系统稳定运行,我们始终在您身边。"
primaryCta={{ label: '聊聊您的需求', href: '/contact' }}
secondaryCta={{ label: '查看产品矩阵', href: '/products' }}
stats={[
{ value: '4', label: '服务类型' },
{ value: '7×24', label: '响应时间' },
{ value: '100%', label: '客户满意' },
{ value: '4 大', label: '服务领域' },
{ value: '3 种', label: '合作模式' },
{ value: '全流程', label: '服务保障' },
]}
/>
<section className="pb-16">
<div className="container-wide">
<LoadingState isLoading={isLoading} variant="card">
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
{SERVICES.map((service) => (
<ServiceCardV3 key={service.id} service={service} />
))}
</div>
</LoadingState>
</div>
</section>
{/* Layer 2: Service Matrix */}
<NarrativeValue
badge="服务能力"
title="四大核心服务"
highlight="领域"
subtitle="覆盖企业数字化全生命周期的专业能力"
points={SERVICE_MATRIX}
columns={4}
bgVariant="section"
/>
{/* 服务流程概览 */}
<section className="bg-gray-50/50 py-16">
<div className="container-wide">
<motion.h2
{...fadeUp}
whileInView={{ opacity: 1 }}
viewport={{ once: true }}
className="mb-10 max-w-2xl text-center text-2xl font-bold text-gray-900 lg:text-3xl"
{/* Service Process */}
<section className="section-padding bg-[var(--color-bg-primary)] relative overflow-hidden">
<div className="container-wide relative z-10">
<motion.div
initial={shouldReduceMotion ? {} : { opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: '-100px' }}
transition={{ duration: 0.6, ease: EASE }}
className="mb-14"
>
我们的服务流程
</motion.h2>
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-[var(--color-brand-primary-bg)] border border-[var(--color-brand-primary)]/10 mb-4">
<span className="w-1.5 h-1.5 rounded-full bg-[var(--color-brand-primary)]" />
<span className="text-xs font-medium tracking-wider text-[var(--color-brand-primary)]">服务流程</span>
</div>
<h2 className="text-3xl sm:text-4xl font-semibold text-[var(--color-text-primary)] mb-4">
我们的<span className="text-[var(--color-brand-primary)] font-calligraphy ml-1">做事方式</span>
</h2>
<p className="text-base text-[var(--color-text-muted)] max-w-2xl">
没有复杂的流程,只有清晰的四步:听懂需求、想好方案、快速交付、长期陪伴。
</p>
</motion.div>
<div className="mx-auto grid max-w-4xl grid-cols-1 gap-8 md:grid-cols-4">
{[
{ step: '01', title: '需求分析', desc: '深入了解业务场景与痛点' },
{ step: '02', title: '方案设计', desc: '量身定制技术解决方案' },
{ step: '03', title: '敏捷交付', desc: '快速迭代,持续优化' },
{ step: '04', title: '持续支持', desc: '长期陪伴,随时响应' },
].map((item, index) => (
<motion.div
key={item.step}
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.4, delay: index * 0.1 }}
className="text-center"
>
<div className="mx-auto mb-4 flex h-14 w-14 items-center justify-center rounded-full bg-[#C41E3A] text-lg font-bold text-white shadow-md">
{item.step}
</div>
<h3 className="mb-2 text-base font-semibold text-gray-900">{item.title}</h3>
<p className="text-sm text-gray-500">{item.desc}</p>
</motion.div>
))}
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
{SERVICE_PROCESS.map((item, index) => {
const Icon = item.icon;
return (
<motion.div
key={item.step}
initial={shouldReduceMotion ? {} : { opacity: 0, y: 24 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: '-60px' }}
transition={{ duration: 0.5, delay: index * 0.1, ease: EASE }}
className="relative"
>
{/* Connector line */}
{index < SERVICE_PROCESS.length - 1 && (
<div className="hidden lg:block absolute top-10 left-[calc(50%+2rem)] w-[calc(100%-2rem)] h-px bg-[var(--color-border-primary)]" />
)}
<div className="text-center">
<div className="mx-auto mb-5 w-20 h-20 rounded-2xl bg-[var(--color-bg-section)] border border-[var(--color-border-primary)] flex items-center justify-center relative">
<Icon className="w-8 h-8 text-[var(--color-text-primary)]" strokeWidth={1.5} />
<span className="absolute -top-2 -right-2 w-7 h-7 rounded-full bg-[var(--color-brand-primary)] text-white text-xs font-bold flex items-center justify-center">
{item.step}
</span>
</div>
<h3 className="text-base font-semibold text-[var(--color-text-primary)] mb-2">{item.title}</h3>
<p className="text-sm text-[var(--color-text-muted)] leading-relaxed max-w-[200px] mx-auto">{item.desc}</p>
</div>
</motion.div>
);
})}
</div>
</div>
</section>
<section className="py-20">
<div className="container-wide text-center">
<h2 className="text-3xl font-bold text-[var(--color-text-primary)] mb-6">
准备开始您的数字化转型之旅?
</h2>
<p className="text-lg text-[var(--color-text-muted)] mb-8 max-w-2xl mx-auto">
让我们与您同行,共创美好未来
</p>
<Button
size="lg"
className="bg-[var(--color-brand-primary)] hover:bg-[var(--color-brand-primary-hover)] text-white"
asChild
{/* Service Modes */}
<section className="section-padding bg-[var(--color-bg-section)] relative overflow-hidden">
<div className="container-wide relative z-10">
<motion.div
initial={shouldReduceMotion ? {} : { opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: '-100px' }}
transition={{ duration: 0.6, ease: EASE }}
className="mb-14"
>
<StaticLink href="/contact">
获取服务报价
<ArrowRight className="ml-2 w-4 h-4" />
</StaticLink>
</Button>
<div className="inline-flex items-center gap-2 px-4 py-1.5 rounded-full bg-[var(--color-brand-primary-bg)] border border-[var(--color-brand-primary)]/10 mb-4">
<span className="w-1.5 h-1.5 rounded-full bg-[var(--color-brand-primary)]" />
<span className="text-xs font-medium tracking-wider text-[var(--color-brand-primary)]">合作模式</span>
</div>
<h2 className="text-3xl sm:text-4xl font-semibold text-[var(--color-text-primary)] mb-4">
灵活的<span className="text-[var(--color-brand-primary)] font-calligraphy ml-1">合作方式</span>
</h2>
<p className="text-base text-[var(--color-text-muted)] max-w-2xl">
不同企业有不同节奏,我们提供三种合作模式,找到最适合您的那一种。
</p>
</motion.div>
<div className="grid grid-cols-1 md:grid-cols-3 gap-8">
{SERVICE_MODES.map((mode, idx) => {
const Icon = mode.icon;
return (
<motion.div
key={mode.title}
initial={shouldReduceMotion ? {} : { opacity: 0, y: 24 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: '-60px' }}
transition={{ duration: 0.5, delay: idx * 0.1, ease: EASE }}
>
<InkCard padding="lg" className="h-full">
<div className="w-12 h-12 rounded-xl bg-[var(--color-brand-primary-bg)] flex items-center justify-center mb-5">
<Icon className="w-6 h-6 text-[var(--color-brand-primary)]" strokeWidth={1.8} />
</div>
<h3 className="text-lg font-semibold text-[var(--color-text-primary)] mb-2">{mode.title}</h3>
<p className="text-sm text-[var(--color-text-muted)] leading-relaxed mb-4">{mode.description}</p>
<div className="inline-flex items-center px-3 py-1 rounded-full bg-[var(--color-bg-section)] border border-[var(--color-border-primary)]">
<span className="text-xs font-medium text-[var(--color-text-secondary)]">{mode.highlight}</span>
</div>
</InkCard>
</motion.div>
);
})}
</div>
</div>
</section>
{/* Layer 4: CTA */}
<NarrativeCTA
title="聊聊您的需求"
description="无论是一个明确的项目,还是一个模糊的想法,我们都愿意坐下来和您一起理清楚。首次咨询免费,没有任何销售压力。"
primaryLabel="预约免费咨询"
primaryHref="/contact"
secondaryLabel="了解我们的团队"
secondaryHref="/team"
/>
</div>
);
}
+1 -1
View File
@@ -19,7 +19,7 @@ export async function generateMetadata({ params }: { params: Promise<{ id: strin
}
return {
title: `${solution.title} - ${COMPANY_INFO.displayName}`,
title: `${solution.title}解决方案 - 行业深耕端到端交付 | ${COMPANY_INFO.displayName}`,
description: solution.description,
};
}
+71 -86
View File
@@ -1,118 +1,103 @@
'use client';
import { motion } from 'framer-motion';
import { useReducedMotion } from '@/hooks/use-reduced-motion';
import { StaticLink } from '@/components/ui/static-link';
import {
Lightbulb,
Cpu,
Users,
} from 'lucide-react';
import { MethodologySection } from '@/components/sections/methodology-section';
import { CTASection } from '@/components/sections/cta-section';
import { NarrativeHero } from '@/components/sections/narrative/NarrativeHero';
import { NarrativeCTA } from '@/components/sections/narrative/NarrativeCTA';
import { InkCard, InkWashBackground } from '@/components/ui/ink-wash';
import { BreadcrumbSchema } from '@/components/seo/structured-data';
import { SwipeNavigation } from '@/hooks/use-swipe-gesture';
import { ListPageHeroV3 } from '@/components/detail-v2/list-page-hero-v3';
import { SolutionCardV3 } from '@/components/detail-v2/solution-service-card-v3';
import { useReducedMotion } from '@/hooks/use-reduced-motion';
import { SOLUTIONS } from '@/lib/constants/solutions';
import { PRODUCTS } from '@/lib/constants/products';
const EASE = [0.25, 1, 0.5, 1] as const;
export default function SolutionsPage() {
const shouldReduceMotion = useReducedMotion();
const fadeUp = shouldReduceMotion ? {} : { initial: { opacity: 0, y: 20 } };
return (
<div className="min-h-screen bg-[var(--color-bg-primary)]">
<BreadcrumbSchema items={[{ name: '首页', href: '/' }, { name: '解决方案', href: '/solutions' }]} />
<SwipeNavigation
prevRoute="/products"
nextRoute="/services"
prevLabel="产品方案"
nextLabel="服务支持"
/>
{/* Hero 区域 (V3) */}
<ListPageHeroV3
title="行业解决方案"
subtitle="针对不同行业的核心痛点,提供端到端数字化路径"
description="基于企业套装产品的行业化组合方案"
{/* Hero */}
<NarrativeHero
badge={{ text: '行业方案' }}
title="深耕行业场景的"
highlight="解决方案"
subtitle="端到端交付,推荐套装组合 + 配套服务包"
description="基于自研产品矩阵,为制造业、零售业、教育、医疗等行业量身定制最佳实践。每个方案都明确推荐产品组合和服务包。"
primaryCta={{ label: '立即咨询', href: '/contact' }}
secondaryCta={{ label: '浏览产品', href: '/products' }}
stats={[
{ value: '4', label: '行业方案' },
{ value: '6+', label: '核心产品' },
{ value: '100%', label: '自主可控' },
{ value: '4+', label: '行业覆盖' },
{ value: '端到端', label: '交付模式' },
{ value: '定制化', label: '方案特点' },
]}
/>
{/* 行业解决方案网格 */}
<section className="pb-16">
<div className="container-wide">
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
{SOLUTIONS.map((solution) => (
<SolutionCardV3 key={solution.id} solution={solution} />
))}
</div>
</div>
</section>
{/* 方案→服务关联推荐 */}
<section className="py-16">
<div className="container-wide">
<motion.div
{...fadeUp}
whileInView={{ opacity: 1 }}
viewport={{ once: true }}
className="text-center mb-10"
>
<h2 className="text-2xl font-bold text-gray-900 lg:text-3xl mb-3">
从方案到落地,全程陪伴
</h2>
<p className="text-gray-600 max-w-2xl mx-auto">
我们不仅提供行业解决方案,更通过专业服务确保方案真正落地见效
</p>
</motion.div>
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 max-w-4xl mx-auto">
{[
{ icon: Lightbulb, title: '数字化转型咨询', desc: '帮您看清前路,迈对第一步', href: '/services', bgColor: 'rgba(196,30,58,0.06)', color: '#C41E3A' },
{ icon: Cpu, title: '信息技术解决方案', desc: '让技术真正为业务服务', href: '/products', bgColor: 'rgba(37,99,235,0.06)', color: '#2563eb' },
{ icon: Users, title: '长期陪跑服务', desc: '从需求到落地,持续陪伴', href: '/services', bgColor: 'rgba(22,163,74,0.06)', color: '#16a34a' },
].map((item, i) => (
{/* 行业解决方案 */}
<section className="relative section-padding bg-[var(--color-bg-section)] overflow-hidden">
<InkWashBackground variant="subtle" />
<div className="container-wide relative z-10">
<div className="grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-8">
{SOLUTIONS.map((solution, idx) => (
<motion.div
key={i}
initial={{ opacity: 0, y: 20 }}
key={solution.id}
initial={shouldReduceMotion ? {} : { opacity: 0, y: 24 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ delay: i * 0.1 }}
viewport={{ once: true, margin: '-40px' }}
transition={{ duration: 0.5, delay: idx * 0.08, ease: EASE }}
>
<StaticLink
href={item.href}
className="block p-6 rounded-xl bg-white border border-gray-100 hover:border-gray-200 hover:shadow-md transition-all group"
>
<div
className="w-10 h-10 rounded-lg flex items-center justify-center mb-4"
style={{ backgroundColor: item.bgColor }}
>
<item.icon className="w-5 h-5" style={{ color: item.color }} />
<InkCard padding="lg" href={`/solutions/${solution.id}`} className="group h-full flex flex-col">
{/* Industry badge */}
<div className="flex items-center gap-2 mb-4">
<span className="px-2.5 py-1 rounded text-xs font-medium bg-[var(--color-brand-primary-bg)] text-[var(--color-brand-primary)]">
{solution.industry}
</span>
<span className="text-xs text-[var(--color-text-subtle)]">{solution.subtitle}</span>
</div>
<h3 className="font-semibold text-gray-900 mb-1 group-hover:text-[#C41E3A] transition-colors">
{item.title}
<h3 className="text-xl font-semibold text-[var(--color-text-primary)] mb-2 group-hover:text-[var(--color-brand-primary)] transition-colors">
{solution.title}
</h3>
<p className="text-sm text-gray-500">{item.desc}</p>
</StaticLink>
<p className="text-sm text-[var(--color-text-muted)] leading-relaxed mb-5 flex-1">
{solution.description}
</p>
{/* 推荐产品组合 */}
<div className="pt-4 border-t border-[var(--color-border-primary)]">
<p className="text-[10px] text-[var(--color-text-subtle)] mb-2 uppercase tracking-wider">推荐产品组合</p>
<div className="flex flex-wrap gap-1.5 mb-3">
{solution.suiteCombination.primaryProducts.map(pid => {
const prod = PRODUCTS.find(p => p.id === pid);
return prod ? (
<span key={pid} className="px-2.5 py-1 rounded text-xs bg-[var(--color-bg-primary)] text-[var(--color-text-primary)] border border-[var(--color-border-primary)] font-medium">
{prod.title.replace('睿新', '').replace('睿视 ', '')}
</span>
) : null;
})}
<span className="px-2.5 py-1 rounded text-xs text-[var(--color-brand-primary)] bg-[var(--color-brand-primary-bg)] font-medium">
+ 配套服务
</span>
</div>
<p className="text-xs text-[var(--color-text-muted)] leading-relaxed">
{solution.suiteCombination.rationale}
</p>
</div>
</InkCard>
</motion.div>
))}
</div>
</div>
</section>
<MethodologySection />
<CTASection
title="准备开始您的数字化转型之旅?"
description="无论您处于哪个阶段,我们都能为您提供合适的解决方案"
primaryLabel="立即咨询"
{/* CTA */}
<NarrativeCTA
title="告诉我们您的行业场景"
description="无论您处于哪个行业、哪个数字化阶段,我们都能为您推荐最合适的产品组合和服务包。"
primaryLabel="获取定制方案"
primaryHref="/contact"
secondaryLabel="联系我们"
secondaryHref="/contact"
secondaryLabel="浏览产品"
secondaryHref="/products"
/>
</div>
);
+106 -94
View File
@@ -1,76 +1,117 @@
'use client';
import { NarrativeHero } from '@/components/sections/narrative/NarrativeHero';
import { NarrativeValue } from '@/components/sections/narrative/NarrativeValue';
import { NarrativeCTA } from '@/components/sections/narrative/NarrativeCTA';
import { InkCard } from '@/components/ui/ink-wash';
import { motion } from 'framer-motion';
import { useReducedMotion } from '@/hooks/use-reduced-motion';
import { StaticLink } from '@/components/ui/static-link';
import { Button } from '@/components/ui/button';
import { Shield, Building2, Users, Code, Target, ArrowRight } from 'lucide-react';
import { PageNav } from '@/components/layout/page-nav';
import {
Shield,
Building2,
Users,
Code,
Target,
BookOpen,
Layers,
Sparkles,
} from 'lucide-react';
import type { ValuePoint } from '@/components/sections/narrative/NarrativeValue';
const TEAM_PILLARS = [
const EASE = [0.25, 1, 0.5, 1] as const;
const TEAM_STRENGTHS: ValuePoint[] = [
{
icon: Shield,
title: '12年+ 行业深耕',
description: '核心团队长期从事技术咨询、企业数字化等领域,服务覆盖金融、制造、零售、政务、农业等多个行业,积累了丰富的跨行业经验和最佳实践。',
title: '12 年+ 行业深耕',
description: '核心团队长期从事技术咨询、企业数字化等领域,服务覆盖金融、制造、零售、政务、农业等多个行业。',
stat: '12+',
statLabel: '年',
},
{
icon: Building2,
title: '大型 IT 企业背景',
description: '开发团队成员来自多个大型传统 IT 企业,具备扎实的工程能力、规范化的交付流程和严格的质量意识,确保每一个项目都经得起考验。',
description: '开发团队成员来自多个大型传统 IT 企业,具备扎实的工程能力、规范化的交付流程和严格的质量意识。',
},
{
icon: Users,
title: '复合型技术团队',
description: '我们的团队成员既懂技术又懂业务,能够深入理解客户的真实场景和痛点,提供真正可落地的解决方案,而非纸上谈兵。',
description: '既懂技术又懂业务,能够深入理解客户的真实场景和痛点,提供真正可落地的解决方案。',
},
{
icon: Code,
title: '全栈技术能力',
description: '团队掌握从前端到后端、从云原生到数据智能、从移动端到物联网的全栈技术能力,能够应对各种复杂的技术挑战。',
description: '从前端到后端、从云原生到数据智能、从移动端到物联网——应对各种复杂技术挑战。',
},
{
icon: Target,
title: '结果导向交付',
description: '我们不以"项目上线"为终点,而是以"客户业务是否真正改善"为衡量标准。每一个交付成果,都追求可量化的业务价值。',
description: '不以"项目上线"为终点,以"客户业务是否真正改善"为衡量标准。每一个交付成果都追求可量化的业务价值。',
},
];
const TEAM_CULTURE = [
{
icon: Layers,
title: '扁平化协作',
description: '没有冗长的汇报链条,每个人都有机会直接参与决策。信息透明,沟通高效。',
},
{
icon: BookOpen,
title: '持续学习',
description: '技术日新月异,我们保持对新技术的好奇。内部分享、技术沙龙、外部培训——学习是日常的一部分。',
},
{
icon: Sparkles,
title: '客户成功',
description: '我们的成就感来自客户的成功。客户的业务增长,就是我们最好的成绩单。',
},
];
export function TeamClient() {
const shouldReduceMotion = useReducedMotion();
const fadeUp = shouldReduceMotion ? {} : { initial: { opacity: 0, y: 20 } };
return (
<div className="min-h-screen bg-[var(--color-bg-primary)]">
<section className="pt-32 pb-16">
<div className="container-wide">
<PageNav items={[{ label: '核心团队' }]} />
<motion.div
{...fadeUp}
animate={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
transition={{ duration: 0.5 }}
className="max-w-3xl"
>
<p className="text-sm font-medium text-[var(--color-brand-primary)] mb-4 tracking-wide uppercase">Team</p>
<h1 className="text-4xl md:text-5xl font-bold text-[var(--color-text-primary)] mb-6 tracking-tight">
核心团队
</h1>
<p className="text-lg text-[var(--color-text-muted)] leading-relaxed">
核心团队从事技术咨询、企业数字化等行业 12 年+,开发团队成员来自于多个大型传统 IT 企业
</p>
</motion.div>
</div>
</section>
{/* Layer 1: Hero */}
<NarrativeHero
badge={{ text: '核心团队', variant: 'purple' }}
title="既懂技术又懂业务的"
highlight="复合型团队"
subtitle="12 年行业深耕,大厂背景,全栈能力"
description="我们的成员不只是写代码的工程师——我们是能理解您业务场景、能和您一起想清楚问题的合作伙伴。"
primaryCta={{ label: '与我们交流', href: '/contact' }}
secondaryCta={{ label: '了解公司', href: '/about' }}
stats={[
{ value: '12+', label: '年行业经验' },
{ value: '10+', label: '核心成员' },
{ value: '5+', label: '行业覆盖' },
]}
/>
<section className="pb-16">
<div className="container-wide">
<div className="max-w-5xl mx-auto space-y-8">
<motion.div
{...fadeUp}
whileInView={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5 }}
className="p-8 rounded-xl border border-[var(--color-border-primary)]"
>
<h2 className="text-2xl font-bold text-[var(--color-text-primary)] mb-6 text-center">关于我们的团队</h2>
{/* Layer 2: Team Strengths */}
<NarrativeValue
badge="团队优势"
title="我们的底气"
highlight="从何而来"
subtitle="不是自吹自擂,而是多年实战积累的真实能力"
points={TEAM_STRENGTHS}
columns={3}
bgVariant="section"
/>
{/* Team About Section */}
<section className="section-padding bg-[var(--color-bg-primary)] relative overflow-hidden">
<div className="container-wide relative z-10">
<motion.div
initial={shouldReduceMotion ? {} : { opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: '-100px' }}
transition={{ duration: 0.6, ease: EASE }}
className="max-w-4xl mx-auto"
>
<InkCard padding="lg">
<h2 className="text-2xl font-semibold text-[var(--color-text-primary)] mb-6 text-center">关于我们的团队</h2>
<div className="space-y-4 max-w-3xl mx-auto text-center">
<p className="text-[var(--color-text-muted)] leading-relaxed">
我们的核心团队长期从事<span className="text-[var(--color-brand-primary)] font-medium">技术咨询</span>、<span className="text-[var(--color-brand-primary)] font-medium">企业数字化</span>等行业,拥有 12 年以上的深厚积累。
@@ -83,60 +124,31 @@ export function TeamClient() {
每一位成员都是既懂技术又懂业务的复合型人才。
</p>
</div>
</motion.div>
<motion.div
{...fadeUp}
whileInView={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5 }}
>
<h2 className="text-2xl font-bold text-[var(--color-text-primary)] mb-8 text-center">团队优势</h2>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
{TEAM_PILLARS.map((item, idx) => {
const Icon = item.icon;
return (
<motion.div
key={item.title}
{...fadeUp}
whileInView={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5, delay: idx * 0.1 }}
className={idx >= 3 ? 'md:col-span-1 lg:col-start-1' : ''}
>
<div className="flex items-start gap-4 p-6 rounded-xl border border-[var(--color-border-primary)] hover:border-[var(--color-brand-primary)]/30 transition-colors h-full">
<div className="w-10 h-10 rounded-lg bg-[var(--color-brand-primary-bg)] flex items-center justify-center shrink-0">
<Icon className="w-5 h-5 text-[var(--color-brand-primary)]" />
</div>
<div>
<h3 className="font-semibold text-[var(--color-text-primary)] mb-1">{item.title}</h3>
<p className="text-sm text-[var(--color-text-muted)]">{item.description}</p>
</div>
</div>
</motion.div>
);
})}
</div>
</motion.div>
<motion.div
{...fadeUp}
whileInView={shouldReduceMotion ? {} : { opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.5 }}
className="text-center pt-8"
>
<p className="text-lg text-[var(--color-text-muted)] mb-6">想与我们的团队交流?</p>
<Button size="lg" className="bg-[var(--color-brand-primary)] hover:bg-[var(--color-brand-primary-hover)] text-white" asChild>
<StaticLink href="/contact">
联系我们
<ArrowRight className="ml-2 w-4 h-4" />
</StaticLink>
</Button>
</motion.div>
</div>
</InkCard>
</motion.div>
</div>
</section>
{/* Team Culture */}
<NarrativeValue
badge="团队文化"
title="我们怎样"
highlight="工作"
subtitle="好的团队文化,最终体现在为客户创造的价值上"
points={TEAM_CULTURE}
columns={3}
bgVariant="section"
/>
{/* Layer 4: CTA */}
<NarrativeCTA
title="想成为我们的一员?"
description="我们始终在寻找既懂技术又热爱业务的伙伴。如果您认同我们的理念,欢迎聊聊。"
primaryLabel="联系我们"
primaryHref="/contact"
secondaryLabel="了解公司"
secondaryHref="/about"
/>
</div>
);
}