Saltar al contenido

Proofs Gelatin

v1.0

A wedding and portrait photographer's site and studio laid out like a printed magazine: a cover story home, series and journal, collections with prices, private client galleries where a picked photo flies into the selection strip, and a studio with a drag calendar, clients, galleries, invoices and an inquiries inbox.

$69

Dirección de la página: /

Incluido

Lo que obtienes
  • Claro y oscuroUsa los colores de tu tema
  • Escritorio, tableta y móvilLas pantallas para las que está hecho
  • Paquetes…
  • Tamaño del código…
  • Ahorra batería30 fps, en reposo cuando está quieto
  • Se pausa si no se veFuera de pantalla o en otra pestaña
  • Movimiento reducidoTranquilo para quien lo pide

Revisado en cada cambio

Seguridad revisada el 3 dic
  • Comprobación de tiposTypeScript estricto
  • Lint y formatoESLint · Prettier
  • Pruebas y buildCapturas en claro y oscuro
  • Auditoría de seguridadSin avisos altos ni críticos
  • Antigüedad de paquetesCada versión es pública desde hace 7+ días
  • CPU en reposoMenos de medio núcleo en reposo, ≤ 30 fps

Código

proofs-gelatinReact
  • proofs-gelatin.tsxThe page: the sections in order.
  • content.tsEvery word and number: brand, nav links, each section's copy and lists.
  • theme.tsThe colors as CSS variables, and the shared class strings.
  • README.mdHow to install it, and where to change the text, colors and form.
  • pagesOne file per page: the sections it shows, in order.
    • about.tsxAbout the photographer: a portrait beside her story, the numbers that matter, how a day goes, where the work has run and what clients say.
    • calendar.tsxThe studio calendar: a month of shoots on a grid, dragged from day to day (undo in the toast), the month's agenda beside it and a form for a new or changed shoot.
    • clients.tsxThe client book: every couple and sitter in a table, searched, filtered by status and sorted; a row opens the client to edit, with their shoots, galleries and invoices.
    • contact.tsxBook a date: a short form beside a month calendar that shows which days are free and which are taken; sending it lands a new inquiry in the studio inbox and shows what was sent.
    • downloads.tsxThe download list for an approved selection: every picked file with its size and notes, one link each, the whole list to copy or save as CSV.
    • galleries.tsxThe studio's galleries: every client gallery as a card with its picks so far, a new one started from a short form, and one gallery's page to set up, fill with photos and send.
    • home.tsxThe site's cover: the issue's headline over a tall photograph, the latest stories, an index of every series with a cover that follows the pointer, a pull quote, the collections, the journal and the Saturdays still free.
    • inbox.tsxThe inquiries inbox: filters, the list and the open thread side by side; reply, archive (with undo) or turn an inquiry into a client and a shoot on hold.
    • invoices.tsxThe studio's invoices: what is owed, overdue and paid this year, every invoice in a table by status, and one opened to edit, send or mark paid.
    • journal.tsxThe journal: the latest entry set large, the rest in a ruled list, filtered by tag; an entry opens as a long read with the next ones under it.
    • packages.tsxThe collections: each one's price and what it holds side by side, the add-ons, a comparison table and the questions people ask before booking.
    • proof.tsxA client's private gallery: every frame uncropped, a heart on each that flies the photo into the selection strip, filters for picked and noted frames, the loupe, Compare two and Approve.
    • proofs.tsxEvery gallery shared with a client, as the client sees it: the cover, how many picks are in and how long the link stays open.
    • settings.tsxThe studio settings: how the app looks, the studio's profile, the collections the site sells and which notifications arrive; each saves on its own.
    • sign-in.tsxThe studio sign-in (#/sign-in): a full-height photograph with its caption on one side, the wordmark, a big serif title and the form on the other; on a phone the photo becomes a band above the form.
    • stories.tsxEvery story: filter by the kind of day, then read them as plates (a staggered grid of covers) or as an index table by year and place.
    • story.tsxOne story, laid out like a magazine feature: the headline over a full-width plate, the day's facts beside the text, the plates in a staggered sequence, the couple's words and the next story.
    • studio.tsxThe studio's front page: the year in five figures, the next shoots, galleries waiting on picks, takings by month, new inquiries and what to do next.
  • sectionsOne file per page section.
    • account-menu.tsxThe account menu under the avatar in the top bar: who is signed in, Settings and Sign out; the arrow keys move through it, Escape, Tab or a click outside closes it.
    • appearance.tsxSettings → Appearance: the style (Glass or Solid) and the theme (System, Dark or Light), each choice shown as a small preview, and the language (System or one of locales/list.ts).
    • booking-form.tsxThe shoot form in a dialog: a new shoot or an edit of one, with its client, date, place, collection and fee; an edit can also be deleted (with undo).
    • client-panel.tsxOne client in a dialog: their details to edit, and tabs for their shoots, galleries and invoices; a new client starts on the empty form. Delete asks first, then offers undo.
    • gallery-photos.tsxA gallery's photos in the studio: add more from this computer (they fill as they send), drag to reorder (or the arrow buttons), set the cover and remove one with undo.
    • invoice-editor.tsxOne invoice in a dialog: its client, dates and lines to edit with the total kept live, then send it, mark it paid or delete it (asked first, then undo).
    • masthead.tsxThe magazine's masthead: the wordmark and issue line, the Site / Proofs / Studio switch, search, theme and account, and under it the part's section index with a marker that glides to the open page. It frosts once the page scrolls.
    • proof-loupe.tsxThe client's two close looks: the loupe (one photo large, arrow keys to move, heart it and leave Ines a note) and Compare (two near-twins side by side, keep one).
    • proof-strip.tsxThe selection strip under a client's gallery: the picked photos as a row of thumbnails, the picks-left line and Approve. A new pick flies from its photo into its slot; the others slide aside to make room.
    • sign-in-form.tsxThe sign-in form: email and password with their errors under them, show or hide the password, keep me signed in, and the demo account to fill in; a wrong pair says so above the fields.
    • site-footer.tsxThe colophon under the site and the client galleries: the wordmark set huge, the studio's lines, the section index again and the closing line.
    • studio-rail.tsxThe studio's rail: a numbered table of contents with a live count beside each page, and under it the feed of what clients are doing in their galleries right now. The phone sheet shows every part's contents.
  • partsWhat several sections share.
    • buildWhat several sections share.
      • cardsWhat several sections share.
        • turn.tsThe turn card style: cards swing in like pages, hinged on their left edge.
      • rowsWhat several sections share.
        • zigzag.tsThe zigzag row motion: odd rows slide in from the left, even ones from the right, from faint.
      • core.tsxThe page's build-in: on first load and on every page switch the cards arrive in the app's card style and their contents build: bars grow, lines draw, rings fill, the list rows on screen ripple in in the app's row motion, numbers count. The two picks are wired in ./index.ts.
      • index.tsThe app's two build-in picks, wired here and nowhere else: its card style (cards/) and its row motion (rows/). npm run new-app copies only the two it is given (--cards, --rows).
    • appearance.tsHow the app looks right now: dark or light, Glass or Solid, from Settings → Appearance, the page around it and the Style setting.
    • avatar.tsxA person's initials in a round badge, tinted with the primary.
    • backdrop.tsxThe Glass style's backdrop: what shows through the see-through panels, faded out in Solid; with followBackground it paints your background instead.
    • command-palette.tsxThe command palette (⌘K or Ctrl K): type to find a page, a client, a gallery or an action, then Enter.
    • dialog.tsxA centered modal dialog (a form, a confirm): rises in, plays its way out, Escape or a tap outside closes it, and the focus goes back where it was.
    • editorial.tsxThe magazine furniture every page shares: the drawn column grid, numbered section heads, captioned photos, status chips and a number that rolls when it changes.
    • field.tsxA labeled form field (a text input or a select) with its error line under it, tied together for screen readers.
    • format.tsHow numbers and dates are written: by Intl, the current language's way ("1,240", "1.240"; "Nov 19", "19 nov."). Add a helper here when a page needs money, times or a list.
    • icons.tsxThe line icons: each reads the icon variables (stroke, ends, joins, size, color) so Icon Studio can restyle them.
    • language.tsThe app's language: the words every page reads (useWords), how dates and numbers are written (parts/format.ts) and the reading direction. Picked in Settings → Appearance (or System: the page's own language) and kept in this browser; English is built in, any other language loads only when it shows (locales/list.ts).
    • live-clock.tsxOne shared clock for everything live: it ticks only while something on screen listens, the tab is visible and live isn't paused. What a tick does (move the demo's time, bring in an event, reload) is the app's, passed to liveClock.
    • live.tsThe app's one live clock (30 ticks a second): each tick runs the studio's simulation (data/live.ts) and shows what it changed. It stops off screen, in hidden tabs and when paused.
    • moments.tsThe animations the sidebar, the sign-in card, menus, dialogs, the phone sheet, toasts, a rolling number, a new feed line, a new note and a cue play, timed by their moments in theme.ts.
    • month.tsA month as calendar weeks, Monday first: the date picker on the booking form and the studio calendar both lay out days with it.
    • motion.tsMotion helpers: the reduced-motion check, live, and run-once-in-view.
    • router.tsThe page switcher: reads the app's page from the address hash (#/settings, #/?status=open).
    • scroll-to-view.tsScrolls an element into view moving only its own scroll container, never the page around it.
    • select-box.tsxA native select dressed to match the app: no browser arrow, a drawn chevron instead.
    • session.tsWhether someone is signed in: a first visit is signed in as the demo account; Sign out holds until the next sign-in, and a sign-in without Keep me signed in lasts only this tab.
    • sheet.tsxThe phone sheet: a modal panel that springs in from the left with the sidebar; Escape, a tap outside or its close button slides it away.
    • states.tsxThe data states every page shares: a calm skeleton while loading, an error with Try again, and an empty note with a way out.
    • store.tsThe app-wide state several parts share: the theme mode and style (kept in the browser) and the toasts.
    • ticker.tsxA number that counts up while its page builds in, and rolls to its new value whenever it changes.
    • toasts.tsxThe toasts: short notes that confirm what just happened, at the bottom end.
    • use-api.tsLoads data through the fake API with loading, error and retry, remembering each answer so a page you come back to shows at once.
    • use-dialog.tsOpens and closes a native <dialog> as a modal; on close it plays its way out first (data-closing), so dialogs, sheets and the palette never vanish in one frame.
  • dataThe pretend data and the fake API: swap it for your backend.
    • account.tsThe demo account: who is signed in (the account menu shows them) and the email and password the sign-in page takes.
    • api.tsThe fake API: every page loads and saves through these functions, so wiring a real backend happens here only.
    • clock.tsThe demo's "now": today's real date and time, so the seed is always current (shoots this week, invoices due soon).
    • live.tsWhat happens in the studio while the demo is open: clients pick and comment in their galleries, uploads finish sending, a new inquiry arrives and the studio answers a client's note. Each tick returns the keys it changed.
    • photos.tsThe photo files in public/photos (credited in README "Photo credits"): their size, what they show and a caption.
    • rules.tsThe rules the fake API and the pages count by alike, so a number and the list it opens always agree.
    • seed-books.tsThe studio's books: clients, shoots, invoices, inquiries, recent activity and the studio's own settings, kept as plain tables.
    • seed-galleries.tsThe proofing galleries: nine shoots at every stage, from a draft still being edited to an approved set ready to download.
    • seed-site.tsThe public site's words and photos: eight stories, the journal, the packages and the add-ons.
    • types.tsThe shapes the fake API answers with: the public site, the client proofing galleries and the studio's books.
  • localesEvery word the app shows, one JSON file a language; list.ts names them.
    • en.jsonOne language's words, with the keys of en.json.
    • list.tsThe languages the app offers, in the picker's order: one JSON file each, en.json the source. To remove one, delete its file and its line; to add one, copy es.json, translate it and add a line. English is built in; the rest load only when picked. TypeScript checks each file has en.json's keys, scripts/check/check-locales.mjs the rest (no extra keys, plural forms, {slots}).

proofs-gelatin.tsx

The page: the sections in order.

Cargando…
Ideal para
Wedding, portrait and family photographers who show their work, take bookings and let clients pick their album photos online.
Cómo funciona
Heart a photo and it flies into the selection strip while the picks-left line rolls down; drag a shoot to another day to move it.
Cómo usarlo
Edit words in locales/en.json and colors in theme.ts, and swap the bodies in data/api.ts for calls to your backend.