3s-Soft · our eCommerce services site

3s-soft.com: a Next.js site with the framework JavaScript taken out

Our eCommerce services site. Every page is exported as static HTML, the Next.js runtime is removed after the build, and a PHP script on the same host sends the forms.

3s-soft.com home page with the headline Amazon, Shopify & marketplace listings, done right, an audit button and an Amazon Brand Story screenshot

The brief

3s-soft.com is where 3s-Soft sells listing and catalogue work to Amazon, Shopify and marketplace sellers. We wanted pages that load quickly on a phone and forms handled on our own hosting.

What needed to change

A Next.js site sends React and its router to every visitor by default, even to pages with nothing interactive on them. The site also needed analytics that start only after a visitor agrees to them.

What we did

  • Every page is exported to static HTML at build time.
  • A post-build step removes the framework scripts, preloads and React payloads from each page. The only script a visit runs is the site’s own, loaded after the page has rendered.
  • That script is plain TypeScript and handles the menu, the cookie choice, the forms and click tracking. Analytics load only after consent.
  • The contact and audit forms post to a PHP script on the same host, which checks the fields and sends the email over SMTP.
  • Every number on the site lives in one data file where each entry has a source link and a checked-on date. The build stops if either is missing.
3s-soft.com on a phone, with the same headline, the audit and WhatsApp buttons and the cookie banner

What this shows

  • With the framework scripts gone, a phone has less JavaScript to download and run on each page.
  • Keeping every proof number in one file, with its source, makes the monthly re-check quick.

Need something like this?

Tell us what the site or app has to do. Fixed quote after a 15-min call, before any work starts.

WhatsAppBook a 15-min call