File size: 457 Bytes
aedd342
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import React from "react";
import InterestCard from "../components/Card";
import myInterest from "../data/aboutMe";
import "./../sections/MyInterests.css";

function MyInterests() {
  const interestList = myInterest.map((i) => {
    return <InterestCard interest={i} />;
  });

  return (
    <div className="my-interests" id="carta">
      <h2>Carta</h2>
      <div className="container">{interestList}</div>
    </div>
  );
}

export default MyInterests;