products and product/slug page done

This commit is contained in:
nabijonovdavronbek619@gmail.com
2026-01-26 19:13:57 +05:00
parent bf6f38edab
commit 4a67425a6b
12 changed files with 422 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
export function Features({ features }: { features: string[] }) {
return (
<table className="w-full rounded-xl overflow-hidden">
<thead>
<tr className="border-b border-gray-700 bg-black">
<th className="px-4 py-4 md:px-6 text-left text-sm md:text-base font-semibold text-white">
Feature
</th>
</tr>
</thead>
<tbody>
{features.map((feature, index) => (
<tr
key={index}
className={` border-gray-700 transition-colors hover:bg-opacity-80 ${
index % 2 === 0 ? "bg-[#323232]" : "bg-black/20"
}`}
>
<td className="px-4 py-4 md:px-6 text-sm md:text-base text-white font-medium">
{feature}
</td>
</tr>
))}
</tbody>
</table>
);
}