Agency Portfolio Website for WordPress
Frontend markup for the Brain BMS portfolio website ahead of WordPress integration. The interface purpose and the scope of my contribution.
219
1 min
Chillofi is a browser-based lo-fi player for work, study, and relaxation. Listening starts by opening the page, choosing a background, starting playback, and adjusting the volume. The retro interface keeps the main controls on a single screen.
Playback and visual settings work independently. The background and visual noise can be adjusted before or during a listening session.
The player is paused when the page opens. Sound starts through a button, so the site does not play music before the user acts. This also takes browser autoplay restrictions into account.
A native HTML audio element handles playback. On the first click, it connects to the Web Audio API, with a GainNode controlling volume. React keeps the button state in step with play and pause events. When a track ends, the player advances to the next one and loops back after the last track.
The background can change independently of the music. A visual noise effect can be switched on or off. Separate providers hold background and noise state so that the screen and controls share the same settings.
Volume, background choice, and noise preference are stored in this browser's localStorage. They remain available on a return visit, without being synced automatically across devices.
The six background illustrations were generated with ChatGPT and prepared as WebP images. They are bundled with the project, so changing the scene does not depend on a separate image service.
Chillofi uses TypeScript, React, and Next.js. A server route reads the music directory bundled with the project and returns file URLs to the player. This suits a small collection, with a clear limitation. Updating the selection means changing the files and deploying the app again. A Next.js server runtime is still required.
The collection features tracks by Purrple Cat. The screen credits the artist and license, with recording details in AUDIO-LICENSES.md. The source code's MIT license and the music's licensing terms are documented separately.
Labels are available in English, Russian, German, and Japanese. The app chooses a supported language from the browser's Accept-Language header. If the first language is unsupported, it falls back to English.
Chillofi brings music playback, changing backgrounds, and saved preferences into a single interface. Its source code is available on GitHub. Frontend development for a similar browser project can begin with a discussion of the user flow, constraints, and scope of an initial version.
Similar categories:
Frontend markup for the Brain BMS portfolio website ahead of WordPress integration. The interface purpose and the scope of my contribution.
219
1 min
The Aquaprofi website for workwear rental and care. Clothing categories, the three-set rotation, service stages, and inquiry contacts.
291
2 min
A stylist website with hairstyle, date, and time selection. Booking requests, Telegram notifications, administration, and appointment confirmation.
364
4 min
The Avtotehspas 126 website, its recovery services, dispatcher contact, pricing inputs, and answers to questions before an inquiry.
390
3 min
Optional cookies are enabled only with your consent. You can decline and still use the site. Your choice is saved on this device for 6 months. Learn more