
Bespoke Frontend Architecture, Micro-Interactions & Production DevOps Hardening
Andrés Morales
AI & Full-Stack Systems Architect
Today's Challenge: Brand Individuality vs. Engineering Consistency
Our engineering challenge today was twofold: delivering bespoke, zero-template digital experiences across multiple independent brands without technical debt, while enforcing strict mobile audits, performance budgets, and server hardening on our Linux production VPS.
We tackled two major application areas:
- Gato Colectivo & Local Ventures (Opuamesa, Afrobella): Crafting distinctive visual signatures, artisanal palettes, and fluid micro-interactions while standardizing common contact funnels and shared footer topologies.
- Kambelleh Dashboard: Refactoring a spatial management workspace, removing navigation clutter, ensuring light-mode clarity with regional accents, and preserving high-fps responsiveness via
motion/react.

Frontend Architecture Highlights
1. Decoupled Components & System Theming
Tailoring bespoke layouts while keeping maintainability requires composable primitives via Shadcn UI and Tailwind CSS. We decoupled animation layers and state hooks to prevent layout shifts and flickering (FOUC):
// Theme observer hook for seamless dark/light synchronization
import { useEffect, useState } from 'react';
export function useThemeObserver() {
const [isDark, setIsDark] = useState(false);
useEffect(() => {
const html = document.documentElement;
const checkTheme = () => setIsDark(html.classList.contains('dark'));
checkTheme();
const observer = new MutationObserver(checkTheme);
observer.observe(html, { attributes: true, attributeFilter: ['class'] });
return () => observer.disconnect();
}, []);
return isDark;
}
2. Comprehensive Mobile Audits
Quality assurance happens on physical devices. We audited layout viewport stability, touch target boundaries (min 48px), and reduced motion compliance (prefers-reduced-motion) across every dynamic route.

DevOps & Production Server Hardening
A modern UI must be supported by an unyielding infrastructure stack. On our Linux production VPS, we enforce continuous hardening:
- Strict UFW Firewall: Only ports 22 (hardened SSH), 80, and 443 are exposed. Unsolicited traffic on arbitrary ports is dropped immediately.
- Fail2ban Jails: 2 active jails actively monitoring
sshdanddocker-authwith exponential bans. - Caddy Reverse Proxy & HTTP/3: Zero-friction QUIC protocol and automated TLS 1.3 lifecycle management.
- Automated Telegram Backups: Cron-scheduled encrypted database snapshots routed straight to a secured Telegram vault.

Key Takeaways
Building in public proves that custom UI designs and strict backend reliability can thrive together when guided by solid architectural boundaries.
Looking to scale your frontend with battle-tested cloud infrastructure? Let's connect at andresmorales.com.co.
Need to automate your business operations or ship high-velocity web products?
I architect AI pipelines, modernize stacks with Next.js, and harden Linux infrastructure. Let’s talk architecture, scalability, and measurable ROI.