UI styling update

This commit is contained in:
mukesh13
2025-08-21 10:21:32 +05:30
parent 04a9f5689b
commit 92a935f753
36 changed files with 501 additions and 402 deletions

View File

@ -9,29 +9,32 @@ export default function HereditaryCancerPanel() {
{ title: "Genetic Counseling Support", desc: "Optional access to pre- and post-test counseling for patient education and informed decision-making." }
];
const points = [
"About 5-10% of all cancers are linked to inherited genetic mutations, often going undetected until late stages or after multiple family members are affected.",
"The Operify Hereditary Cancer Panel screens key high- and moderate-risk genes associated with hereditary cancer syndromes like HBOC, Lynch Syndrome (LS), Li Fraumeni Syndrome (LFS), Familial Adenomatous Polyposis (FAP), Cowden Syndrome (CS), Peutz-Jeghers Syndrome (PJS), Neurofibromatosis (NF) etc.",
"Early identification of germline mutations enables proactive clinical decisions, including risk-reducing strategies, targeted surveillance, and family cascade testing.",
"Studies show that genetic testing in hereditary cancer cases improves outcomes and informs care for both patients and at-risk relatives."
];
return (
<section className="mx-auto px-10 pt-12">
<h2 className="text-3xl font-bold text-gray-700 text-left pb-2 mb-4">Operify Hereditary Cancer Panel</h2>
<section className="mx-auto px-8 pt-8">
<h2 className="text-3xl font-bold text-teal-700 pb-2 mb-4">Operify Hereditary Cancer Panel</h2>
<div className="mb-8">
<p className="text-gray-600 leading-relaxed text-base mb-4 text-justify">
<strong>About 5-10% of all cancers are linked to inherited genetic mutations</strong>, often going
undetected until late stages or after multiple family members are affected.
</p>
<p className="text-gray-600 leading-relaxed text-base mb-4 text-justify">
The Operify Hereditary Cancer Panel screens key high- and moderate-risk genes associated
with hereditary cancer syndromes like HBOC, Lynch Syndrome (LS), Li Fraumeni Syndrome (LFS),
Familial Adenomatous Polyposis (FAP), Cowden Syndrome (CS), Peutz-Jeghers Syndrome (PJS),
Neurofibromatosis (NF) etc.
</p>
<p className="text-gray-600 leading-relaxed text-base mb-4 text-justify">
Early identification of germline mutations enables proactive clinical decisions, including
risk-reducing strategies, targeted surveillance, and family cascade testing.
</p>
<p className="text-gray-600 leading-relaxed text-base text-justify">
Studies show that genetic testing in hereditary cancer cases improves outcomes and informs
care for both patients and at-risk relatives.
</p>
<ul className="space-y-4">
{points.map((point, idx) => (
<li key={idx} className="flex items-start">
<span
className="w-2 h-2 rounded-full mt-2 mr-3 flex-shrink-0"
style={{backgroundColor: '#faae31'}}
></span>
<p className="text-gray-600 leading-relaxed text-base text-justify">
<strong>{idx === 0 ? "About 5-10% of all cancers are linked to inherited genetic mutations" : ""}</strong>
{idx === 0 ? ", often going undetected until late stages or after multiple family members are affected." : point}
</p>
</li>
))}
</ul>
</div>
<h3 className="text-2xl font-semibold text-gray-700 mb-4">Key Features</h3>
@ -45,7 +48,7 @@ export default function HereditaryCancerPanel() {
</thead>
<tbody>
{features.map((feature, idx) => (
<tr key={idx} className="hover:bg-gray-50">
<tr key={idx} className="hover:bg-teal-50">
<td className="border border-gray-300 px-6 py-3 text-gray-700 font-medium">{feature.title}</td>
<td className="border border-gray-300 px-6 py-3 text-gray-600">{feature.desc}</td>
</tr>