Juicy Tales Website
A prototype website for my friend Jay’s writing, where each piece plays out passage by passage, typed across the screen over a music track.
- Next.js
- React
- TypeScript
- Tailwind
- Sass
Juicy Tales is a website prototype for my friend Jay, who writes poems, prose, and short stories. I built it from April to June 2024 with Next.js, React, TypeScript, Tailwind, and Sass. I set it aside unfinished when my CHLM projects needed the time, and since Jay hasn’t written new pieces or wanted a domain yet, it’s stayed on the back burner. Jay gave me permission to show it as a portfolio piece. Two pieces are playable, “The Juice” and “The Carnival Mind.” The rest of the titles on the menu, and the About page, haven’t been built yet.
The idea came from how Jay wrote. He put each passage on its own numbered card and read them in order, and the pauses between cards gave the writing its weight. I wanted the site to feel the same way. When you press Begin, the title fades out, a music track starts, and the first passage types itself out letter by letter over a dark illustration. You scroll down for the next one. Each passage starts typing when it comes into view and stops when you scroll past it.
The typing comes from the typewriter-effect package, the fades and scroll triggers from Framer Motion, and the music from react-use-audio-player. The music waits for the Begin button on purpose, because not everyone likes music that starts on its own, so visitors choose when it begins. Since the experience depends on sound, first-time visitors also get a small reminder to turn their volume up, with a “Don’t Remind Me” button that’s saved in localStorage. Most of the illustrations are AI-generated, with a couple of free stock photos, and the music tracks are free stock placeholders I expect to replace.
I built the first story page the slow way: every passage had its own ref, its own animation hooks, and its own typewriter, copied and adjusted by hand. Before adding a second piece, I wrote a developer notes file describing how that page worked, then pulled the repeated parts into a reusable LiteratureStanza component. After that, each piece’s text lived in a JSON file, and adding a new piece meant adding text and images instead of copying hundreds of lines of code. “The Carnival Mind” was the test that the component actually worked. Storing the writing in a PostgreSQL database with Prisma was planned for later but never started.
In August 2026 I brought the project up to date. Next.js 14 had stopped getting security patches, so I moved to Next.js 16 and React 19. I removed NextUI instead of migrating it, since it was only ever a wrapper and crashed under React 19, and that alone cut about 240 packages. The build passed, but the story title’s color animation had quietly broken. Turbopack ignores the :export block that Sass uses to share values with TypeScript, so the color arrived as the string “undefined.” Moving those colors into a plain TypeScript file fixed it, and it taught me that a passing build doesn’t prove the app works.