yslootahrobotics/src/components/robotics/ProductSpecTable.tsx
Najjar 873026a4a9
Some checks are pending
CI/CD / test-and-build (push) Waiting to run
CI/CD / deploy (push) Blocked by required conditions
feat: monochrome black & white rebrand + new Pudu robots
- Convert site from royal-blue theme to black/white monochrome (desaturate
  all blue-hued colors; keep WhatsApp green and error red)
- Swap blue circular brand logo for mono YS mark; regenerate favicon/PWA icons
- Add 6 Pudu robots (CC1 Pro, MT1 Max, MT1 Vac, T600, T600 Underride, BG1 Pro)
- Fix favicon.ico to RGBA (Next 16 Turbopack decode) and Stripe apiVersion type

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-06 13:20:26 +04:00

31 lines
900 B
TypeScript

'use client';
import type { RobotSpec } from '@/data/robots';
export function ProductSpecTable({ specs }: { specs: RobotSpec[] }) {
return (
<table style={{ width: '100%', borderCollapse: 'collapse', color: '#e7e7e7' }}>
<tbody>
{specs.map((s) => (
<tr key={s.label} style={{ borderBottom: '1px solid rgba(94, 94, 94, 0.1)' }}>
<td
style={{
padding: '0.65rem 0',
fontSize: '0.74rem',
letterSpacing: '0.14em',
textTransform: 'uppercase',
color: '#a8a8a8',
width: '46%',
verticalAlign: 'top',
}}
>
{s.label}
</td>
<td style={{ padding: '0.65rem 0', color: '#fcfcfc', fontSize: '0.92rem' }}>{s.value}</td>
</tr>
))}
</tbody>
</table>
);
}