Skip to content

Commit 4791386

Browse files
committed
chore: home page refactoering some errors
Signed-off-by: Daniel Ntege <danientege785@gmail.com>
1 parent 5cb5fe1 commit 4791386

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nextjs/components/TSCSection.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@ export default function TSCSection() {
103103
loading="lazy"
104104
/>
105105
</div>
106-
<p className="text-gray-500 mt-2 space-y-4">{member.bio}</p>
106+
<div
107+
className="text-white mt-2 [&>p]:mb-4 [&>p:last-child]:mb-0"
108+
dangerouslySetInnerHTML={{ __html: member.bio }}
109+
/>
107110
<button
108111
className="text-black text-lg rounded-full py-1.5 px-[26px] bg-white-dark self-center mt-4 cursor-pointer"
109112
onClick={() => setOpenBio(null)}

0 commit comments

Comments
 (0)