Our philosophy on technology matches our approach to industrial laser engraving: prioritize precision, eliminate unnecessary bloat, and choose durable systems built to last.
Modern websites are often burdened by megabytes of compiled JavaScript bundles, hydration overhead, and fragile runtime dependencies. For New Mex Engravers, we transitioned from a compiled Next.js SPA bundle to a clean, portable static architecture with three fundamental goals:
Rather than shipping compiled framework chunks, the site relies on clean native HTML5 markup and a master stylesheet using CSS custom properties, Flexbox, and CSS Grid.
To maintain standard static HTML pages without duplicating navigation across every file, /assets/js/main.js asynchronously loads standalone header.html and footer.html fragments on DOM load and binds active link states and mobile menu controls.
The global search bar in the header executes entirely in your browser using search-index.json and fuzzy matching. Every product card, material guide, and service item includes structured data-title, data-category, and data-keywords attributes.
Category filters on the homepage and portfolio page, multi-image product switchers, image zoom lightboxes, and deep-link hash scrolling (which automatically unfilters hidden cards and highlights the target item) are powered by lightweight vanilla JavaScript.