import Link from "next/link"; import { Metadata } from "next"; import { Card, CardHeader, CardTitle } from "@/components/ui/card"; import { Button } from "@/components/ui/button"; import { Gauge, Ruler, Timer, Focus, MoveRight, ChevronRight, } from "lucide-react"; export const metadata: Metadata = { title: "Laser Toolkit", description: "Quick utilities for scaling settings and converting resolution units.", }; type Tool = { slug: string; title: string; description: string; icon: React.ComponentType>; }; const TOOLS: Tool[] = [ { slug: "power-lens-scaler", title: "Power & Lens Scaler", description: "Scale speed, power, and frequency when wattage or lens field size changes.", icon: Gauge, }, { slug: "dpi-lpi-dpcm", title: "DPI ▸ LPI ▸ DPCM", description: "Convert between DPI, LPI, and DPCM. Bidirectional. Assumes LPI≈DPI for raster rows (common workflow).", icon: Ruler, }, // NEW { slug: "pulse-overlap", title: "Pulse Overlap", description: "Given speed (mm/s), frequency (kHz) and spot size (µm), compute pulse spacing, overlap %, and pulses/mm.", icon: MoveRight, }, { slug: "hatch-overlap", title: "Hatch Overlap", description: "Given spot size (µm) and hatch gap (µm) or LPI, compute hatch overlap %. Great for vector fills.", icon: Ruler, }, { slug: "job-time-estimator", title: "Job Time Estimator", description: "Quick estimate for raster or vector jobs. Uses dimensions, DPI/LPI or path length, speed, passes, and a small overhead factor.", icon: Timer, }, { slug: "beam-spot-size", title: "Beam Spot Size", description: "Approximate diffraction-limited spot size from wavelength, focal length, beam diameter, and M².", icon: Focus, }, ]; export default function ToolkitSplash() { return (
{/* Header */}

Laser Toolkit

Handy calculators and converters for daily laser work —{" "} hover for details.

{/* Grid of tools */}
{TOOLS.map((tool) => (
{tool.title} {/* Full description on hover (no truncation) */}

{tool.description}

))}
); }