File size: 729 Bytes
7d51e81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// components/ProfileSection.jsx
"use client";
import ImageContainer from './ImageContainer';
import './styles/FeatureGrid.css';

const ProfileSection = ({ features }) => {
  return (
    <div className="feature-grid">

      {features.map((feature, index) => (

        <div key={index} className="feature-card">

          <ImageContainer

            src={feature.image}

            alt={feature.alt}

            containerClass="feature-image-container"

            className="feature-image"

            sizes="(max-width: 768px) 90vw, 300px"

          />

          <h4>{feature.title}</h4>

          <p>{feature.description}</p>

        </div>

      ))}

    </div>
  );
};

export default ProfileSection;