Logic Controls Freelance 2026

logic-controls.com: a 4-language site, accessible and tested end to end

Freelance build of logic-controls.com in English, Arabic (RTL), Chinese and Turkish: Astro on Cloudflare Workers, WCAG 2.2 AA, Lighthouse 98–100 mobile.

Role
Build and delivery, freelance Freelance
Company
Logic Controls industrial automation, Egypt (freelance)
When
2026
Stack
  • Astro
  • TypeScript
  • Tailwind CSS
  • Cloudflare Workers
  • Turnstile
  • Vitest
  • Playwright
languages
4
Lighthouse, mobile
98–100
unit + end-to-end tests
950 + 900

Figure 1 logic-controls.com on a laptop and a phone

On this page The problem
01

The problem

An industrial-automation company in Egypt needed one site for two audiences: local factories, Arabic first, and foreign manufacturers setting up plants in Egypt, in English, Chinese and Turkish. It had to be fast, accessible and cheap to run: the domain is the only paid item.

02

Approach

  1. An interactive HMI demo and motion design that respects reduced-motion settings.
  2. A contact form with spam protection (Turnstile, honeypot, validation) and email delivery from the Worker.
  3. CI with about 950 unit tests and 900 end-to-end tests across Chrome, Android and iPhone Safari, plus axe accessibility checks.
03

Architecture

Fig. 2 logic-controls.com, 4 languages Component view
  • Users and apps

    • Visitors (EN, AR, ZH, TR)
  • Orchestration

    • Worker: language redirect, form API
  • Services

    • Astro static build, 4 locales
    • Interactive HMI demo
    • Email delivery
  • Infrastructure

    • Cloudflare Workers (free tier)
  • Quality

    • Turnstile
    • CI: ~950 unit, ~900 E2E, axe

Connections

  • Visitors (EN, AR, ZH, TR) to Cloudflare Workers (free tier)
  • Cloudflare Workers (free tier) to Worker: language redirect, form API
  • Cloudflare Workers (free tier) to Astro static build, 4 locales
  • Astro static build, 4 locales to Interactive HMI demo
  • Worker: language redirect, form API to Turnstile
  • Worker: language redirect, form API to Email delivery
  • CI: ~950 unit, ~900 E2E, axe to Astro static build, 4 locales (tests every push and deploy)

Figure 2 Component view: a static Astro build served by Cloudflare Workers; a small Worker handles the language redirect and the contact form; automated tests run in CI and before every deploy. Diagrams show the components named in public descriptions of the work. They are simplified, not complete system maps.

04

Outcome

  • Live at logic-controls.com in 4 languages.
  • WCAG 2.2 AA with zero axe violations; Lighthouse 98–100 on mobile and 100 on desktop.
  • About 950 unit and 900 end-to-end tests run in CI.
05

Stack

Services
AstroTypeScriptTailwind CSS
Infrastructure
Cloudflare Workers
Quality
TurnstileVitestPlaywrightaxe-core

Keep reading

Questions about this build?

Ask my AI about “logic-controls.com, 4 languages”.

It answers from my CV and public profile, in English or Arabic.