feat(contact-section): 更新联系方式卡片为服务承诺卡片

将联系方式卡片重新设计为服务承诺卡片,展示专业响应、免费咨询和定制方案等优势
更新卡片样式和图标,使用更友好的视觉设计
保持工作时间卡片和消息发送卡片的基本布局
This commit is contained in:
张翔
2026-02-03 08:02:09 +08:00
parent f14002559e
commit cc55146ba6
+23 -19
View File
@@ -9,7 +9,7 @@ import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
import { Textarea } from '@/components/ui/textarea';
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';
import { Mail, Phone, MapPin, Send, Loader2, Clock } from 'lucide-react';
import { Mail, Phone, MapPin, Send, Loader2, Clock, MessageCircle, HeadphonesIcon, Sparkles } from 'lucide-react';
import { COMPANY_INFO } from '@/lib/constants';
export function ContactSection() {
@@ -55,38 +55,41 @@ export function ContactSection() {
initial={{ opacity: 0, x: -20 }}
animate={isInView ? { opacity: 1, x: 0 } : {}}
transition={{ duration: 0.6, delay: 0.2 }}
className="space-y-8"
className="flex flex-col gap-6 h-full"
>
<Card>
<Card className="flex-1 flex flex-col">
<CardHeader>
<CardTitle></CardTitle>
<CardTitle className="flex items-center gap-2">
<Sparkles className="w-5 h-5 text-gray-600" />
</CardTitle>
</CardHeader>
<CardContent className="space-y-6">
<CardContent className="space-y-6 flex-1">
<div className="flex items-start gap-4">
<div className="w-10 h-10 bg-black rounded-lg flex items-center justify-center flex-shrink-0">
<MapPin className="w-5 h-5 text-white" />
<div className="w-10 h-10 bg-gray-100 rounded-lg flex items-center justify-center flex-shrink-0">
<HeadphonesIcon className="w-5 h-5 text-gray-700" />
</div>
<div>
<h3 className="font-semibold text-black"></h3>
<p className="text-gray-600">{COMPANY_INFO.address}</p>
<h3 className="font-semibold text-black"></h3>
<p className="text-gray-600"> 2 </p>
</div>
</div>
<div className="flex items-start gap-4">
<div className="w-10 h-10 bg-black rounded-lg flex items-center justify-center flex-shrink-0">
<Phone className="w-5 h-5 text-white" />
<div className="w-10 h-10 bg-gray-100 rounded-lg flex items-center justify-center flex-shrink-0">
<MessageCircle className="w-5 h-5 text-gray-700" />
</div>
<div>
<h3 className="font-semibold text-black"></h3>
<p className="text-gray-600">{COMPANY_INFO.phone}</p>
<h3 className="font-semibold text-black"></h3>
<p className="text-gray-600"></p>
</div>
</div>
<div className="flex items-start gap-4">
<div className="w-10 h-10 bg-black rounded-lg flex items-center justify-center flex-shrink-0">
<Mail className="w-5 h-5 text-white" />
<div className="w-10 h-10 bg-gray-100 rounded-lg flex items-center justify-center flex-shrink-0">
<Sparkles className="w-5 h-5 text-gray-700" />
</div>
<div>
<h3 className="font-semibold text-black"></h3>
<p className="text-gray-600">{COMPANY_INFO.email}</p>
<h3 className="font-semibold text-black"></h3>
<p className="text-gray-600"></p>
</div>
</div>
</CardContent>
@@ -95,7 +98,7 @@ export function ContactSection() {
<Card>
<CardHeader>
<CardTitle className="flex items-center gap-2">
<Clock className="w-5 h-5" />
<Clock className="w-5 h-5 text-gray-600" />
</CardTitle>
</CardHeader>
@@ -115,8 +118,9 @@ export function ContactSection() {
initial={{ opacity: 0, x: 20 }}
animate={isInView ? { opacity: 1, x: 0 } : {}}
transition={{ duration: 0.6, delay: 0.3 }}
className="h-full"
>
<Card>
<Card className="h-full flex flex-col">
<CardHeader>
<CardTitle></CardTitle>
</CardHeader>