Venues Tamarind
v1.0A minimal SaaS events desk for a venue group: enquiries, holds that count down on a month calendar of the spaces, bookings with deposits, quotes and checklists, in warm greys with one rust accent.
כתובת העמוד: /
מובנה
מה מקבלים- בהיר וכההמשתמש בצבעי ערכת העיצוב שלכם
- מחשב, טאבלט וטלפוןהמסכים שהוא נבנה בשבילם
- חבילות…
- גודל הקוד…
- חסכוני בסוללה30 fps, במנוחה כשהכול דומם
- נעצר כשהוא מוסתרמחוץ למסך או בלשונית אחרת
- הפחתת תנועהרגוע למי שמבקש
נבדק בכל שינוי
אבטחה נבדקה ב-3 בדצמ׳- בדיקת טיפוסיםTypeScript strict
- Lint ועיצוב קודESLint · Prettier
- בדיקות ובנייהצילומי מסך בהיר וכהה
- בדיקת אבטחהללא התראות חמורות או קריטיות
- גיל החבילותכל גרסה פומבית 7 ימים לפחות
- מעבד במנוחהפחות מחצי ליבה במנוחה, ≤ 30 fps
קוד
venues-tamarindReact
- venues-tamarind.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.
- bookings.tsxEvery booking in one table: tabs (upcoming, on hold, confirmed, past, cancelled), search and space in the address (#/bookings?status=hold&space=barn); holds count down in their row, deposits say where they stand, and a row opens the booking's sheet.
- calendar.tsxThe calendar: a month of the four spaces (#/calendar?month=2026-12), with what the blocks mean, the month's holds by how soon they lapse, and how full each space is.
- checklists.tsxChecklists: the events of the coming week, each with how much of its list is done, and the picked one's checklist beside them (#/checklists?event=BK-1204): tick, drag to reorder, add tasks.
- clients.tsxEvery client: private or corporate tabs, search and sort in the address (#/clients?kind=corporate&sort=value), with their events, what they have spent and their next date. A row opens the client's sheet.
- enquiries.tsxEvery enquiry in one table: status tabs, search, coordinator and sort live in the address (#/enquiries?status=new&sort=date), rows glide to their new places when the order changes, a pick of rows gets the bulk bar, and a row opens the enquiry's sheet. A new one (live, or added) slides in at the top.
- overview.tsxThe overview: a greeting with the week's load, the KPI strip, this week's events, revenue by space, the holds about to lapse and the live feed.
- quotes.tsxEvery quote: status tabs and search in the address (#/quotes?status=viewed), each with its event, total and how often the client has opened it (live: a view ticks in as it happens). A row opens the quote's editor.
- settings.tsxSettings in five tabs (?tab=): the spaces, the packages, the house rules with the checklist template, the team, and Appearance (theme and language).
- sign-in.tsxThe sign-in page (#/sign-in): the logo and the form on one plain card on the ground, without the sidebar and top bar.
- 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 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 booking form in a dialog: a new hold or confirmed booking (?new=booking, from an empty calendar day with &space=&date=, or ⌘K) or an edit (?edit-booking=BK-1204). The price comes from the space, the package and the guests.
- booking-sheet.tsxA booking in the side sheet (?booking=BK-1204&dtab=checklist): its hold (count down, confirm, extend, release) or its confirmed strip, the event's details, its checklist, payments and quotes. Edit opens the form; Cancel has Undo.
- booking-tabs.tsxThe booking sheet's money tabs: what has been paid against the total and the deposit (with Record payment), and the quotes made for it.
- bottom-tabs.tsxThe phone's tab bar: the four pages used most, and More for the rest (the sidebar in a sheet). It sticks to the bottom of the screen under the page.
- checklist-panel.tsxAn event's checklist by phase (the week before, the day before, set-up, on the night, close-down): tick a task off, drag it (or move it with its grip's arrow keys) to a new place, add one or delete one. Changes show at once; rows glide to their new places.
- client-form.tsxThe client form in a dialog: a new client (?new=client, ⌘K) or an edit (?edit-client=c104).
- client-sheet.tsxA client in the side sheet (?client=c104): how to reach them, what they have booked and spent, their events, enquiries and quotes, and Edit or Delete (asked once more in place; a client with an event coming up can't be deleted).
- enquiry-bulk.tsxThe bar that rises when enquiries are picked: how many, move them to a status, give them to a coordinator, delete them (Undo in the toast), or clear the pick.
- enquiry-form.tsxThe enquiry form in a dialog: a new enquiry (the top bar's New enquiry, ?new=enquiry) or an edit (?edit-enquiry=E-2041). A new client can be added in the same form; a new enquiry slides into the lists.
- enquiry-sheet.tsxAn enquiry in the side sheet (?enquiry=E-2041): who and what, its status, the next step (place a hold on its day, then a quote), what happened so far, and Edit or Delete.
- feed.tsxThe live feed: who did what, newest first, with the enquiry, booking or quote it is about under it; a row that arrives (a new enquiry, a client opening a quote) slides in at the top.
- hold-list.tsxThe holds that lapse soonest, each with its live countdown and a Confirm link that opens the booking on its hold panel. The overview and the calendar share it.
- hold-panel.tsxA booking's hold, at the top of its sheet: a dashed box whose bar drains as the hold runs down, the live countdown, and Confirm (the deposit ticked or not), Extend or Release. Confirm sweeps the box solid; a confirmed booking shows a solid strip instead.
- hold-popover.tsxThe card that opens from a calendar block: the event, its live countdown while on hold, and Confirm (which sweeps the block solid), Extend or Open. It floats in the app's layer (a container would trap position:fixed), next to its block, and closes on Escape, a tap outside or a scroll.
- kpi-strip.tsxThe KPI strip: four numbers in one bordered box, each with its line under it and a sparkline or a progress bar; a changed number rolls to its new value and a sparkline grows a point.
- month-grid.tsxThe month by space: one row per space, one column per day. A confirmed event is a solid block in its space's colour; a hold is a dashed block whose bar drains as it counts down (an empty red outline once it has run out); weekends are shaded. A block opens its card (Confirm sweeps it solid); an empty day adds a booking there. On a phone the grid scrolls sideways inside its own box.
- quote-form.tsxA new quote in a dialog (?new=quote, &for=BK-1204 from a booking): pick the booking and a title; the lines start from its space and package for its guests, and the new draft opens in its sheet.
- quote-lines.tsxA quote's line items as an editor: label, quantity and unit price per line, add or remove lines, a discount, and the subtotal, discount and total worked out as you type. Read-only once the client has answered.
- quote-sheet.tsxA quote in the side sheet (?quote=Q-318): its lines as an editor, the client's views as they come in (live), and its next step: Send, then Accepted or Declined. Duplicate makes a new draft; Delete has Undo.
- settings-rules.tsxSettings → Rules and Team: how long a hold lasts and the deposit asked for, the checklist every new event starts from (add or remove a line per phase), and the coordinators on the team.
- settings-venue.tsxSettings → Spaces and Packages: the rooms you hire out (capacity, day rate, their order on the calendar) and the per-guest packages, each added, edited in a dialog or deleted (not while an event uses it).
- sidebar.tsxThe sidebar: the venue group, search with the ⌘K shortcut, the pages in two groups (open enquiries and holds counted), a pill that glides to the current one, Settings, and the live strap with its pause.
- 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.
- top-bar.tsxThe top bar: the menu button on narrow screens, where you are, the live dot, the theme switch, New enquiry and the account menu. It frosts only once the page scrolls under it.
- partsWhat several sections share.
- buildWhat several sections share.
- cardsWhat several sections share.
- wipe.tsThe wipe card style: each card uncovers from its bottom edge.
- rowsWhat several sections share.
- flip.tsThe flip row motion: each row on screen tilts up from its bottom edge, 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 backdrop behind the shell: Tamarind is solid, so its own two soft lights (rust and the warm tint) stay hidden at --venues-tamarind-glass 0; with followBackground it paints your background instead. Its colors are the primary, the tint and vars made from them, never the secondary or a chart color.
- command-palette.tsxThe command palette (⌘K or Ctrl K): type to find a page or an action, then Enter.
- confirm.tsThe signature moment: a hold confirming into a solid block. A fill sweeps across the hold from its start edge (--venues-tamarind-confirm-duration), then fades off the solid block the save has drawn under it. The promise settles once the hold is fully covered, so the save swaps it under the fill. Nothing plays with reduced motion: the block just turns solid.
- 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.
- field.tsxA labeled form field (a text input or a select) with its error line under it, tied together for screen readers.
- flip.tsFLIP for a list that re-sorts or filters: after each change every row that stayed glides from where it was to where it is now. Rows carry data-flip="<id>"; positions are measured inside the list, and measured again when the list resizes, so a page scroll or a wider window never reads as a move.
- 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 logo and the line icons, drawn on a 24-unit grid with round ends.
- 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).
- list-bits.tsxThe pieces every list page shares: its heading with one line under it, status tabs as pills that wrap (never scroll) with their counts, and the search box that keeps its words in the address (?q=).
- 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, and the bare button that pauses it. 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: once a second the hold countdowns redraw; now and then a new enquiry comes in or a client opens a quote (data/live.ts) and every page reloads in place. It rests while nothing live is on screen, the tab is hidden or live is paused.
- moments.tsThe animations the sidebar, the sign-in card, menus, dialogs, the phone sheet and toasts play, timed by their moments in theme.ts.
- motion.tsMotion helpers: the reduced-motion check, live, and run-once-in-view.
- overlays.tsxEverything that opens over the page from the address: an enquiry, booking, quote or client in the side sheet, and the forms (new or edit enquiry, booking, quote, client). Any page can open one by adding its query (?booking=BK-1204).
- read.tsOne read of the fake API by its key, through useApi: useRead("overview"), useRead<"booking">(`booking:${id}`). Each key keeps one load function, so a page that mounts again finds its answer.
- 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.
- side-sheet.tsxThe detail sheet: a modal panel that slides in from the end edge over the page (an enquiry, a booking, a quote, a client), with tabs whose underline glides to the one picked. Escape, a tap outside or its close button slides it away; the address keeps what it shows (?booking=BK-1204&dtab=checklist).
- 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.
- task-drag.tsDragging a checklist task to a new place, by its grip: while the pointer moves, the spot it would land on (a phase, and the task it goes before) is tracked from the rows under it; letting go moves it there. The grip's arrow keys do the same one step at a time, across phases at their ends.
- 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.
- venue.tsxThe small pieces every venue page shares: an enquiry's and a booking's status glyph, a space's dot, the deposit state, a coordinator's initials, a hold's live countdown, which rows just arrived (they slide in) and attempt, which runs a save and says when it failed.
- 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.
- db.tsThe pretend database and every change to it: the fake API (data/api.ts) calls these, and data/views.ts reads it. Each change also writes a feed row, the way a real backend's activity log would.
- live.tsThe live demo: the venue's inbox and clients at work while you watch. Each call is one thing that happens (a new enquiry comes in, a client opens a quote again) through the same database the pages read. Wire your backend's events here instead.
- now.tsThe demo's "now": today at 10:40 plus the real time since the app loaded, so today is busy at any hour; every seeded date is set from it. Wire your backend and use the real time.
- seed-events.tsThe pretend bookings, enquiries, quotes, checklists and feed: made once from a fixed seed around the demo's "now", about forty events a month across the four spaces, so every month and every page looks lived in. Replace with your backend's records.
- seed.tsThe venue group's fixed records: its four spaces, the packages it sells, the three coordinators, its clients, the checklist every event starts from and the hold rules. Swap in your own when you wire your backend.
- types.tsThe shapes of the venue group's data: spaces and packages, clients, enquiries, bookings (holds and confirmed events), quotes with their lines, event-day checklists and the activity feed. Your backend returns these.
- views.tsWhat each page reads: the database's records joined and counted the way the pages show them. One rule per number (openEnquiry, activeHold), so a count and the list it opens always agree.
- 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.
- es.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}).
venues-tamarind.tsx
The page: the sections in order.
טוען…
- מתאים ל
- Venue groups and event coordinators who juggle enquiries, holds, quotes and deposits across a few rooms and want a calm tool.
- איך זה עובד
- A hold drains on the calendar as it nears its lapse; confirm it and the dashed block fills solid while the revenue and feed update.
- איך משתמשים
- Edit words in content.ts and colors in theme.ts, and swap the bodies in data/api.ts for calls to your backend.