Case study · Retail & IT Services
Unique Computers
A computer store that had been trading in Ferozepur for twenty-two years with no presence online. We built its first web presence in hand-written HTML, CSS and JavaScript, with no framework and no build step.
- HTML5
- CSS3
- Vanilla JavaScript
- IntersectionObserver
- Lottie
- Static hosting

- JavaScript, uncompressed
- 8.7 KB
- CSS, uncompressed
- 52 KB
- Build steps
- 0
- No server to run
- Static
01 The problem
A twenty-two-year reputation that stopped at the shop door
Unique Computers sells, repairs, upgrades and networks computers in Ferozepur, Punjab, and has done so for twenty-two years. That reputation is real, but it was entirely offline. It was built on repeat customers and word of mouth, and anyone who had not already been told about the shop had no way to find it.
That cost the shop in two ways. Someone searching for laptop repair in Ferozepur found nothing. And someone who had been given the shop’s name had no way to check, before making the trip, that it was real, established and worth visiting. The shop’s main advantage is the trust it has built over two decades, and there was nothing online to point people to.
The obvious build was a catalogue with products, prices, stock and a cart. For this shop it was the wrong choice. A store like this changes what it carries from week to week, and hardware prices move constantly. A published price list would have been wrong within a month. A wrong price is worse than no price, because the owner then has to keep updating it or apologise for it.
So the real requirement was this: show the shop’s range, skill and reliability without stating anything that goes out of date. Every fact on the page had to still be true a year later, with nobody editing it.
02 The approach
Choose the smallest thing that solves it
Three decisions shaped the build, and each one was about removing something rather than adding it.
A static site, chosen on purpose
There is no dynamic data on this site: no accounts, no cart, no inventory, no user-generated content. So there is no server. The whole thing is plain files served from Hostinger’s CDN.
WhyThere is no server to start up or patch, and no runtime that can fall over at 2am. A single-location retail business would be paying to keep a server running for features it will never use.
No framework, and no build step
React or Next.js would have brought a toolchain with them — a dependency tree, a build, a deploy pipeline. The finished site is 8.7 KB of JavaScript and 52 KB of CSS, uncompressed, in files a person can open and read.
WhyA build system needs ongoing maintenance, and it makes the client dependent on whoever set it up. Here the owner can hand the folder to any developer, or edit the text himself. The project never needed that extra complexity, so we did not make the client pay to maintain it.
Keep the convention, drop the dependency
The markup uses data-aos="fade-up" attributes — the API convention from AOS, a widely used scroll-animation library. AOS itself is never loaded. One IntersectionObserver adds an .aos-animate class at 20% visibility, and CSS transitions do the rest.
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) entry.target.classList.add("aos-animate");
});
}, { threshold: 0.2 });
document.querySelectorAll("[data-aos]").forEach(el => observer.observe(el));WhyIt is eight lines instead of a library, and any developer who has used AOS will recognise the markup straight away. The familiar attribute names were what we wanted from AOS, not the library code.
Motion that finishes
Every reveal on the site is triggered by an observer, and the expensive ones call unobserve() after they fire. Nothing animates off-screen, and nothing loops forever draining a phone battery. Each animation runs once, when something first appears, and then stops.
03 Challenges
Two problems that needed extra work
More than sixty-five brand logos that people would actually look at
The store carries dozens of brands, and that range is a real selling point. It is the reason people drive to the shop rather than ordering online. But more than sixty-five logos in a static grid look like filler, and people scroll straight past them. The strongest fact on the page would have been the one nobody noticed.
The wall assembles itself. When the section first scrolls into view, every logo is thrown to a random point in 3D (up to ±150px on X and Y, 300–1300px toward the viewer, scaled 3×). Each one then settles into its true position over 4.5s on a cubic-bezier(0.23, 1, 0.32, 1) curve, staggered 180ms apart.
The offsets are generated on each page load, so the assembly never plays the same way twice. The wall also drifts ±5px with the pointer, which makes it feel more like a physical object. The observer calls unobserve() after the first trigger, so if you scroll back up, the wall stays assembled. A wall that rebuilt itself every time you scrolled past would soon feel like a gimmick.
Instead of skimming past the logos, visitors watch more than sixty-five brands arrive, and the number sticks. That was the reason for putting them there.
An auto-advancing slider you can actually read
Auto-rotating carousels usually go wrong in one of two ways. If they move too fast, the content is gone before you finish reading it. If they are slow enough to read, you cannot tell when the slide is about to change, so you never really start reading. Both problems have the same cause: the viewer cannot see how much time they have.
Each slide holds for 7s, with a progress bar that fills over 6.5s. The bar is a single CSS transition set once per slide, not a JavaScript timer ticking every frame. The browser runs the animation, so it stays smooth under load. The half-second gap is deliberate: the bar visibly finishes before the slide changes, rather than racing it.
Hovering pauses the timer and freezes the bar. Each slide also enters with one of five effects (fade, zoom, slide-left, slide-right, bounce), picked by its index, so someone who watches several slides in a row does not see the same animation over and over.
Each slide stays up long enough to read, the bar shows how much time is left, and anyone who needs longer can hover to pause it.
04 What we built
A one-page showcase with no online shop
A single-page site built around what a new customer wants to know: what the shop does, whether it is any good, and how to reach it.
Storefront
- Hero with animated tagline
- Four core services — sales & accessories, repairs & upgrades, networking, support
- Device specialisation grid: laptops, processors, monitors, printers, keyboards, mice, speakers
- Hardware showcase of representative stock
Proof
- Brand wall of 65+ logos with staggered 3D assembly
- 17 named customer testimonials on a paced carousel
- Years-in-business counter, revealed on scroll
Contact
- One-tap call, WhatsApp and email in header, body and footer
- Full-screen map overlay with directions
- Escape-to-close and body scroll lock on every overlay
Craft
- 17 Lottie animations for iconography rather than static images
- Scroll-reveal on a single shared observer
- Mobile menu with scroll lock
We left one thing out on purpose. For a local retail business, a sale starts with a phone call rather than an online checkout. So call, WhatsApp and directions appear in the header, the body and the footer, and there is no cart anywhere on the site.
05 The result
Delivered and live, with nothing to go out of date
Unique Computers has a web presence for the first time in twenty-two years of trading. It loads as static files with no server to keep running, no dependency tree to update and no platform fee attached to it.
It also says nothing that will go out of date. There are no prices to go stale and no stock counts to be wrong, so the site will be as accurate in three years as it is today, with nobody maintaining it. That became our brief once we ruled out the catalogue, and it is the part of the build we are most sure we got right.
We do not run analytics on this build, so we have no traffic or conversion figures to quote. We would rather leave that space empty than fill it with numbers we cannot back up. You can judge the site for yourself; it is one click away.
