Redesign landing page and add Caddy deployment for nomadro.com
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -18,29 +18,33 @@ const ACCENT_COLORS = [
|
||||
"from-amber-500 to-orange-500",
|
||||
] as const;
|
||||
|
||||
|
||||
export function ValueGrid() {
|
||||
return (
|
||||
<section className="bg-gradient-to-b from-white to-violet-50/30 py-20 md:py-28">
|
||||
<section className="relative py-20 md:py-28">
|
||||
<div
|
||||
className="pointer-events-none absolute inset-x-0 top-0 h-px"
|
||||
style={{
|
||||
background:
|
||||
"linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent)",
|
||||
}}
|
||||
/>
|
||||
<div className="container mx-auto px-4 md:px-6">
|
||||
<motion.h2
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 12 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, margin: "-80px" }}
|
||||
className="text-center text-2xl font-bold text-neutral-900 md:text-3xl"
|
||||
className="text-center"
|
||||
>
|
||||
🎯 你能在这里获得什么
|
||||
</motion.h2>
|
||||
<motion.p
|
||||
initial={{ opacity: 0 }}
|
||||
whileInView={{ opacity: 1 }}
|
||||
viewport={{ once: true }}
|
||||
className="mx-auto mt-3 max-w-2xl text-center text-neutral-600"
|
||||
>
|
||||
不是功能列表,而是实实在在的结果 ✨
|
||||
</motion.p>
|
||||
<span className="text-3xl">🎯</span>
|
||||
<h2 className="mt-3 text-2xl font-bold text-white md:text-3xl">
|
||||
你能在这里获得什么
|
||||
</h2>
|
||||
<p className="mx-auto mt-3 max-w-2xl text-white/40">
|
||||
不是功能列表,而是实实在在的结果 ✨
|
||||
</p>
|
||||
</motion.div>
|
||||
|
||||
<div className="mt-14 grid gap-6 sm:grid-cols-2 lg:grid-cols-4">
|
||||
<div className="mt-14 grid gap-5 sm:grid-cols-2 lg:grid-cols-4">
|
||||
{VALUE_PROPOSITIONS.map((item, i) => {
|
||||
const Icon = ICON_MAP[item.icon];
|
||||
const gradient = ACCENT_COLORS[i];
|
||||
@@ -52,15 +56,20 @@ export function ValueGrid() {
|
||||
viewport={{ once: true, margin: "-40px" }}
|
||||
transition={{ delay: i * 0.08 }}
|
||||
whileHover={{ y: -4 }}
|
||||
className="group rounded-2xl border-2 border-neutral-200/80 bg-white p-6 shadow-sm transition-all hover:border-violet-200 hover:shadow-xl hover:shadow-violet-100/50"
|
||||
className="group glass-card glass-card-hover rounded-2xl p-6"
|
||||
>
|
||||
<div className={`inline-flex h-12 w-12 items-center justify-center rounded-xl bg-gradient-to-br ${gradient} text-white shadow-lg transition-transform group-hover:scale-110`}>
|
||||
<Icon className="h-6 w-6" />
|
||||
<div className="flex items-center justify-between">
|
||||
<div className={`inline-flex h-11 w-11 items-center justify-center rounded-xl bg-gradient-to-br ${gradient} text-white shadow-lg transition-transform group-hover:scale-110`}>
|
||||
<Icon className="h-5 w-5" />
|
||||
</div>
|
||||
<span className="text-2xl opacity-40 transition-opacity group-hover:opacity-70">
|
||||
{item.emoji}
|
||||
</span>
|
||||
</div>
|
||||
<h3 className="mt-4 font-semibold text-neutral-900">
|
||||
<h3 className="mt-4 text-sm font-semibold leading-snug text-white/90">
|
||||
{item.title}
|
||||
</h3>
|
||||
<p className="mt-2 text-sm text-neutral-600">
|
||||
<p className="mt-2 text-xs leading-relaxed text-white/35">
|
||||
{item.description}
|
||||
</p>
|
||||
</motion.div>
|
||||
|
||||
Reference in New Issue
Block a user