practice_code/web/czr/app/routes/_index.tsx

146 lines
7.9 KiB
TypeScript
Raw Normal View History

2024-12-10 10:28:04 +08:00
import type { MetaFunction } from "@remix-run/node";
export const meta: MetaFunction = () => {
return [
{ title: "新纪元科技 - 引领创新未来" },
{ name: "description", content: "专注于环保科技创新,为可持续发展提供解决方案" },
];
};
export default function Index() {
return (
<div className="min-h-screen bg-gradient-to-br from-slate-50 to-white text-gray-800">
{/* Hero区域 */}
<div className="relative overflow-hidden bg-gradient-to-r from-green-50 to-blue-50">
<div className="max-w-7xl mx-auto px-4 py-24">
<div className="text-center">
<h1 className="text-5xl font-bold mb-6 bg-gradient-to-r from-green-600 to-blue-600 bg-clip-text text-transparent">
</h1>
<p className="text-xl text-gray-600 max-w-2xl mx-auto mb-10">
</p>
<button className="bg-gradient-to-r from-green-600 to-blue-600 text-white px-8 py-3 rounded-full font-semibold
hover:opacity-90 transition-all duration-300 hover:scale-105 hover:shadow-lg">
</button>
</div>
</div>
</div>
{/* 核心技术 */}
<section className="py-20 bg-white" id="innovations">
<div className="max-w-7xl mx-auto px-4">
<h2 className="text-3xl font-bold text-center mb-16"></h2>
<div className="grid grid-cols-1 md:grid-cols-3 gap-12">
<div className="text-center group transform transition-all duration-300 hover:-translate-y-2 hover:shadow-xl rounded-xl p-6">
<div className="bg-green-50 w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-6
group-hover:bg-green-100 transition-colors duration-300 group-hover:scale-110">
<svg className="w-10 h-10 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
</svg>
</div>
<h3 className="text-xl font-semibold mb-4"></h3>
<p className="text-gray-600">AI技术优化资源利用使</p>
</div>
<div className="text-center group transform transition-all duration-300 hover:-translate-y-2 hover:shadow-xl rounded-xl p-6">
<div className="bg-blue-50 w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-6
group-hover:bg-blue-100 transition-colors duration-300 group-hover:scale-110">
<svg className="w-10 h-10 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4" />
</svg>
</div>
<h3 className="text-xl font-semibold mb-4"></h3>
<p className="text-gray-600"></p>
</div>
<div className="text-center group transform transition-all duration-300 hover:-translate-y-2 hover:shadow-xl rounded-xl p-6">
<div className="bg-cyan-50 w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-6
group-hover:bg-cyan-100 transition-colors duration-300 group-hover:scale-110">
<svg className="w-10 h-10 text-cyan-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z" />
</svg>
</div>
<h3 className="text-xl font-semibold mb-4"></h3>
<p className="text-gray-600"></p>
</div>
</div>
</div>
</section>
{/* 解决方案 */}
<section className="py-20 bg-gradient-to-r from-green-50 to-blue-50" id="solutions">
<div className="max-w-7xl mx-auto px-4">
<h2 className="text-3xl font-bold text-center mb-16"></h2>
<div className="grid grid-cols-1 md:grid-cols-2 gap-8">
<div className="bg-white rounded-lg p-8 shadow-sm hover:shadow-xl transition-all duration-300 hover:-translate-y-1">
<h3 className="text-xl font-semibold mb-4"></h3>
<p className="text-gray-600 mb-4"></p>
<ul className="text-gray-600 space-y-2">
<li> </li>
<li> </li>
<li> </li>
</ul>
</div>
<div className="bg-white rounded-lg p-8 shadow-sm hover:shadow-xl transition-all duration-300 hover:-translate-y-1">
<h3 className="text-xl font-semibold mb-4"></h3>
<p className="text-gray-600 mb-4"></p>
<ul className="text-gray-600 space-y-2">
<li className="transition-all duration-200 hover:text-green-600 hover:translate-x-2"> 使</li>
<li className="transition-all duration-200 hover:text-green-600 hover:translate-x-2"> </li>
<li className="transition-all duration-200 hover:text-green-600 hover:translate-x-2"> </li>
</ul>
</div>
</div>
</div>
</section>
{/* 页脚 */}
<footer className="bg-gray-900 text-white py-12">
<div className="max-w-7xl mx-auto px-4">
<div className="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h4 className="text-lg font-semibold mb-4"></h4>
<p className="text-gray-400"></p>
</div>
<div>
<h4 className="text-lg font-semibold mb-4"></h4>
<p className="text-gray-400">400-888-8888</p>
<p className="text-gray-400">contact@xingjiyuan.com</p>
</div>
<div>
<h4 className="text-lg font-semibold mb-4"></h4>
<ul className="text-gray-400 space-y-2">
<li>
<a href="#" className="hover:text-white transition-colors duration-200 hover:translate-x-2 inline-block">
</a>
</li>
<li>
<a href="#" className="hover:text-white transition-colors duration-200 hover:translate-x-2 inline-block">
</a>
</li>
<li>
<a href="#" className="hover:text-white transition-colors duration-200 hover:translate-x-2 inline-block">
</a>
</li>
</ul>
</div>
<div>
<h4 className="text-lg font-semibold mb-4"></h4>
<p className="text-gray-400">888</p>
</div>
</div>
<div className="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
<p>© 2024 </p>
</div>
</div>
</footer>
</div>
);
}