A craft studio app in peach Memphis pastels: a calendar wall of flip-card workshops, yarn-wrap seat meters, bookings and waitlists, craft kits, a materials shelf and students.
Web
12 עמודים
$69
כתובת העמוד: /
עוד למטה ↓
מובנה
מה מקבלים
בהיר וכההמשתמש בצבעי ערכת העיצוב שלכם
מחשב, טאבלט וטלפוןהמסכים שהוא נבנה בשבילם
חבילות…
גודל הקוד…
חסכוני בסוללה30 fps, במנוחה כשהכול דומם
נעצר כשהוא מוסתרמחוץ למסך או בלשונית אחרת
הפחתת תנועהרגוע למי שמבקש
נבדק בכל שינוי
אבטחה נבדקה ב-28 בנוב׳
בדיקת טיפוסיםTypeScript strict
Lint ועיצוב קודESLint · Prettier
בדיקות ובנייהצילומי מסך בהיר וכהה
בדיקת אבטחהללא התראות חמורות או קריטיות
גיל החבילותכל גרסה פומבית 7 ימים לפחות
מעבד במנוחהפחות מחצי ליבה במנוחה, ≤ 30 fps
קוד
יש בעיה באפליקציה הזו? שליחת משוב ›
craft-pompomReact
craft-pompom.tsxpageThe page: the sections in order.
content.tscontentEvery word and number: brand, nav links, each section's copy and lists.
theme.tsthemeThe colors as CSS variables, and the shared class strings.
README.mdreadmeHow to install it, and where to change the text, colors and form.
pagespagesOne file per page: the sections it shows, in order.
bookings.tsxpageBookings: every seat and waitlist place, filtered by status, workshop, reminder due and a student search (all in the address, so Back keeps them); send the due reminders at once, add or edit a booking, and remind, mark paid, give a seat or cancel on each row.
kit-detail.tsxpageOne kit: what goes in each box against the shelves, boxes sold over eight weeks, and the bundles it is in; sell, adjust stock, edit and delete with Undo.
kits.tsxpageKits: boxed crafts as pastel product cards (price, stock, sell one with confetti) filtered by craft, and bundles of kits with what they save and how many can go out; new kit, new or edit bundle, delete with Undo.
materials.tsxpageMaterials: the shelf (drawn stock levels, what the next two weeks need, reorder and adjust, filtered by low or short and a search), orders on the way (mark received) and suppliers (add, edit, delete with Undo).
overview.tsxpageOverview: this week's wall of workshop cards, the seats booked with a spinning yarn ball, four tiles that open filtered lists, seat meters, the materials shelf, reminders to send and the best-selling kits.
reports.tsxpageReports: fill rate by workshop and by craft, kit sales over eight weeks and by kit, and what the tables used, for every craft or one (kept in the address); the fill rates export as CSV.
settings.tsxpageThe settings page: how the studio runs (reminders, the waitlist, seats in a new workshop, how far ahead to plan materials) and Appearance (palette, theme and language).
sign-in.tsxpageThe sign-in page (#/sign-in): a drawn Memphis craft table (yarn ball, pompoms, scissors, a zigzag and dots) beside the sign-in card, without the header.
student-detail.tsxpageOne student: visits, spend and next workshop, every booking they've made, and notes for the next visit (add, delete with Undo); book them a seat, edit, or delete with Undo.
students.tsxpageStudents: everyone with their visits, last and next workshop and what they've spent, searchable by name or email (kept in the address); add a new student.
workshop-detail.tsxpageOne workshop: its facts and description, its seats (booked and waitlist, with remind, paid, give a seat and cancel), the materials it needs against the shelf, and the kit that goes with it; edit, cancel or put back on, and delete with Undo.
workshops.tsxpageThe workshop wall: a week of day columns with flip cards you drag to another day (Undo after), or a month of small craft-colored chips; filters for craft and teacher live in the address, and New / Edit open the workshop dialog.
sectionssectionsOne file per page section.
account-menu.tsxsectionThe 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.tsxsectionSettings → Appearance: the palette (each a little Memphis swatch of its four colors), the theme (System, Dark or Light, each a small preview) and the language (System or one of locales/list.ts).
booking-actions.tsxsectionThe small buttons on a booking: Remind (once), Mark paid, Give a seat to someone on the waitlist (with confetti) and Cancel (with Undo, and the next one waiting moves up when auto-promote is on).
booking-form.tsxsectionThe New / Edit booking dialog: which workshop, which student, how many seats and whether it is paid; it warns when the seats won't fit (the booking then joins the waitlist) and says which way it went.
garland-nav.tsxsectionThe nav: on wide screens a yarn garland sags across the header and every page hangs from it as a pompom on its own thread; the current one drops lower on a longer thread, swells and wears a lime ring. In the phone sheet, a list of links each marked by its pompom.
kit-form.tsxsectionThe kit dialogs: New / Edit kit (name, craft, price, stock and the materials in each box) and New / Edit bundle (a name, two or more kits ticked and its price against the full price).
material-form.tsxsectionThe stock dialogs: New / Edit material, New / Edit supplier, Reorder (how many, from whom, about what it costs) and Adjust stock (plus or minus), shared by materials and kits.
sign-in-form.tsxsectionThe 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.
student-form.tsxsectionThe New / Edit student dialog: name, email and phone, checked before it saves.
top-bar.tsxsectionThe header: the pompom logo, the garland nav across the middle on wide screens (a menu button on narrow ones), search, the theme switch and the account menu.
ui.tsxsectionThe pieces every page shares: the pastel header band with its squiggled title, tabs and filter chips that live in the address, section cards, tilted stat tiles, craft and status chips, the delete confirm, the Undo toast and the not-found state.
workshop-card.tsxsectionA workshop as a card on the wall, in its craft's pastel: the time, the title, the teacher and a seat meter of yarn wraps. Tap it and it flips over to show the room, the seats left, the materials and a way in; a grip lets the wall move it to another day.
workshop-form.tsxsectionThe New / Edit workshop dialog: title, craft, teacher, day and time, seats, price, room, the kit that goes with it, a description and the materials each seat uses; it checks the title, day and seats and saves through the API.
partspartsWhat several sections share.
buildbuildWhat several sections share.
cardscardsWhat several sections share.
flip.tspartThe flip card style: cards turn up in 3D from their bottom edge.
rowsrowsWhat several sections share.
fill.tspartThe fill row motion: each row on screen draws in from left to right.
core.tsxpartThe 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.tspartThe 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.tspartHow the app looks right now: dark or light, Glass or Solid, from Settings → Appearance, the page around it and the Style setting.
avatar.tsxpartA person's initials in a round pastel badge with the ink outline; the tone picks the pastel (from the name when none is given).
backdrop.tsxpartThe backdrop behind every page: a few still Memphis shapes at the edges of the window (a pompom, a half moon, a zigzag, a triangle, dots, a squiggle) in soft tones of the primary; with followBackground it paints your background instead.
charts.tsxpartThe charts, Memphis style: ink-outlined bars in the pastels that spring up, a fat line with dots that draws itself, and a donut of outlined slices. Every series paints in --craft-pompom-chart-1..5.
command-palette.tsxpartThe command palette (⌘K or Ctrl K): type to find a page or an action, then Enter.
dialog.tsxpartA 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.tsxpartA labeled form field (a text input or a select) with its error line under it, tied together for screen readers.
format.tspartHow 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.tsxpartThe logo (a pompom on a loop of yarn) and the line icons, drawn on a 24-unit grid with round ends.
language.tspartThe 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).
memphis.tsxpartThe Memphis kit: the five pastel tones and each craft's, the fluffy pompom shape with its ink outline, the squiggle that draws itself under a title, zigzags and dots, the confetti pop and the one shared clock every loop runs on.
moments.tspartThe animations the sidebar, the sign-in card, menus, dialogs, the phone sheet and toasts play, timed by their moments in theme.ts.
motion.tspartMotion helpers: the reduced-motion check, live, and run-once-in-view.
palettes.tspartThe Memphis palettes (the same as meta.json's presets): each is four inputs, and theme.ts makes the five pastels from them. Settings → Appearance picks one for this browser.
router.tspartThe page switcher: reads the app's page from the address hash (#/settings, #/?status=open).
scroll-to-view.tspartScrolls an element into view moving only its own scroll container, never the page around it.
select-box.tsxpartA native select dressed to match the app: no browser arrow, a drawn chevron instead.
session.tspartWhether 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.tsxpartThe 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.
shelf-art.tsxpartA material drawn the way it sits on the shelf (yarn balls, a clay block, a paper stack, a jar, a fabric roll, a cup of tools), fuller as there is more of it.
states.tsxpartThe data states every page shares: a calm skeleton while loading, an error with Try again, and an empty note with a way out.
store.tspartThe app-wide state several parts share: the theme mode and style (kept in the browser) and the toasts.
ticker.tsxpartA number that counts up while its page builds in, and rolls to its new value whenever it changes.
toasts.tsxpartThe toasts: short notes that confirm what just happened, at the bottom end.
use-api.tspartLoads 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.tspartOpens 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.
wall-drag.tspartMoving a workshop card to another day on the wall: grab its handle and drag (it lifts, tilts and grows a little, the day under it lights up, the window scrolls at its edges), or with the keyboard: Space lifts, the arrow keys pick a day, Space drops, Escape cancels. The card lands with a FLIP from where it was let go, and the page can offer Undo.
yarn.tsxpartThe yarn pieces: the seat meter, where every booked seat is a wrap of yarn that winds on one by one with a pompom tied at its end, and Overview's yarn ball that slowly turns and pays out a wobbling thread.
datadataThe pretend data and the fake API: swap it for your backend.
account.tsdataThe demo account: who is signed in (the account menu shows them) and the email and password the sign-in page takes.
api-stock.tsdataThe fake API's shop and shelves: kits, bundles, materials, suppliers and purchase orders, read and saved here.
api.tsdataThe fake API: every page loads and saves through these functions, so wiring a real backend happens here (and in data/api-stock.ts) only.
net.tsdataThe pretend network under the fake API: the wait a call takes, the Slow network and Show error state switches, new ids, and the studio's records as the API keeps them.
reports.tsdataThe Reports page's numbers, worked out from the studio's records: how full workshops ran, how kits sold and which materials the tables used, for one craft or all.
seed.tsdataThe pretend studio: its crafts, teachers, workshops, students and bookings, dated around this week so the wall always has something on it. The kits and materials are in data/stock.ts.
stock.tsdataThe pretend shop and shelves: kits for sale with their weekly sales, bundles of kits, the materials on the shelves, their suppliers and the purchase orders on the way.
localeslocalesEvery word the app shows, one JSON file a language; list.ts names them.
en.jsoncontentOne language's words, with the keys of en.json.
es.jsoncontentOne language's words, with the keys of en.json.
list.tscontentThe 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-locales.mjs the rest (no extra keys, plural forms, {slots}).
craft-pompom.tsx
The page: the sections in order.
טוען…
מתאים ל
Craft studios that run workshops and sell take-home kits, juggling seats, waitlists, stock, suppliers and regulars.
איך זה עובד
Workshops pin to a wall as pastel cards that flip for details and drag to new days; seat meters fill like wraps of yarn.
איך משתמשים
Edit words in locales/ and colors in theme.ts or parts/palettes.ts, and swap the bodies in data/api.ts and data/api-stock.ts for calls to your backend.