Skip to content

Commit

Permalink
run format
Browse files Browse the repository at this point in the history
  • Loading branch information
Sookie Drabla committed Jan 20, 2025
1 parent 73833fb commit 4bd971f
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions src/components/about/Philanthropy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,21 @@ import React from "react";
import Image from "@/public/about/heart.svg";

const Philanthropy = () => {
return (
<div className="relative grid grid-cols-4 p-6">
<div className="col-span-2 flex items-center border-8 rounded-3xl border-csa-gray-200 p-2">
<p className=" text-left text-5xl font-lora font-bold text-csa-gray-200 p-4">Philanthropy</p>
<div className="absolute left-1/2 " style={{transform: 'translateY(5%) translateX(-50%)'}}>
<img src={Image.src} alt="heart" className="w-3/4 h-3/4" />
</div>
</div>
return (
<div className="relative grid grid-cols-4 p-6">
<div className="col-span-2 flex items-center rounded-3xl border-8 border-csa-gray-200 p-2">
<p className="font-lora p-4 text-left text-5xl font-bold text-csa-gray-200">
Philanthropy
</p>
<div
className="absolute left-1/2"
style={{ transform: "translateY(5%) translateX(-50%)" }}
>
<img src={Image.src} alt="heart" className="h-3/4 w-3/4" />
</div>
);
</div>
</div>
);
};

export default Philanthropy;

0 comments on commit 4bd971f

Please sign in to comment.