# Tactnib

E-commerce and marketing site for a maker of high-visibility shooting targets, edited by the client in an embedded Sanity Studio and with a Square hosted checkout link flow.

- **Facts:** 2026, Built for a client, Live, role: Lead developer
- **What I did:** I led 1 other developer and built most of the app: the UI, the server part and API, the deployment and setup, and the docs and tests. The other developer added a few public pages later.
- **Scope:** fullstack
- **Domain:** e-commerce
- **Stack:** Next.js, React, TypeScript, Tailwind CSS, Sanity, Firebase, Square, Radix UI, TanStack Query, TanStack Table, nuqs, React Hook Form, T3 Env, Vercel Analytics, Zod, next-safe-action, Motion, Embla Carousel, React Compiler, date-fns, Biome, Ultracite, dotenvx, GitHub Actions, Vercel, pnpm, shadcn/ui, Claude Code, Figma, Python
- **Live:** https://tactnib.vercel.app/
- **Page:** https://sergey-petrinich.vercel.app/work/tactnib
- **Screenshot:** https://sergey-petrinich.vercel.app/work/tactnib.webp

Capabilities:

- Home page of eight sections, a products list, product detail pages with a gallery and a rich-text description, and a sizing comparison
- Cart that sells products in packs and rounds quantities to whole packs
- Order confirmation page that clears the cart
- 20+ Sanity document types with a custom desk and one singleton per section, edited in the embedded Studio
- Hard-coded fallback content per section, so a page renders when a document is missing
- Draft mode with Visual Editing overlays for click-to-edit
- Square Payment Links created by a Zod-validated server action, with a redirect to Square's hosted checkout
- Webhook route that verifies the Square signature on the raw body
- Vercel deployment with Analytics and Speed Insights
- GitHub Actions workflow that runs lint and typecheck on every push
- Typed environment variables with T3 Env and project docs

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)
