manual save(2026-01-22 11:48)
This commit is contained in:
@@ -182,9 +182,16 @@ export const Contact: React.FC = () => {
|
||||
<section className="py-16 -mt-8">
|
||||
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div className="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
|
||||
{CONTACT_INFO.map((info, index) => {
|
||||
const Icon = info.icon;
|
||||
return (
|
||||
{CONTACT_INFO.map((info, index) => {
|
||||
const iconMap = {
|
||||
MapPin,
|
||||
Phone,
|
||||
Mail,
|
||||
Clock,
|
||||
};
|
||||
const Icon = iconMap[info.icon as keyof typeof iconMap] || MapPin;
|
||||
return (
|
||||
|
||||
<motion.div
|
||||
key={info.id}
|
||||
className="bg-white rounded-xl shadow-lg p-6 text-center hover:shadow-xl transition-shadow"
|
||||
@@ -413,9 +420,10 @@ export const Contact: React.FC = () => {
|
||||
className="w-full h-full object-cover"
|
||||
/>
|
||||
<div className="absolute bottom-4 left-4 right-4 bg-white/95 backdrop-blur-sm rounded-lg p-3 shadow-lg">
|
||||
<p className="text-primary-dark font-medium text-sm mb-1">
|
||||
📍 示例集团总部
|
||||
</p>
|
||||
<p className="text-primary-dark font-medium text-sm mb-1">
|
||||
示例集团总部
|
||||
</p>
|
||||
|
||||
<p className="text-gray-600 text-xs">
|
||||
北京市朝阳区建国路88号示例大厦
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user