Overview
Alvan Naghsh Pood is a textile factory that dyes, prints and finishes fabric for other manufacturers: cotton, synthetic and blended cloth, plain and stretch, up to 180cm wide. It runs three shifts and handles 100,000 meters of fabric a day.
Their buyers are other businesses, so the site has one job: show the scale and the quality control, then make it easy to ask for a quote. It is live at alvan.work, in Persian (the default) and English.
Tech Stack
- Astro.js with TypeScript: every page is built ahead of time as a plain file
- Tailwind CSS and DaisyUI: one theme for light, and a dark mode in the brand’s own earthy colours
- Node.js: the contact form handler, written with no outside packages
- Docker and Caddy: the form runs in its own small box on my server, Caddy serves the pages
- GitHub Actions: a push builds the site and the server picks it up within a minute
- Brevo: sends the form emails from the site’s own domain
Features
- Two languages, right to left and left to right. Persian pages flip the whole layout and drop the letter spacing that would pull Persian letters apart. Every page has a twin in the other language.
- A blog in both languages. A post has the same address in both, so the language switch and search engines always find its pair.
- A quote form that reaches the factory. It checks the input, drops bots, limits how often one visitor can send, and caps the emails per day so the shared sending account never runs dry.
- Safe on a shared server. The pages are plain files. The form box gets a fixed slice of memory and processor, read-only files and no open ports, so if it ever breaks, only the form stops.
- Real company facts, checked against the official business register.
- A gallery and an About page, and a footer laid out like a dye-house shade card.
Outcome
The factory has a fast, two-language site on its own domain, and quote requests land straight in its inbox. A change to the site is one push away.