# SnoreLab

Marketing and content website of the SnoreLab snoring app, built as the React front end of a WordPress theme. Pages mount by id, content comes from the WordPress REST API, and the site has an article library, two sleep questionnaires and a remedy shop.

- **Facts:** 2024, Built for a client, Completed, role: Team member
- **What I did:** I was the frontend developer in the client's team and built the React front end of the WordPress theme.
- **Scope:** frontend
- **Domain:** healthcare
- **Stack:** React, Swiper, Axios, Sass, Webpack, REST APIs, Core Web Vitals
- **Live:** https://www.snorelab.com/
- **Page:** https://sergey-petrinich.vercel.app/work/snorelab
- **Screenshot:** https://sergey-petrinich.vercel.app/work/snorelab.webp

Capabilities:

- Home, how it works, reviews, success stories, FAQ, about, careers, press and media, privacy and terms pages
- Header, mobile menu and footer rendered in React on every page
- Content from the WordPress REST API with Advanced Custom Fields data, loaded by two data hooks
- Article list with category tabs, a ?category= deep link and search over title and excerpt, filtered in the browser
- Article page with HTML from the editor, references, share links and related articles
- Helpful vote and feedback form per article, with the vote kept in localStorage
- Stop-BANG and Epworth questionnaires driven by questions and result bands set in the CMS
- Remedy shop with a category filter and a product page with gallery, reviews and remedies
- Careers page with open roles and a resume upload form with a progress bar
- Swiper carousels with fractional slides per view at several breakpoints
- Sass in the 7-1 layout, 60+ files

Back to the [work archive](https://sergey-petrinich.vercel.app/work.md) · [CV](https://sergey-petrinich.vercel.app/cv.md) · [all of it in one file](https://sergey-petrinich.vercel.app/llms-full.txt)
