ss_website/components/features-table.tsx

301 lines
18 KiB
TypeScript

import Link from 'next/link'
import Tooltip from '@/components/utils/tooltip'
export default function FeaturesTable() {
return (
<section>
<div className="max-w-6xl mx-auto px-4 sm:px-6">
<div className="py-12 md:py-20">
{/* Section header */}
<div className="max-w-3xl mx-auto text-center pb-12 md:pb-20">
<h2 className="h2 font-playfair-display text-slate-800">Compare plans by features</h2>
</div>
{/* Tables */}
<div className="space-y-4 mb-12">
{/* Table (Tidy Essential) */}
<div className="overflow-x-auto" data-aos="fade-up">
<table className="table-auto w-full border-b border-slate-200">
{/* Table header */}
<thead>
<tr className="text-base sm:text-lg text-slate-800">
<th className="text-xl md:text-2xl whitespace-nowrap font-bold font-playfair-display text-left pr-2 py-4 min-w-[10rem] md:min-w-[24rem]">Tidy Essential</th>
<th className="text-bold text-center px-2 py-4">Essential</th>
<th className="text-bold text-center px-2 py-4">Premium</th>
<th className="text-bold text-center px-2 py-4">Advanced</th>
</tr>
</thead>
{/* Table body */}
<tbody>
{/* Row */}
<tr className="border-t first:border-t-2 border-slate-200">
<td className="text-sm sm:text-base font-medium text-slate-800 pr-2 py-4">
<div className="flex items-center justify-between max-w-xs">
<div>Monthly fees</div>
{/* Tooltip */}
<Tooltip>
<div className="text-xs text-slate-100">Keep team shipping simple and take control of your company.</div>
</Tooltip>
</div>
</td>
<td className="text-sm px-2 py-4 text-center italic text-slate-800">$49/mo</td>
<td className="text-sm px-2 py-4 text-center italic text-slate-800">$79/mo</td>
<td className="text-sm px-2 py-4 text-center italic text-slate-800">$129/mo</td>
</tr>
{/* Row */}
<tr className="border-t first:border-t-2 border-slate-200">
<td className="text-sm sm:text-base font-medium text-slate-800 pr-2 py-4">
<div className="flex items-center justify-between max-w-xs">
<div>Free trial</div>
{/* Tooltip */}
<Tooltip>
<div className="text-xs text-slate-100">Keep team shipping simple and take control of your company.</div>
</Tooltip>
</div>
</td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
</tr>
{/* Row */}
<tr className="border-t first:border-t-2 border-slate-200">
<td className="text-sm sm:text-base font-medium text-slate-800 pr-2 py-4">
<div className="flex items-center justify-between max-w-xs">
<div>Startup Plan</div>
{/* Tooltip */}
<Tooltip>
<div className="text-xs text-slate-100">Keep team shipping simple and take control of your company.</div>
</Tooltip>
</div>
</td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
</tr>
{/* Row */}
<tr className="border-t first:border-t-2 border-slate-200">
<td className="text-sm sm:text-base font-medium text-slate-800 pr-2 py-4">
<div className="flex items-center justify-between max-w-xs">
<div>Contributors</div>
{/* Tooltip */}
<Tooltip>
<div className="text-xs text-slate-100">Keep team shipping simple and take control of your company.</div>
</Tooltip>
</div>
</td>
<td className="text-sm px-2 py-4 text-center italic text-slate-800">Up to 2</td>
<td className="text-sm px-2 py-4 text-center italic text-slate-800">Up to 10</td>
<td className="text-sm px-2 py-4 text-center italic text-slate-800">Unlimited</td>
</tr>
{/* Row */}
<tr className="border-t first:border-t-2 border-slate-200">
<td className="text-sm sm:text-base font-medium text-slate-800 pr-2 py-4">
<div className="flex items-center justify-between max-w-xs">
<div>Virtual Desk</div>
{/* Tooltip */}
<Tooltip>
<div className="text-xs text-slate-100">Keep team shipping simple and take control of your company.</div>
</Tooltip>
</div>
</td>
<td className="text-sm px-2 py-4 text-center font-medium"></td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
</tr>
{/* Row */}
<tr className="border-t first:border-t-2 border-slate-200">
<td className="text-sm sm:text-base font-medium text-slate-800 pr-2 py-4">
<div className="flex items-center justify-between max-w-xs">
<div>Incoming Transfers</div>
{/* Tooltip */}
<Tooltip>
<div className="text-xs text-slate-100">Keep team shipping simple and take control of your company.</div>
</Tooltip>
</div>
</td>
<td className="text-sm px-2 py-4 text-center italic text-slate-800">20</td>
<td className="text-sm px-2 py-4 text-center italic text-slate-800">50</td>
<td className="text-sm px-2 py-4 text-center italic text-slate-800">Unlimited</td>
</tr>
{/* Row */}
<tr className="border-t first:border-t-2 border-slate-200">
<td className="text-sm sm:text-base font-medium text-slate-800 pr-2 py-4">
<div className="flex items-center justify-between max-w-xs">
<div>Automate Tasks</div>
{/* Tooltip */}
<Tooltip>
<div className="text-xs text-slate-100">Keep team shipping simple and take control of your company.</div>
</Tooltip>
</div>
</td>
<td className="text-sm px-2 py-4 text-center font-medium"></td>
<td className="text-sm px-2 py-4 text-center font-medium"></td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
</tr>
{/* Row */}
<tr className="border-t first:border-t-2 border-slate-200">
<td className="text-sm sm:text-base font-medium text-slate-800 pr-2 py-4">
<div className="flex items-center justify-between max-w-xs">
<div className="flex items-center space-x-2">
<div>Analytics</div>
<div className="inline-flex text-xs font-semibold py-px px-2 text-emerald-700 bg-emerald-200 rounded-full">Soon</div>
</div>
{/* Tooltip */}
<Tooltip>
<div className="text-xs text-slate-100">Keep team shipping simple and take control of your company.</div>
</Tooltip>
</div>
</td>
<td className="text-sm px-2 py-4 text-center font-medium"></td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
</svg></td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
</tr>
</tbody>
</table>
</div>
{/* Table (Tidy Advanced) */}
<div className="overflow-x-auto" data-aos="fade-up">
<table className="table-auto w-full border-b border-slate-200">
{/* Table header */}
<thead>
<tr className="text-base sm:text-lg text-slate-800">
<th className="text-xl md:text-2xl whitespace-nowrap font-bold font-playfair-display text-left pr-2 py-4 min-w-[10rem] md:min-w-[24rem]">Tidy Advanced</th>
<th className="text-bold text-center px-2 py-4 sm:invisible">Essential</th>
<th className="text-bold text-center px-2 py-4 sm:invisible">Premium</th>
<th className="text-bold text-center px-2 py-4 sm:invisible">Advanced</th>
</tr>
</thead>
{/* Table body */}
<tbody>
{/* Row */}
<tr className="border-t first:border-t-2 border-slate-200">
<td className="text-sm sm:text-base font-medium text-slate-800 pr-2 py-4">
<div className="flex items-center justify-between max-w-xs">
<div>Custom Labels</div>
{/* Tooltip */}
<Tooltip>
<div className="text-xs text-slate-100">Keep team shipping simple and take control of your company.</div>
</Tooltip>
</div>
</td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
</tr>
{/* Row */}
<tr className="border-t first:border-t-2 border-slate-200">
<td className="text-sm sm:text-base font-medium text-slate-800 pr-2 py-4">
<div className="flex items-center justify-between max-w-xs">
<div>Visitor Access</div>
{/* Tooltip */}
<Tooltip>
<div className="text-xs text-slate-100">Keep team shipping simple and take control of your company.</div>
</Tooltip>
</div>
</td>
<td className="text-sm px-2 py-4 text-center font-medium"></td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
</tr>
{/* Row */}
<tr className="border-t first:border-t-2 border-slate-200">
<td className="text-sm sm:text-base font-medium text-slate-800 pr-2 py-4">
<div className="flex items-center justify-between max-w-xs">
<div>Traffic Tracking</div>
{/* Tooltip */}
<Tooltip>
<div className="text-xs text-slate-100">Keep team shipping simple and take control of your company.</div>
</Tooltip>
</div>
</td>
<td className="text-sm px-2 py-4 text-center font-medium"></td>
<td className="text-sm px-2 py-4 text-center font-medium"></td>
<td className="text-sm px-2 py-4 text-center font-medium">
<svg className="w-3 h-3 fill-current text-emerald-500 inline-flex" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
<path d="M10.28 2.28L3.989 8.575 1.695 6.28A1 1 0 00.28 7.695l3 3a1 1 0 001.414 0l7-7A1 1 0 0010.28 2.28z" />
</svg>
</td>
</tr>
</tbody>
</table>
</div>
</div>
{/* CTA */}
<div className="text-center">
<Link className="btn text-white bg-blue-600 hover:bg-blue-700 group" href="/request-demo">
Request Demo <span className="tracking-normal text-blue-300 group-hover:translate-x-0.5 transition-transform duration-150 ease-in-out ml-1">-&gt;</span>
</Link>
</div>
</div>
</div>
</section>
)
}