manual save(2025-12-29 13:11)

This commit is contained in:
SiteAgent Bot
2025-12-29 13:11:25 +08:00
parent 92986f50ee
commit 1d019667ef
9 changed files with 46 additions and 29 deletions

BIN
hero-building.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
public/images/news-tech.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

View File

@@ -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" />

View File

@@ -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>
{/* 装饰性元素 */} {/* 装饰性元素 */}

View File

@@ -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,11 +60,19 @@ 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">
{news.image ? (
<img
src={news.image}
alt=""
className="w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"
loading="lazy"
/>
) : (
<div className="text-primary/20"> <div className="text-primary/20">
<svg <svg
className="w-16 h-16" className="w-16 h-16 absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"
viewBox="0 0 24 24" viewBox="0 0 24 24"
@@ -77,12 +85,15 @@ const NewsCard: React.FC<{
/> />
</svg> </svg>
</div> </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>
{/* 内容区域 */} {/* 内容区域 */}