Skip to content

Redesign around the works, move to Vite - #14

Merged
RedCarpG merged 12 commits into
masterfrom
ccr-81ab975e-am6ioj
Nov 29, 2026
Merged

RedCarpG merged 12 commits into
masterfrom
ccr-81ab975e-am6ioj

Conversation

@RedCarpG

Copy link
Copy Markdown
Owner

What changes

Build

  • Create React App is replaced by Vite. npm run dev, npm run build, npm run preview.
  • Tailwind runs through Vite's PostCSS step, so the generated src/index.css is no longer committed.
  • Unused dependencies are removed, including gasp (a typo of gsap).
  • React stays on 17: react-gsap and react-scrollmagic do not support 18.
  • .github/workflows/pages.yml builds and publishes to GitHub Pages on every push to master.

Home

  • The scroll animation runs about 6.5 screens instead of 15.
  • After the landscape settles, four works rise into the sky one at a time: Agent Skills, ChroniQ, Lost Viking, graphic design. Each has a moving preview: typed skill names, a turning star sphere on a canvas, a clip of the game, and posters dealt through in turn.
  • The page ends on the name and a button to Works. Only a footer strip follows.

Works (replaces Project; /project redirects to /works)

  • Cards grouped as Web & AI, Games and Design, each saying what the work is and where to see it.
  • Design images are shown uncropped in justified rows, with a viewer that steps through a set.
  • /works?section=design opens at the design section.

Other

  • Phone layout fixes: the contact email, the Experience intro and the name on the home page no longer overflow.
  • A 404 page for unknown routes.
  • Images are WebP and load lazily. The build is 3.0 MB, down from about 10 MB.
  • ChroniQ links carry ?lang=en.

How it was checked

  • npm ci and npm run build pass on Node 22.
  • Every page was screenshotted at 1440x900 and at iPhone 13 size, with no console errors and no horizontal overflow.
  • The Vite build was compared side by side with the deployed site before any design change, and matched.
  • In the image viewer, opening, stepping with the arrow key and closing with Escape were exercised in a browser.
  • The game clip was confirmed to pause when its work leaves the stage.

Before merging

  • Set Settings > Pages > Source to "GitHub Actions", or the workflow's deploy step fails. The workflow has not run yet.
  • ?lang=en does nothing until ChroniQ reads it. Today the link still opens ChroniQ in Chinese.

Left alone

  • The Experience page and the résumé PDF are unchanged, pending an updated résumé.
  • The design images have no captions yet.

Generated by Claude Code

CRA is no longer maintained and node-sass does not install on current
Node. Tailwind now runs through Vite's PostCSS step, so the generated
src/index.css is no longer committed. Unused dependencies are dropped,
including gasp (a typo of gsap). React stays on 17 because react-gsap
and react-scrollmagic do not support 18.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MvmRSn3exZ9iNNkys8u5dW
Project page: add ChroniQ, an AI section (agent skills, Cirra Discord
bot), and a play-in-browser button for Lost Viking, whose repository
link pointed at the old name. README documents the Vite commands.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MvmRSn3exZ9iNNkys8u5dW
On phones the contact email ran off the screen, the Experience intro
wrapped one word per line and the name on the home page was clipped.
Unknown routes rendered an empty page. Images are now WebP and load
lazily, which takes the build from 7.8 MB to 2.1 MB. Fonts load from
link tags instead of a CSS import.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MvmRSn3exZ9iNNkys8u5dW
The site led with a 2021 résumé; it now leads with the work.

Home: the scroll animation runs four screens instead of fifteen and
ends in a short introduction with three featured works. Works replaces
Project: cards grouped as Web & AI, Games and Design, each saying what
the work is and where to see it, instead of slides listing tools.
/project redirects to /works. The Games heading carries the Lost
Viking ship sprite.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MvmRSn3exZ9iNNkys8u5dW
The home page showed three cards and nothing else. It now has a
'What I do' section with specifics for AI tools, web apps and games,
and a short background. Also adds a link preview image.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MvmRSn3exZ9iNNkys8u5dW
The content below the animation sat on a flat dark panel with generic
cards, so the artwork stopped where the text began. It is now a paper
scroll in the same ink greys and red: mist rises over the last frame,
the works hang like framed prints in front of the far mountains, a
mountain range divides the sections, and the page closes on the sun
going down. Clouds and birds drift, and the layers move against the
scroll.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MvmRSn3exZ9iNNkys8u5dW
Home: a poster wall and a fourth 'What I do' entry for graphic design,
which the page did not mention as a skill.

Works keeps its dark style. The design images are no longer cropped:
rows are justified to each image's own proportions. The viewer steps
through a set with the arrows, cards rise in as they scroll into view,
and /works?section=design opens at that section.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MvmRSn3exZ9iNNkys8u5dW
The home page had grown a long section under the animation. The works
now appear in the animation itself: after the landscape settles, the
mountains sink a little and four framed prints rise into the sky one
at a time (AI tools, web apps, games, graphic design), each with a
line of text and a link. The name follows with a button to Works,
where the detail lives. Nothing but a footer strip comes after.

ChroniQ links carry ?lang=en.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MvmRSn3exZ9iNNkys8u5dW
Agent Skills types its skill names out as in a terminal. ChroniQ is a
turning star sphere drawn on a canvas, with the Milky Way, the ecliptic
and a few constellation figures. Lost Viking plays a clip of the game,
made from the GIFs in its repository. The posters are dealt through
one at a time. Each preview runs only while its work is on stage and
stands still under prefers-reduced-motion.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MvmRSn3exZ9iNNkys8u5dW
The workflow only ran on pushes to master, so a pull request had no
check at all. Pull requests now run the install and build; deploying
stays limited to master.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MvmRSn3exZ9iNNkys8u5dW
@RedCarpG
RedCarpG merged commit 913280d into master Nov 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants