update styling
This commit is contained in:
@ -1,12 +1,58 @@
|
||||
import React from 'react';
|
||||
import Image from 'next/image';
|
||||
|
||||
const FeatureCard = ({ icon, title, description }) => (
|
||||
<div className="p-6 rounded-2xl shadow-sm border-0 h-full transition-transform duration-300 ease-in-out hover:scale-105 hover:shadow-lg group" style={{ backgroundColor: '#f2fcfc' }}>
|
||||
<div className="flex items-center space-x-4 mb-4">
|
||||
<div className="w-12 h-12 bg-orange-100 rounded-xl flex items-center justify-center flex-shrink-0">
|
||||
<Image src={icon} alt={title} width={24} height={24} />
|
||||
</div>
|
||||
<h3 className="text-lg font-semibold text-teal-700 leading-tight">{title}</h3>
|
||||
</div>
|
||||
<div className="relative w-full h-px bg-gray-300 mb-4 overflow-hidden">
|
||||
<div className="absolute top-0 left-0 h-full bg-gray-600 w-0 group-hover:w-full transition-all duration-500 ease-in-out"></div>
|
||||
</div>
|
||||
<p className="text-gray-600 leading-relaxed text-sm text-justify">{description}</p>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default function OperifyExome() {
|
||||
const features = [
|
||||
{ title: "Deep Coverage", desc: "≥100X average depth for high accuracy." },
|
||||
{ title: "Superior Data Quality", desc: "≥90% bases with Q30 score." },
|
||||
{ title: "Comprehensive Variant Detection", desc: "Identifies SNVs, Indels, and CNVs." },
|
||||
{ title: "Uniparental Disomy Analysis", desc: "Detects UPD regions for imprinting disorders." },
|
||||
{ title: "Coverage of Complex Genes", desc: "Includes SMN1, SMN2, and DMD." },
|
||||
{ title: "Chromosomal Assessment", desc: "Detects aneuploidies and determines chromosomal sex." },
|
||||
{ title: "Dynamic Reanalysis", desc: "Reanalysis as scientific knowledge evolves." }
|
||||
{
|
||||
title: "Deep Coverage",
|
||||
desc: "≥100X average depth for high accuracy.",
|
||||
icon: "/images/icons/deep-coverage.png"
|
||||
},
|
||||
{
|
||||
title: "Superior Data Quality",
|
||||
desc: "≥90% bases with Q30 score.",
|
||||
icon: "/images/icons/data-quality.png"
|
||||
},
|
||||
{
|
||||
title: "Comprehensive Variant Detection",
|
||||
desc: "Identifies SNVs, Indels, and CNVs.",
|
||||
icon: "/images/icons/variant-detection.png"
|
||||
},
|
||||
{
|
||||
title: "Uniparental Disomy Analysis",
|
||||
desc: "Detects UPD regions for imprinting disorders.",
|
||||
icon: "/images/icons/upd-analysis.png"
|
||||
},
|
||||
{
|
||||
title: "Coverage of Complex Genes",
|
||||
desc: "Includes SMN1, SMN2, and DMD.",
|
||||
icon: "/images/icons/complex-genes.png"
|
||||
},
|
||||
{
|
||||
title: "Chromosomal Assessment",
|
||||
desc: "Detects aneuploidies and determines chromosomal sex.",
|
||||
icon: "/images/icons/chromosomal.png"
|
||||
},
|
||||
{
|
||||
title: "Dynamic Reanalysis",
|
||||
desc: "Reanalysis as scientific knowledge evolves.",
|
||||
icon: "/images/icons/reanalysis.png"
|
||||
}
|
||||
];
|
||||
|
||||
const points = [
|
||||
@ -36,24 +82,17 @@ export default function OperifyExome() {
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<h3 className="text-2xl font-semibold text-teal-700 mb-4">Key Features</h3>
|
||||
<div className="overflow-x-auto">
|
||||
<table className="w-full border-collapse border border-gray-300 rounded-lg">
|
||||
<thead>
|
||||
<tr className="bg-teal-50">
|
||||
<th className="border border-gray-300 px-3 py-2 text-left font-semibold text-teal-700">Feature</th>
|
||||
<th className="border border-gray-300 px-3 py-2 text-left font-semibold text-teal-700">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{features.map((feature, idx) => (
|
||||
<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>
|
||||
))}
|
||||
</tbody>
|
||||
</table>
|
||||
<h3 className="text-3xl font-bold text-teal-700 mb-6 leading-tight">Key Features</h3>
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
||||
{features.map((feature, index) => (
|
||||
<FeatureCard
|
||||
key={index}
|
||||
icon={feature.icon}
|
||||
title={feature.title}
|
||||
description={feature.desc}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user