'use client'; import { motion } from 'framer-motion'; import { useInView } from 'framer-motion'; import { useRef } from 'react'; import { Card, CardContent, CardHeader, CardTitle, CardDescription } from '@/components/ui/card'; import { ArrowRight, Calendar } from 'lucide-react'; import { NEWS } from '@/lib/constants'; export function NewsSection() { const ref = useRef(null); const isInView = useInView(ref, { once: true, margin: '-100px' }); return (
新闻动态

最新资讯

了解公司最新动态、行业资讯和技术分享

{NEWS.slice(0, 4).map((news, idx) => (
{news.category} {news.date}
{news.title}
{news.excerpt} 阅读更多
))}
); }