import React from 'react';
import List from '../list/List';

export default function GrassrootsDynamics() {
  return (
    <div className="flex bg-white rounded-2xl shadow-xl overflow-hidden mx-auto w-4/5">
      <div className="w-2/5 bg-pink-50 p-6 flex flex-col items-center justify-center relative">
        <div className="w-full h-64 flex items-center justify-center overflow-hidden rounded-lg">
          <img
            src="/images/carousel-1.jpg"
            alt="基层动态"
            className="w-full h-full object-cover"
          />
        </div>
      </div>

      {/* 右边列表 */}
      <div className="w-3/5 bg-blue-200 text-white p-6">
        <List />
      </div>
    </div>
  );
}