Original design and source: Kedhareswer Naidu
https://github.com/Kedhareswer/21stdev-my-components/tree/8bb5356273d1109960dedcbec404f9dfeebbcf5d/components/pocket-portfolio
Permission: Author root README: Free to view, copy, and adapt unless a folder says otherwise. Attribution appreciated.
RIVRA additions: isolated preview, disabled forms/external actions, navigation and screenshot poster.
Fictional demo businesses, prices, people and claims; not RIVRA client projects.
React/React DOM: MIT (notices included in the shared JavaScript LEGAL.txt).
GSAP where used: original CDN module, standard no-charge licence https://gsap.com/standard-license .
Stock photographs where used: Unsplash, https://unsplash.com/license . Google fonts where used: their respective OFL licences.
Original component documentation:
# Pocket Portfolio
A minimal, card-stacked one-page portfolio template. White rounded cards on a
soft grey page, a pill nav, one hot accent colour.
- **Pill nav** — Info / Work / Contact each fold their card open and shut
(the ⊕ turns into ⊖). Opening one scrolls it into view. The nav stays
sticky while you scroll.
- **Info card** — portrait (drawn by default; its eyes follow the pointer, its
glasses glint on hover), a language switcher that re-types the bio word by
word and translates the UI labels, and a live local clock (click for 12/24h,
hover for the city). Unfolded: services chips and an experience table.
- **Client marquee** — endless loop of wordmarks, pauses on hover, spotlights
the one under the pointer.
- **Work card** — the first projects while folded, all of them when open.
Click a project to expand it in place (large cover, year, role, tags, case
study link). Escape closes it.
- **Contact card** — availability status with a live dot, click the email to
copy it. Unfolded: social links and a "Say hello" mailto.
- **Layout** — a phone-width stack; when its container is 880px or wider it
splits into a sticky left column (nav, info, clients) and the work on the right.
`layout="stack"` keeps the single column everywhere.
- **Theme** — `theme="auto"` follows a `.dark` ancestor; force with `"light"` / `"dark"`.
- Reduced motion turns every animation off and the marquee into a scroller.
```tsx
import PocketPortfolio from "@/components/ui/pocket-portfolio"