דילוג לתוכן

Listings Travertine

v1.0

A boutique estate agency's workspace in frosted glass: map search with a price range that glides the pins and cards together, each home's page, and the agent's leads, viewings and offers.

$69

כתובת העמוד: /

מובנה

מה מקבלים
  • בהיר וכההמשתמש בצבעי ערכת העיצוב שלכם
  • מחשב, טאבלט וטלפוןהמסכים שהוא נבנה בשבילם
  • חבילות…
  • גודל הקוד…
  • חסכוני בסוללה30 fps, במנוחה כשהכול דומם
  • נעצר כשהוא מוסתרמחוץ למסך או בלשונית אחרת
  • הפחתת תנועהרגוע למי שמבקש

נבדק בכל שינוי

אבטחה נבדקה ב-3 בדצמ׳
  • בדיקת טיפוסיםTypeScript strict
  • Lint ועיצוב קודESLint · Prettier
  • בדיקות ובנייהצילומי מסך בהיר וכהה
  • בדיקת אבטחהללא התראות חמורות או קריטיות
  • גיל החבילותכל גרסה פומבית 7 ימים לפחות
  • מעבד במנוחהפחות מחצי ליבה במנוחה, ≤ 30 fps

קוד

listings-travertineReact
  • listings-travertine.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.
    • clients.tsxClients: buyers and sellers with their budget, areas and whether their mortgage is agreed; filtered by kind, searched and sorted; each opens in a sheet (#/clients/<id>), and add, edit or delete (with undo).
    • leads.tsxThe leads pipeline: a lane per stage, cards dragged between them (or moved with the keyboard), each lane's count and value, a drawer of lost leads, and a sheet for each lead.
    • listing.tsxOne home's page: the photos, its price card with Book a viewing, the tabs (overview, floors, the area, activity), its agent and similar homes.
    • listings.tsxThe agency's listings: every home with its status, price and interest, filtered by status, searched and sorted; add, edit, publish or delete (with undo).
    • notifications.tsxNotifications: new enquiries, viewings, offers, price changes and saved-search matches, newest first; filter by kind or unread, search, mark read one by one or all at once.
    • offers.tsxOffers: every offer with its latest bid against the asking price and the time left to answer, filtered by status, searched and sorted; each opens its thread, and a new one can be made for any home on the market.
    • overview.tsxThe overview: the day at a glance for an agent — four numbers that open their lists, the pipeline, today's viewings, the market's asking and sold prices, offers waiting, saved-search matches, live enquiries and new homes.
    • reports.tsxReports: the city's asking against sold prices, homes sold each week, where leads come from, the pipeline as a funnel and how each agent is doing; over 12 or 26 weeks.
    • saved.tsxSaved searches: each one's filters, how many homes it finds and how many are new since you last looked, how often it alerts you, a way back to the map, and delete with undo.
    • search.tsxMap search: the drawn city with a price pin per home beside the cards; drag the price range and the pins and cards that drop out fade while the rest glide into place together, then save the search.
    • settings.tsxSettings: appearance (style, theme, language), your profile, the agency, which alerts reach you, and sign out.
    • shortlist.tsxThe shortlist: the homes you starred, with a side-by-side compare of up to three (the best figure in each row is marked).
    • sign-in.tsxThe sign-in page (#/sign-in): a harbour-front home behind frosted glass with the agency's line, and the sign-in card beside it; on a phone the card alone over the backdrop.
    • viewings.tsxThe viewings calendar: this week (or another) as a grid you drag viewings around in, the same days as a list on a phone, today's count and after-viewing feedback to write.
  • 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.
    • add-lead.tsxAdd a lead by hand (a call, a walk-in): the client, the home, where they came from and what they said; it lands in New.
    • 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).
    • book-viewing.tsxBook a viewing of one home: who it is for, a day in the coming week and a free time (taken ones say so); then a confirmation with a way to the calendar.
    • client-form.tsxAdd or edit a client: name, email, phone, buyer or seller, budget, the areas they want and whether their mortgage is agreed.
    • client-sheet.tsxOne client in a side sheet: contact, budget and areas; tabs for their notes (add, delete with undo), their deals (enquiries, viewings, offers) and homes that fit them.
    • confirm.tsxThe in-app "are you sure?" before anything is deleted, and the delete itself with an Undo toast.
    • gallery.tsxA home's photos: the front large with four rooms beside it, and a lightbox that steps through them all (arrows, swipe-free buttons, Escape).
    • lead-sheet.tsxOne lead in a side sheet: who and which home, their message, the stage (change it here too), what has happened, their other enquiries, and book a viewing, mark lost or delete.
    • listing-card.tsxA home as a card: its photo with the status and a star for the shortlist, the price (and the cut, if any), the name, the street and the specs.
    • listing-form.tsxAdd or edit a home, in a side sheet: name and street, area and type, price and size, rooms, year and energy, the description and features; each field says what is wrong with it.
    • listing-tabs.tsxThe tabs on a home's page: the key facts and features, the floors room by room, and what has happened to it (listed, price cut, viewings, offers).
    • mortgage.tsxA mortgage estimate for one home: deposit, rate and term on sliders; the monthly payment in the middle of a donut of what you borrow against what the interest costs.
    • neighbourhood.tsxWhat living in a home's area is like: a line about it, how walkable it is (a bar, with the score in words) and what is a short walk away.
    • offer-sheet.tsxOne offer in a side sheet: the home and the asking price, the thread of bids and counters, and the next move (counter, accept, decline, withdraw); accepting ends in Sale agreed.
    • overview-blocks.tsxThe overview's blocks: the pipeline strip, today's viewings on a time rail with a now marker, offers waiting for an answer, new homes and the live enquiry feed; each opens the list it shows.
    • save-search.tsxSave the current map search: a name (one is suggested from the filters) and how often to hear about new homes; then a success view with the homes it matches now.
    • search-filters.tsxThe map search's filters: the price range over its histogram, bedrooms, the home type and the area; every change applies at once.
    • settings-forms.tsxThe settings forms: your profile, the agency (name, office, fee) and which alerts reach you; each saves on its own and says so.
    • sidebar.tsxThe side panel: logo, search with the command palette shortcut, the page links in their groups with live counts and a liquid marker on the current one, and the saved searches; a rail of icons on medium screens.
    • 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.
    • tab-bar.tsxThe phone's tab bar: a floating frosted strip at the bottom with four pages and More (the full panel in a sheet); a flat accent tint inside the bar marks the current one.
    • top-bar.tsxThe top bar, a floating frosted strip: where you are, search, the notifications bell with its unread count, the theme switch and the account menu.
    • viewing-sheet.tsxOne viewing in a side sheet: the home, who and when; afterwards how it went (stars and a line), or cancel it.
    • week-grid.tsxThe viewings week: a column per day (Monday to Saturday) and an hour per row; a booked viewing drags to another day at the same time (or Alt + arrows), and a line marks now.
  • partsWhat several sections share.
    • buildWhat several sections share.
      • cardsWhat several sections share.
        • iris.tsThe iris card style: each card opens as a circle from its center.
      • rowsWhat several sections share.
        • odo.tsxThe odo row motion: each row on screen rises 6px 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).
    • agency.tsThe app's loads by name, the counts the side panel, tab bar and pages share (so they always agree), and the live enquiry that arrives every 25 seconds.
    • 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: a sky gradient graded like a sunset photo (haze, primary, tint), with four soft color clouds over it; they drift a few slow passes, then hold still. Flat ground in Solid; with followBackground it paints your background instead.
    • charts.tsxThe charts, each in a recessed glass well: pill bars (the latest one in the accent), one or two glowing lines with a soft area, and a donut. Every chart has a hidden table with the same numbers for screen readers.
    • city-map.tsxThe drawn city: six areas, the river and the harbour, parks and streets, all colored from the theme, with a price pin for every home; it zooms and pans, and a click on an area filters by it.
    • clock.tsThe one clock every running loop shares (the steeping cup): at most 30 redraws a second, none while the tab is hidden, and stopped when nothing listens.
    • command-palette.tsxThe command palette (⌘K or Ctrl K): type to find a page 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.
    • drag-lanes.tsDrag leads between ordered lanes (the pipeline's stages): mouse and pen at once, touch after a short press (a swipe still scrolls), the lifted copy kept under the grab point, the others sliding aside (FLIP), the page and the board scrolling near their edges, Escape to cancel, and a keyboard path (Space lifts, arrows move, Space drops).
    • field.tsxA labeled form field (a text input or a select) with its error line under it, tied together for screen readers.
    • filters.tsThe search filters and the address they live in: #/search?min=400000&max=900000&beds=2&types=loft&areas=old-harbour.
    • flip.tsThe FLIP glide for a list that filters or sorts: call capture() just before the change; after it renders, the cards that stay glide from where they were, new ones open in and the ones that left fade out where they stood.
    • 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).
    • liquid-marker.tsThe selected marker that moves like a drop of tea: shared by every segmented control, tab row and the side panel's page marker.
    • list-tools.tsxA list's search box and sort menu, side by side above it.
    • 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.
    • price-range.tsxThe price range: two glass handles on a track over a histogram of the homes' prices; the bars inside the range light up while you drag, and the filters follow live.
    • 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.tsxA detail sheet that slides in from the end edge over the page (a lead, a client, an offer); Escape, a tap outside or its close button slides it back.
    • 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.
    • toasts.tsxThe toasts: short notes that confirm what just happened, at the bottom end.
    • ui.tsxThe pieces every page is built from: the glass panel, the page heading, the segmented control with its liquid bead, a number tile, status chips, stars, a photo and a switch.
    • 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 (agent 1 in data/seed-people.ts) and the email and password the sign-in page takes.
    • api-agent.tsThe fake API's agent side: clients and their notes, the leads board, viewings and offers with their counters.
    • api.tsThe fake API: every page loads and saves through these functions (and data/api-agent.ts), so wiring a real backend happens here only.
    • net.tsThe fake network both API files share: an optional wait like a real call, and the demo's Slow network and Show error state switches.
    • photos.tsWhere the photos live: public/photos/ (h01-h36 the homes' fronts, r01-r11 their rooms); credits are in the README.
    • seed-deals.tsThe work around the homes: 34 leads, 42 viewings over four weeks, 16 offers with their back-and-forth, 7 saved searches, 26 notifications and half a year of the city's market.
    • seed-homes.tsThe agency's 36 homes across the six areas of the drawn city, each with its photo, pin and numbers.
    • seed-people.tsThe agency's five agents and thirty clients (buyers and sellers), each with notes.
    • time.tsThe demo's "now": the real date and time, so every seeded date sits the same distance from today on every visit.
    • types.tsThe shapes of the agency's data: listings, people, leads, viewings, offers, saved searches and notifications.
  • 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}).

listings-travertine.tsx

The page: the sections in order.

טוען…
מתאים ל
Estate agencies and property startups that need map search, listing pages and an agent's pipeline in one app.
איך זה עובד
Drag the price range and the map pins and home cards glide away together; save the search, then work leads, viewings and offers.
איך משתמשים
Edit words in locales/en.json and colors in theme.ts, and swap the bodies in data/api.ts for calls to your backend.