Chuyển đến nội dung

Jasmine

v1.0

An art and lifestyle gallery shop app for iOS and Android: bright cream walls, ink type and one caramel accent, with tabs that hang like museum placards.

$199

Tích hợp sẵn

Bạn nhận được
  • Sáng và tốiDùng màu theo giao diện của bạn
  • điện thoại và máy tính bảngCác màn hình mục này được thiết kế cho
  • Package…
  • Dung lượng mã…
  • Tiết kiệm pin30 fps, nghỉ khi đứng yên
  • Tạm dừng khi bị ẩnNgoài màn hình hoặc tab khác
  • Giảm chuyển độngÊm dịu cho người có yêu cầu

Được kiểm tra ở mỗi thay đổi

Kiểm tra bảo mật 3 thg 12
  • Kiểm tra kiểuTypeScript strict
  • Lint và định dạngESLint · Prettier
  • Test và buildẢnh chụp sáng và tối
  • Kiểm tra bảo mậtKhông có cảnh báo mức cao hoặc nghiêm trọng
  • Tuổi của packageMọi phiên bản công khai từ 7 ngày trở lên
  • CPU khi nghỉDưới nửa nhân khi đứng yên, ≤ 30 fps

Mã nguồn

gallery-jasmineReact Native
  • README.mdHow to run it, change it and ship it.
  • app.config.tsThe app's name, ids and platform settings.
  • package.jsonThe app's packages: Expo, React Native.
  • package-lock.jsonThe exact package versions npm ci installs.
  • tsconfig.jsonTypeScript settings: strict, typed routes.
  • .npmrcnpm settings: exact versions, no install scripts.
  • .gitignoreWhat git leaves out: packages, builds, keys.
  • images.d.tsLets TypeScript import the photos in assets/photos (Metro turns each into an image source).
  • appThe screens, one file per route (Expo Router).
    • (tabs)The screens, one file per route (Expo Router).
      • _layout.tsxThe five rooms, behind the placards (components/placard-nav.tsx): a row along the bottom of a phone, an upright rail at the side of a tablet.
      • collections.tsxExhibits: the season's collections, each hung in a white frame with its curator's placard, after a shelf of studio visits (the makers).
      • home.tsxHome, hung like the front room of a gallery: the logo with the bell and the bag, a greeting and the search bar, the season's exhibition in a white frame with its placard, then numbered sections: rooms, new in, collections, the makers, events, the journal, the most loved pieces and what the shopper looked at last.
      • profile.tsxProfile: the shopper's portrait and details (Edit opens a sheet), three placard numbers (orders, saved pieces, registries) that open their lists, then grouped rows to everything else, and Sign out after a confirm.
      • shop.tsxThe shop: every piece on one wall.
      • wishlist.tsxThe wishlist: the saved pieces on their own wall, newest first.
    • addressThe screens, one file per route (Expo Router).
      • [id].tsxAdd or change an address ("new" adds one): label, name, street, city, ZIP and phone.
    • cardThe screens, one file per route (Expo Router).
      • [id].tsxAdd or change a card ("new" adds one).
    • categoryThe screens, one file per route (Expo Router).
      • [id].tsxA room of the shop (a category): a wide photo with its name and line on a placard, the care note, then every piece in it, sortable by price.
    • collectionThe screens, one file per route (Expo Router).
      • [id].tsxA collection: its cover hung in a white frame, the name and the curator, the curator's note in the italic serif, then its pieces on a wall of cards.
    • eventThe screens, one file per route (Expo Router).
      • [id].tsxOne gallery event: the cover with its date block, the kind and title, when, where and who hosts, the evening and what to bring.
    • makerThe screens, one file per route (Expo Router).
      • [id].tsxA maker: their portrait in a white frame, the craft and the city, Follow (kept for this visit), the story and their own words as a pull quote, then every piece they made for the shop.
    • orderThe screens, one file per route (Expo Router).
      • [id].tsxOne order: its status, the way to the door (a cancelled order says it was refunded instead), the pieces, where it goes and how it was paid, the receipt, then Buy it again, Cancel order (only before it's packed, after a confirm) and help.
    • placedThe screens, one file per route (Expo Router).
      • [id].tsxThank you: the jasmine mark pops in a white frame, the order number on its placard, when it should arrive and what was paid, then Track this order and Keep browsing.
    • productThe screens, one file per route (Expo Router).
      • [id].tsxA piece: its photo on a paper tile with the heart, then its placard (the room and the maker, the serif name, the stars that open the reviews, the price), the named colors, the quantity and Add to bag in a bar pinned at the bottom, then Add to a registry, the details, the maker, the first reviews and pieces to hang with it.
    • registry-editThe screens, one file per route (Expo Router).
      • [id].tsxMake or change a registry ("new" makes one): its name, the occasion, how many days until the day (a week per step) and a note for guests.
    • registryThe screens, one file per route (Expo Router).
      • [id].tsxOne registry: the occasion and how far off it is, the note for guests, how much has been given, Share (copies the link) and Edit, then each wished piece with how many were given, a stepper for how many are wished for (never fewer than given) and Remove with Undo.
    • reviewsThe screens, one file per route (Expo Router).
      • [id].tsxA piece's reviews: the rating as a big serif number with its stars, the five-to-one breakdown, a sort (newest, highest, lowest) and the list.
    • storyThe screens, one file per route (Expo Router).
      • [id].tsxA journal story: the cover in a white frame, the kicker, title and dek, the byline, the paragraphs with the pull quote set between them, then the pieces it mentions on a shelf and two more stories.
    • _layout.tsxThe root: loads the serif (its semibold for headings, its italic for quotes), waits for the kept Light / Dark pick, follows the theme and stacks the screens.
    • about.tsxAbout Jasmine: the mark in a white frame, the lead line, the story, three facts set like a gallery wall label, the photo credits and the links.
    • addresses.tsxSaved addresses: the first is the default checkout offers.
    • cards.tsxPayment cards: each drawn as a small ink card (brand, the last four, name and expiry); the first is the default.
    • cart.tsxThe bag: each piece as a row (photo, name, color, a quantity stepper, its price and Remove, with Undo), a bar showing how close the bag is to free delivery, then the summary and Go to checkout.
    • checkout.tsxCheckout on one page, in numbered steps like a catalogue: where to deliver (Change picks another saved address or adds one), how (standard, express or collect), which card, gift wrap with a card message, and a promo code.
    • events.tsxAt the gallery: every upcoming workshop, opening and talk, soonest first, as rows with their date block; Booked shows only the ones the shopper holds seats for.
    • forgot.tsxForgot password: one email field, then a sent card with Send it again and the way back to sign in.
    • help.tsxHelp & questions: the questions people ask most, grouped, each opening in place (one at a time, the chevron turning), then the ways to reach a person: write, call, the hours and the gallery's address.
    • index.tsxThe welcome: three slides (the shop, the makers, the gallery), each a photo hung in a white frame with its placard of words under it.
    • journal.tsxThe journal: the newest story leads wide, the rest follow in one column on a phone and two on a tablet.
    • notifications.tsxNotifications: order news, wishlist alerts, events, the journal and offers, newest first.
    • orders.tsxMy orders: Current (placed, packed, on its way) and Past (delivered and cancelled), each order a card with its number, date, status, the first pieces' photos and the total.
    • registries.tsxGift registries: each list as a card with its occasion, how far off it is, how much of it guests have given (a thin caramel line) and its first pieces; New registry opens the editor.
    • search.tsxSearch: the field opens focused.
    • settings.tsxSettings: Appearance (System, Light, Dark; kept on the device), what to be notified about, then Sign out (confirm first) and the version.
    • sign-in.tsxSign in: email and password with errors under each field, the password's show / hide eye, a demo account card that fills the form in, Forgot password, Apple and Google (they work in the store build only) and the way to join.
    • sign-up.tsxJoin: name, email, password (with a four-step strength bar) and its confirmation, and the terms.
  • componentsThe parts the screens are built from.
    • auth-frame.tsxThe frame of the account screens (sign in, sign up, reset): Back and the logo on top, a serif title and a line, then the form.
    • bill.tsxThe money on a bag, a checkout or an order, set like a gallery's price list: each line with its amount, a rule, then the total in the serif.
    • blocks.tsxSmall shared blocks: a white `Card` lifted off the cream, a list `Row` (icon, label, a value and a chevron) that opens something, a `Tag`, the order `StatusTag` (caramel on its way, green delivered, grey cancelled) and the `SectionHead` every Home and detail section starts with: the placard's "01" number, a serif title and "View all".
    • build.tsxA part coming in (MOTION in constants/motion.ts): from its first frame it waits at its moment's pose (a block hung a little high and crooked, a heart small, a sheet low), then moves to its place at its turn.
    • button.tsxThe buttons.
    • cards.tsxThe gallery's cards, each opening its page: a room (category) tile, a collection hung in a white frame, a maker's portrait, an event with its date block and a journal story.
    • checkout-parts.tsxThe parts of checkout: a numbered `Step` (its "01", the serif title and an optional Change), the promo code field (JASMINE10 or GALLERY15 take a share off the pieces; a wrong code says so) and the sheet that picks another saved address or card, or adds one.
    • choice.tsxA picked-or-not row on a card (a delivery choice, a saved address or card): a ring that fills with ink when picked, the words, and an optional amount on the right.
    • controls.tsxThe small controls: `Chips` (a row of choices, the picked one ink), `Segment` (a few choices with an ink pill that glides to the pick), `Stepper` (minus, the number, plus), `Toggle` (a switch row) and `Stars`.
    • empty.tsxAn empty state: an icon in an empty frame on the wall, a serif title, a line and the action that fills it, so no list is ever just blank.
    • field.tsxA labelled text field with one designed focus state on every platform: the border turns ink (same width, so nothing shifts), an error line under it in red, an optional icon, and a show / hide eye on passwords.
    • icon.tsxFine line icons on a 24-point grid, drawn for Jasmine so the app needs no icon font: thin strokes like a pen on a placard.
    • logo.tsxThe Jasmine mark: a five-petal jasmine flower drawn in one ink line, each petal a little twisted like the real bloom, with a caramel heart; beside it the name in the serif, like a gallery's wall text.
    • missing.tsxWhat a detail screen shows when its id isn't found (a deleted registry, an old link): an empty frame, the reason and the way back to the shop.
    • other-ways.tsxThe foot of the sign-in and join screens: Apple and Google (they work in the store build only), then the link to the other screen.
    • photo.tsxA photo that fills its box and keeps its subject in view: the box is measured and the picture placed by its focus point (like CSS object-position), clipped to the box.
    • placard-nav.tsxThe app's navigation, a slim picture rail with one museum placard.
    • pressable-scale.tsxA Pressable that shrinks a little under the finger and springs back.
    • product-card.tsxA piece as it hangs in the shop: its photo on a paper tile with the heart in the corner, a placard under it (the category in small capitals, the name on two lines, the stars) and the price with a small ink bag button that adds it in its first color.
    • product-grid.tsxA wall of pieces: the screen's own FlatList (its header scrolls with it), two columns on a phone and three or four on a tablet, picked from the width beside the rail and re-keyed when the count changes.
    • product-parts.tsxThe parts of a product's page below the buying: the details table (material, size, care, delivery), the maker's card, the first reviews and the sheet that adds the piece to a gift registry.
    • screen.tsxEvery screen's frame: the theme's cream ground and the safe-area insets, so nothing sits under the notch or the home indicator.
    • sheet.tsxA bottom sheet over a dimmed screen (a centered card on a tablet): it rises softly as it opens.
    • shelf.tsxA shelf: a row of cards that scrolls sideways, bleeding to the screen's edges so the next card peeks in (a negative margin, which the web keeps too) while the first lines up with the page's margin.
    • swatches.tsxA piece's colors as round swatches, named for screen readers; the picked one wears an ink ring.
    • timeline.tsxAn order's way to the door, read down like a list of dates on a wall label: placed, packed, on its way, delivered.
    • toast.tsxThe note after an action, hung above the placards at the bottom like a small ink label, with an Undo when the action can be taken back.
    • top-bar.tsxThe bar at the top of a pushed screen: a round Back button, the title in the serif with an optional small caption above it, and the actions on the right (often the bag with its count).
    • words.tsxEvery line of text in the app: a size from the type scale and a tone from the theme, so a screen never sets colors or sizes by hand.
  • constantsColors, sizes, motion and the brand defaults.
    • color.tsSmall color math for the shades that follow the brand colors.
    • motion.tsMotion settings shared by every animation: Jasmine's "gallery hang".
    • theme.tsThe app's colors, the brand defaults and the sizes every screen shares.
  • hooksState and theme hooks.
    • store.tsA tiny store for the app's state: one value, changed with `update`, and read in components with useStore, which redraws them when it changes.
    • use-account.tsThe account: who is signed in, the accounts made on this phone (kept on the device) and whether they signed out, which guards the signed-in screens (app/_layout.tsx).
    • use-appearance.tsThe look picked in Settings: System (the phone's light or dark setting), Light or Dark.
    • use-arrival.tsxWhether a tab's screen is opening because a tab was picked: then its blocks are already hung when it fades in over the old one, so nothing pops in one by one after the switch.
    • use-brand.tsThe brand settings: the values in constants/theme.ts.
    • use-count-up.tsA number (a price, a total, a count) that shows its value at once when the screen opens, and only when the value really changes (a quantity, a promo code, gift wrap) moves from the old value to the new one, easing out over FILL.
    • use-icons.tsHow the line icons are drawn (ICON in constants/theme.ts).
    • use-layout.tsPhone or tablet layout, from the window's width (not the device), so an iPad in Split View or a small Android tablet gets the layout that fits.
    • use-leave.tsA soft hand-off between screens that replace each other (Get started → sign in, sign in → Home, Sign out → sign in): the screen lifts off the wall, then the next one is hung.
    • use-motion.tsThe app's moments (MOTION in constants/motion.ts): how parts come in and answer a press.
    • use-moves.tsThe app's animations (movesOf in constants/motion.ts), built from its moments (hooks/use-motion.ts).
    • use-notices.tsThe notifications, kept on the device: which are read, and the ones cleared away.
    • use-orders.tsThe orders, kept on the device: the seeded history plus every order placed at checkout.
    • use-places.tsThe saved addresses and cards, kept on the device: added, edited and deleted (with Undo) in Profile, picked from at checkout.
    • use-prefs.tsThe settings kept on the device: which notifications come and the events the shopper has booked a seat at.
    • use-registries.tsThe gift registries, kept on the device: made, renamed and deleted (with Undo), and pieces added to or taken off each one.
    • use-scheme.tsDark or light: the pick in Settings (hooks/use-appearance.ts), or with System, the phone's appearance setting (app.config.ts sets userInterfaceStyle "automatic"); on the web, the browser's setting.
    • use-shop.tsThe shopper's bag, wishlist, recently viewed pieces and recent searches, kept on the device.
    • use-slide.tsA position that glides to each new target, except the first one it is measured at: there it starts in place, so the pill under a segment doesn't slide in from the edge when a screen opens.
    • use-still.tsWhether the app's own loops and plays stay still: the phone's "Reduce motion" is on, or MOTION.reduce is Always (constants/motion.ts).
    • use-theme.tsThe palette of the theme in use and the styles that depend on it and on the brand, built once per brand and theme and shared by every part.
    • use-toast.tsA short note at the bottom after an action ("Added to your bag", "Removed from wishlist · Undo"), with an optional Undo.
  • dataEvery word and product the app shows.
    • copy-account.tsThe profile's words: the profile tab, notifications, settings, the saved addresses and cards, help and about.
    • copy-more.tsThe words of the orders, the journal, the store events and the gift registries.
    • copy-shop.tsThe shop's words: Home, Shop, a product and its reviews, search, the bag, checkout, the wishlist, collections, categories and makers.
    • copy.tsEvery word the screens show, so a buyer changes them in one place: the shared words, the welcome and the account screens here, the shop's in copy-shop.ts, the orders, journal, events and registries in copy-more.ts, and the profile's in copy-account.ts.
    • events.tsStore events: workshops, openings and talks at the Jasmine gallery shop.
    • help.tsHelp: the questions people ask most, in three groups, and the ways to reach the shop.
    • journal.tsThe journal: studio visits, how-tos and notes from the makers.
    • makers.tsThe makers behind the shop and the curated collections.
    • notices.tsThe notifications list: orders, events, the wishlist, the journal and offers, dated back from now.
    • orders.tsThe shopper's past and current orders, dated back from today so the history always reads as the last nine weeks.
    • photos-home.tsThe photos of bags, ceramics and home pieces, with words for screen readers, their shape (width / height) and the point to keep in view when a frame crops them (0-1 across and down, center when left out).
    • photos-paper.tsThe photos of stationery, prints and lifestyle pieces, with words for screen readers, their shape (width / height) and the point to keep in view when a frame crops them.
    • photos.tsEvery photo the app shows: the rooms, the gallery, the workshops and the makers here, the products from photos-home.ts and photos-paper.ts.
    • products-home.tsBags and ceramics: each piece's name, price in cents, rating, maker, photo, colors, words and facts (the shape is in data/products.ts).
    • products-paper.tsHome decor and stationery: each piece's name, price in cents, rating, maker, photo, colors, words and facts (the shape is in data/products.ts).
    • products-wear.tsPrints and lifestyle pieces: each one's name, price in cents, rating, maker, photo, colors, words and facts (the shape is in data/products.ts).
    • products.tsThe shop: its six categories, the colors a piece comes in and every product (in products-*.ts), with helpers to find them.
    • registries.tsGift registries: lists the shopper makes for an occasion, with how many of each piece they wish for and how many guests already bought.
    • reviews.tsCustomer reviews.
    • user.tsThe demo shopper: the signed-in person, the demo login (shown as a hint on the sign-in screen), saved addresses and cards, and the delivery choices at checkout.
  • pluginsBuild settings Expo has no option for.
    • night-window.tsAndroid's window color (behind the screens) for a phone in dark mode.
  • assetsThe photos the screens show.
    • photosThe photos the screens show.
      • avatar.jpgA photo the app shows.
      • bag-backpack.jpgA photo the app shows.
      • bag-leather.jpgA photo the app shows.
      • bag-market.jpgA photo the app shows.
      • bag-messenger.jpgA photo the app shows.
      • bag-mini.jpgA photo the app shows.
      • bag-rucksack.jpgA photo the app shows.
      • bag-woven.jpgA photo the app shows.
      • cer-branch-vase.jpgA photo the app shows.
      • cer-bud-vase.jpgA photo the app shows.
      • cer-espresso.jpgA photo the app shows.
      • cer-ikebana.jpgA photo the app shows.
      • cer-mugs.jpgA photo the app shows.
      • cer-plates.jpgA photo the app shows.
      • cer-splatter.jpgA photo the app shows.
      • cer-teapot.jpgA photo the app shows.
      • dec-candle-duo.jpgA photo the app shows.
      • dec-candle.jpgA photo the app shows.
      • dec-cushion.jpgA photo the app shows.
      • dec-floor-plant.jpgA photo the app shows.
      • dec-mirror.jpgA photo the app shows.
      • dec-planter.jpgA photo the app shows.
      • dec-throw.jpgA photo the app shows.
      • dec-trivets.jpgA photo the app shows.
      • event-carving.jpgA photo the app shows.
      • event-glaze.jpgA photo the app shows.
      • event-opening.jpgA photo the app shows.
      • event-wheel.jpgA photo the app shows.
      • lif-earrings.jpgA photo the app shows.
      • lif-jewelry.jpgA photo the app shows.
      • lif-perfume-bloom.jpgA photo the app shows.
      • lif-perfume.jpgA photo the app shows.
      • lif-straw-hats.jpgA photo the app shows.
      • lif-sunglasses.jpgA photo the app shows.
      • maker-jeweller.jpgA photo the app shows.
      • maker-leather.jpgA photo the app shows.
      • maker-painter.jpgA photo the app shows.
      • maker-potter.jpgA photo the app shows.
      • maker-printer.jpgA photo the app shows.
      • maker-weaver.jpgA photo the app shows.
      • prt-abstract.jpgA photo the app shows.
      • prt-black-sun.jpgA photo the app shows.
      • prt-botanical.jpgA photo the app shows.
      • prt-leaf-frame.jpgA photo the app shows.
      • prt-line-pair.jpgA photo the app shows.
      • scene-bedroom.jpgA photo the app shows.
      • scene-entry.jpgA photo the app shows.
      • scene-evening.jpgA photo the app shows.
      • scene-gallery-space.jpgA photo the app shows.
      • scene-gallery-wall.jpgA photo the app shows.
      • scene-gallery.jpgA photo the app shows.
      • scene-kitchen.jpgA photo the app shows.
      • scene-vase.jpgA photo the app shows.
      • sta-card.jpgA photo the app shows.
      • sta-desk-set.jpgA photo the app shows.
      • sta-fountain-pen.jpgA photo the app shows.
      • sta-letter-set.jpgA photo the app shows.
      • sta-pencil-cup.jpgA photo the app shows.
      • sta-pencils.jpgA photo the app shows.
      • sta-planner.jpgA photo the app shows.

README.md

How to run it, change it and ship it.

Đang tải…
Phù hợp cho
Galleries, design stores and maker shops that sell art and objects and want a calm, editorial shop app of their own.
Cách hoạt động
Browse exhibits, rooms and makers, pick a color, save and buy, track orders, read the journal, book events and keep gift registries.
Cách dùng
Run it in Expo Go, change the words in data/copy.ts, the pieces in data/products.ts, photos in data/photos.ts and colors in constants/theme.ts, then build with EAS.