Changes: - Add FAL_KEY and GEMINI_API_KEY to .env.example - Update picture-it to use ~/.config/opencode/.env (unified creds) - Remove shodh-memory skill (no longer used) - Remove alphaear-* skills (deprecated) - Remove thai-frontend-dev skill (replaced by website-creator) - Remove theme-factory skill - Add mql-developer skill (MQL5 trading) - Add ecommerce-astro skill (Astro e-commerce) - Add website-creator skill (Next.js + Payload CMS) - Update install script for new skills
29 lines
847 B
TypeScript
29 lines
847 B
TypeScript
interface CheckoutSingleItemDarkProps {
|
|
thumb_src: string;
|
|
thumb_alt: string;
|
|
title: string;
|
|
color?: string;
|
|
size?: string;
|
|
price: number;
|
|
}
|
|
|
|
export default function CheckoutSingleItemDark({ thumb_src, thumb_alt, title, color, size, price }: CheckoutSingleItemDarkProps) {
|
|
return (
|
|
<div className="flex gap-4 py-4 border-b border-gray-700">
|
|
<img
|
|
src={thumb_src}
|
|
alt={thumb_alt}
|
|
className="w-20 h-20 object-cover rounded-lg"
|
|
/>
|
|
<div className="flex-1">
|
|
<h4 className="font-medium text-white">{title}</h4>
|
|
{(color || size) && (
|
|
<p className="text-sm text-gray-400">
|
|
{[color, size].filter(Boolean).join(' / ')}
|
|
</p>
|
|
)}
|
|
<p className="font-bold mt-1 text-green-400">฿{price.toLocaleString()}</p>
|
|
</div>
|
|
</div>
|
|
);
|
|
} |