manual save(2025-12-29 13:11)
This commit is contained in:
BIN
hero-building.jpg
Normal file
BIN
hero-building.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 60 KiB |
BIN
public/images/about-office.jpg
Normal file
BIN
public/images/about-office.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
BIN
public/images/hero-building.jpg
Normal file
BIN
public/images/hero-building.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 472 KiB |
BIN
public/images/news-award.jpg
Normal file
BIN
public/images/news-award.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
BIN
public/images/news-company.jpg
Normal file
BIN
public/images/news-company.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 112 KiB |
BIN
public/images/news-tech.jpg
Normal file
BIN
public/images/news-tech.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 178 KiB |
@@ -115,8 +115,13 @@ export const Hero: React.FC = () => {
|
|||||||
>
|
>
|
||||||
{/* 背景层 */}
|
{/* 背景层 */}
|
||||||
<div className="absolute inset-0 z-0">
|
<div className="absolute inset-0 z-0">
|
||||||
{/* 渐变背景 */}
|
{/* 图片背景 */}
|
||||||
<div className="absolute inset-0 bg-gradient-to-br from-primary-dark via-primary to-primary" />
|
<div
|
||||||
|
className="absolute inset-0 bg-cover bg-center bg-no-repeat"
|
||||||
|
style={{ backgroundImage: 'url(/images/hero-building.jpg)' }}
|
||||||
|
/>
|
||||||
|
{/* 渐变遮罩 - 确保文字可读性 */}
|
||||||
|
<div className="absolute inset-0 bg-gradient-to-br from-primary-dark/90 via-primary/80 to-primary/70" />
|
||||||
{/* 装饰性图案 */}
|
{/* 装饰性图案 */}
|
||||||
<div className="absolute inset-0 opacity-10">
|
<div className="absolute inset-0 opacity-10">
|
||||||
<div className="absolute top-0 right-0 w-[800px] h-[800px] rounded-full bg-white/5 blur-3xl -translate-y-1/2 translate-x-1/2" />
|
<div className="absolute top-0 right-0 w-[800px] h-[800px] rounded-full bg-white/5 blur-3xl -translate-y-1/2 translate-x-1/2" />
|
||||||
|
|||||||
@@ -119,13 +119,14 @@ export const AboutSection: React.FC = () => {
|
|||||||
transition={{ duration: 0.6, delay: 0.2 }}
|
transition={{ duration: 0.6, delay: 0.2 }}
|
||||||
>
|
>
|
||||||
{/* 主图片区域 */}
|
{/* 主图片区域 */}
|
||||||
<div className="aspect-[4/3] rounded-2xl overflow-hidden bg-gradient-to-br from-primary to-primary-light shadow-xl">
|
<div className="aspect-[4/3] rounded-2xl overflow-hidden shadow-xl">
|
||||||
<div className="w-full h-full flex items-center justify-center">
|
<img
|
||||||
<div className="text-center text-white p-8">
|
src="/images/about-office.jpg"
|
||||||
<div className="text-6xl font-bold mb-2">15+</div>
|
alt="诚裕集团办公室环境"
|
||||||
<div className="text-lg opacity-80">年行业发展经验</div>
|
className="w-full h-full object-cover"
|
||||||
</div>
|
/>
|
||||||
</div>
|
{/* 叠加装饰层 */}
|
||||||
|
<div className="absolute inset-0 bg-gradient-to-tr from-primary/20 to-transparent" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* 装饰性元素 */}
|
{/* 装饰性元素 */}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ const newsItems = [
|
|||||||
title: '诚裕集团荣获"2025年度优秀企业"称号',
|
title: '诚裕集团荣获"2025年度优秀企业"称号',
|
||||||
excerpt: '在近日举办的年度企业评选活动中,诚裕集团凭借其卓越的经营业绩和社会责任表现,荣获"2025年度优秀企业"称号。',
|
excerpt: '在近日举办的年度企业评选活动中,诚裕集团凭借其卓越的经营业绩和社会责任表现,荣获"2025年度优秀企业"称号。',
|
||||||
date: '2025-12-20',
|
date: '2025-12-20',
|
||||||
image: null,
|
image: '/images/news-award.jpg',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 2,
|
id: 2,
|
||||||
@@ -23,7 +23,7 @@ const newsItems = [
|
|||||||
title: '金融科技创新论坛圆满落幕,诚裕集团分享行业洞察',
|
title: '金融科技创新论坛圆满落幕,诚裕集团分享行业洞察',
|
||||||
excerpt: '诚裕集团受邀参加金融科技创新论坛,与行业专家共同探讨金融科技发展趋势,分享公司在数字化转型方面的实践经验。',
|
excerpt: '诚裕集团受邀参加金融科技创新论坛,与行业专家共同探讨金融科技发展趋势,分享公司在数字化转型方面的实践经验。',
|
||||||
date: '2025-12-15',
|
date: '2025-12-15',
|
||||||
image: null,
|
image: '/images/news-tech.jpg',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 3,
|
id: 3,
|
||||||
@@ -31,7 +31,7 @@ const newsItems = [
|
|||||||
title: '诚裕集团完成新一轮战略融资,估值突破百亿',
|
title: '诚裕集团完成新一轮战略融资,估值突破百亿',
|
||||||
excerpt: '诚裕集团宣布完成新一轮战略融资,本轮融资由知名投资机构领投,估值突破百亿元人民币,标志着公司发展进入新阶段。',
|
excerpt: '诚裕集团宣布完成新一轮战略融资,本轮融资由知名投资机构领投,估值突破百亿元人民币,标志着公司发展进入新阶段。',
|
||||||
date: '2025-12-10',
|
date: '2025-12-10',
|
||||||
image: null,
|
image: '/images/news-company.jpg',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -60,29 +60,40 @@ const NewsCard: React.FC<{
|
|||||||
transition={{ delay: index * 0.1, duration: 0.5 }}
|
transition={{ delay: index * 0.1, duration: 0.5 }}
|
||||||
whileHover={{ y: -5 }}
|
whileHover={{ y: -5 }}
|
||||||
>
|
>
|
||||||
{/* 图片区域(占位) */}
|
{/* 图片区域 */}
|
||||||
<div className="aspect-[16/9] bg-gradient-to-br from-primary/5 to-primary-light/10 flex items-center justify-center relative overflow-hidden">
|
<div className="aspect-[16/9] bg-gradient-to-br from-primary/5 to-primary-light/10 relative overflow-hidden">
|
||||||
<div className="text-primary/20">
|
{news.image ? (
|
||||||
<svg
|
<img
|
||||||
className="w-16 h-16"
|
src={news.image}
|
||||||
fill="none"
|
alt=""
|
||||||
stroke="currentColor"
|
className="w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"
|
||||||
viewBox="0 0 24 24"
|
loading="lazy"
|
||||||
>
|
/>
|
||||||
<path
|
) : (
|
||||||
strokeLinecap="round"
|
<div className="text-primary/20">
|
||||||
strokeLinejoin="round"
|
<svg
|
||||||
strokeWidth={1}
|
className="w-16 h-16 absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2"
|
||||||
d="M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"
|
fill="none"
|
||||||
/>
|
stroke="currentColor"
|
||||||
</svg>
|
viewBox="0 0 24 24"
|
||||||
</div>
|
>
|
||||||
|
<path
|
||||||
|
strokeLinecap="round"
|
||||||
|
strokeLinejoin="round"
|
||||||
|
strokeWidth={1}
|
||||||
|
d="M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
{/* 分类标签 */}
|
{/* 分类标签 */}
|
||||||
<span
|
<span
|
||||||
className={`absolute top-4 left-4 px-3 py-1 text-xs font-medium rounded-full ${category.color}`}
|
className={`absolute top-4 left-4 px-3 py-1 text-xs font-medium rounded-full ${category.color}`}
|
||||||
>
|
>
|
||||||
{category.label}
|
{category.label}
|
||||||
</span>
|
</span>
|
||||||
|
{/* 图片遮罩 */}
|
||||||
|
<div className="absolute inset-0 bg-gradient-to-t from-black/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* 内容区域 */}
|
{/* 内容区域 */}
|
||||||
|
|||||||
Reference in New Issue
Block a user