import React from "react";
import { motion } from "framer-motion";
const companyName = "Your Company Name";
const phoneNumber = "0000000000";
const salesEmail = "sales@example.com";
function Icon({ type, className = "" }) {
const commonProps = {
className,
viewBox: "0 0 24 24",
fill: "none",
stroke: "currentColor",
strokeWidth: 2,
strokeLinecap: "round",
strokeLinejoin: "round",
"aria-hidden": "true",
};
const icons = {
factory: (
<svg {...commonProps}>
<path d="M3 21h18" />
<path d="M5 21V9l5 3V9l5 3V5h4v16" />
<path d="M9 17h1" />
<path d="M14 17h1" />
</svg>
),
ruler: (
<svg {...commonProps}>
<path d="M4 16 16 4l4 4L8 20l-4-4Z" />
<path d="m12 8 2 2" />
<path d="m9 11 2 2" />
<path d="m6 14 2 2" />
</svg>
),
package: (
<svg {...commonProps}>
<path d="m12 3 8 4.5v9L12 21l-8-4.5v-9L12 3Z" />
<path d="M4 7.5 12 12l8-4.5" />
<path d="M12 12v9" />
</svg>
),
truck: (
<svg {...commonProps}>
<path d="M3 6h11v10H3z" />
<path d="M14 10h4l3 3v3h-7" />
<circle cx="7" cy="18" r="2" />
<circle cx="17" cy="18" r="2" />
</svg>
),
check: (
<svg {...commonProps}>
<circle cx="12" cy="12" r="9" />
<path d="m8 12 3 3 5-6" />
</svg>
),
phone: (
<svg {...commonProps}>
<path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.35 1.9.66 2.8a2 2 0 0 1-.45 2.11L8.05 9.9a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.31 1.84.53 2.8.66A2 2 0 0 1 22 16.92Z" />
</svg>
),
mail: (
<svg {...commonProps}>
<rect width="18" height="14" x="3" y="5" rx="2" />
<path d="m3 7 9 6 9-6" />
</svg>
),
};
return icons[type] || null;
}
const featureCards = [
{
icon: "factory",
title: "In-House Production",
text: "Manufactured under one roof for better control.",
},
{
icon: "ruler",
title: "Custom Sizing",
text: "Built to fit your product, specs, and volume.",
},
{
icon: "package",
title: "Corrugated Boxes",
text: "Shipping, retail, display, and specialty packaging.",
},
{
icon: "truck",
title: "Reliable Delivery",
text: "Responsive service and dependable timelines.",
},
];
const capabilities = [
"Custom corrugated boxes",
"Short and large production runs",
"Prototype and sample development",
"Die-cut packaging",
"Printed packaging options",
"Fast quote turnaround",
];
function runBasicChecks() {
console.assert(featureCards.length === 4, "Expected four feature cards.");
console.assert(capabilities.length >= 6, "Expected at least six capabilities.");
console.assert(Boolean(companyName), "Expected a company name placeholder.");
console.assert(Boolean(phoneNumber), "Expected a phone number placeholder.");
console.assert(Boolean(salesEmail), "Expected a sales email placeholder.");
}
runBasicChecks();
export default function InHouseMfgWebsite() {
return (
<main className="min-h-screen bg-neutral-950 text-white">
<section className="relative overflow-hidden px-6 py-20 md:px-16 lg:px-24">
<div className="absolute inset-0 bg-gradient-to-br from-neutral-900 via-neutral-950 to-black" />
<div className="relative mx-auto grid max-w-7xl items-center gap-12 lg:grid-cols-2">
<motion.div
initial={{ opacity: 0, y: 30 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.6 }}
>
<p className="mb-4 inline-flex rounded-full border border-white/15 px-4 py-2 text-sm text-neutral-300">
In-House Manufacturing • Custom Packaging • Fast Turnarounds
</p>
<h1 className="mb-6 text-5xl font-bold tracking-tight md:text-6xl">
Packaging built fast, right here in-house.
</h1>
<p className="mb-8 max-w-xl text-lg leading-8 text-neutral-300">
We manufacture custom boxes and packaging solutions with tighter quality control, quicker lead times, and direct support from start to finish.
</p>
<div className="flex flex-col gap-4 sm:flex-row">
<a href="#quote" className="rounded-2xl bg-white px-6 py-3 font-semibold text-neutral-950 shadow-lg transition hover:bg-neutral-200">
Request a Quote
</a>
<a href="#capabilities" className="rounded-2xl border border-white/20 px-6 py-3 font-semibold text-white transition hover:bg-white/10">
View Capabilities
</a>
</div>
</motion.div>
<motion.div
initial={{ opacity: 0, scale: 0.96 }}
animate={{ opacity: 1, scale: 1 }}
transition={{ duration: 0.6, delay: 0.15 }}
className="rounded-[2rem] border border-white/10 bg-white/5 p-6 shadow-2xl backdrop-blur"
>
<div className="grid gap-4 sm:grid-cols-2">
{featureCards.map((card) => (
<div key={card.title} className="rounded-3xl bg-neutral-900 p-5 shadow-lg">
<Icon type={card.icon} className="mb-4 h-8 w-8 text-white" />
<h3 className="mb-2 font-semibold">{card.title}</h3>
<p className="text-sm leading-6 text-neutral-400">{card.text}</p>
</div>
))}
</div>
</motion.div>
</div>
</section>
<section id="capabilities" className="px-6 py-20 md:px-16 lg:px-24">
<div className="mx-auto max-w-7xl">
<div className="mb-12 max-w-2xl">
<p className="mb-3 text-sm font-semibold uppercase tracking-widest text-neutral-400">What We Do</p>
<h2 className="text-4xl font-bold">Built for businesses that need packaging they can count on.</h2>
</div>
<div className="grid gap-6 md:grid-cols-3">
{capabilities.map((item) => (
<div key={item} className="flex items-start gap-3 rounded-3xl border border-white/10 bg-white/[0.03] p-5">
<Icon type="check" className="mt-1 h-5 w-5 shrink-0" />
<p className="text-neutral-200">{item}</p>
</div>
))}
</div>
</div>
</section>
<section className="bg-white px-6 py-20 text-neutral-950 md:px-16 lg:px-24">
<div className="mx-auto grid max-w-7xl gap-10 lg:grid-cols-2">
<div>
<p className="mb-3 text-sm font-semibold uppercase tracking-widest text-neutral-500">Why In-House Matters</p>
<h2 className="mb-6 text-4xl font-bold">Less waiting. Fewer headaches. Better communication.</h2>
<p className="text-lg leading-8 text-neutral-700">
Because production is handled in-house, we can move faster, catch details earlier, and keep you updated throughout the process. From quote to delivery, you work directly with the team making your packaging.
</p>
</div>
<div className="rounded-[2rem] bg-neutral-100 p-8">
<h3 className="mb-5 text-2xl font-bold">Ideal for:</h3>
<ul className="space-y-4 text-neutral-700">
<li>• Manufacturers needing dependable shipping boxes</li>
<li>• Food, industrial, retail, and distribution businesses</li>
<li>• Companies needing custom sizes or repeat orders</li>
<li>• Buyers who want quick answers and honest timelines</li>
</ul>
</div>
</div>
</section>
<section id="quote" className="px-6 py-20 md:px-16 lg:px-24">
<div className="mx-auto max-w-4xl rounded-[2rem] border border-white/10 bg-white/[0.04] p-8 text-center shadow-2xl md:p-12">
<h2 className="mb-4 text-4xl font-bold">Need pricing on a custom box?</h2>
<p className="mx-auto mb-8 max-w-2xl text-neutral-300">
Send your box size, quantity, material preference, and any printing needs. We’ll help you find the right packaging solution.
</p>
<div className="flex flex-col justify-center gap-4 sm:flex-row">
<a href={`${phoneNumber}`} className="inline-flex items-center justify-center gap-2 rounded-2xl bg-white px-6 py-3 font-semibold text-neutral-950 transition hover:bg-neutral-200">
<Icon type="phone" className="h-5 w-5" /> Call Us
</a>
<a href={`${salesEmail}`} className="inline-flex items-center justify-center gap-2 rounded-2xl border border-white/20 px-6 py-3 font-semibold text-white transition hover:bg-white/10">
<Icon type="mail" className="h-5 w-5" /> Email Sales
</a>
</div>
</div>
</section>
<footer className="border-t border-white/10 px-6 py-8 text-center text-sm text-neutral-500">
© {new Date().getFullYear()} {companyName}. Custom packaging manufactured in-house.
</footer>
</main>
);
}