ข้ามไปยังเนื้อหา

Perfume Orris

v1.0

An editorial perfume house app for iOS and Android on cream paper with wine ink and italic serif: notes pyramids, discovery sets, a scent quiz, gift wrap and boutique bookings.

$199

มีในตัว

สิ่งที่คุณได้รับ
  • สว่างและมืดใช้สีของธีมคุณ
  • โทรศัพท์และแท็บเล็ตหน้าจอที่สร้างมารองรับ
  • แพ็กเกจ…
  • ขนาดโค้ด…

ตรวจสอบทุกครั้งที่มีการเปลี่ยนแปลง

ตรวจสอบความปลอดภัย 3 ธ.ค.
  • ตรวจสอบไทป์TypeScript แบบ strict
  • Lint และฟอร์แมตESLint · Prettier
  • ทดสอบและบิลด์ภาพหน้าจอโหมดสว่างและมืด
  • ตรวจสอบความปลอดภัยไม่มีคำเตือนระดับสูงหรือวิกฤต
  • อายุแพ็กเกจทุกเวอร์ชันเผยแพร่มาแล้วอย่างน้อย 7 วัน
  • CPU ขณะว่างต่ำกว่าครึ่งคอร์ขณะพัก ≤ 30 fps

โค้ด

perfume-orrisReact 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 places, with the word nav (components/word-nav.tsx): a row of italic words at the bottom of a phone, an 88pt word rail at the side of a tablet.
      • bag.tsxThe bag: each line with its photo, size, a quantity stepper and Take out (with Undo); a promo code; gift wrap and a card; the totals with how far free delivery is; and Checkout.
      • home.tsxHome, like the pin: the bottle-among-roses hero with its italic line, a greeting, the four scent families, what's new, the collections, the sample offer, the journal and the boutiques.
      • me.tsxMe: who is signed in with their Iris Circle points, a sheet to edit the details, shortcuts to orders, consultations, sets and the quiz, your reviews, the shopping and app settings, and Sign out (after a confirm).
      • saved.tsxSaved: every hearted scent in the grid, newest first (the heart takes one out, with Undo), then the discovery sets you built, each opening the builder.
      • shop.tsxThe shop: a search line that opens Search, the four families as chips (the ones picked at onboarding first), a sort, the perfumes in a grid of two on a phone and three to five on a tablet, the collections and the quiz offer.
    • articleThe screens, one file per route (Expo Router).
      • [id].tsxA journal story: the wide photo, the kicker and title in italic serif, the lead, the body in a reading column, the scents it mentions and more stories.
    • boutiqueThe screens, one file per route (Expo Router).
      • [id].tsxOne boutique: its photo and story, hours, address and phone, what you can do there, and its advisors with their faces and languages.
    • collectionThe screens, one file per route (Expo Router).
      • [id].tsxA collection: its photo and story, its perfumes in the grid, and the other collections to move on to.
    • familyThe screens, one file per route (Expo Router).
      • [id].tsxA scent family: its photo and what it feels like, the notes it is made of (each opens Search), its perfumes in the grid, and the other families.
    • orderThe screens, one file per route (Expo Router).
      • [id].tsxOne order: its tracking line (each step with its time, the reached ones in wine and Delivered in green), the carrier and number, what was in it, where it went and how it was paid, and the actions: cancel before it ships (confirm, then Undo), buy again, review, or get help.
    • perfumeThe screens, one file per route (Expo Router).
      • [id].tsxA perfume: the bottle photo, its family and collection, stars, the three sizes as calm cards (ml and price), Add to bag and a 2 ml sample, the notes pyramid, the story with how long it lasts and how far it carries, two reviews and scents like it.
    • placedThe screens, one file per route (Expo Router).
      • [id].tsxThe thank-you page after checkout: the gift photo, the order number and when it arrives, then Track the order or Keep shopping.
    • reviewsThe screens, one file per route (Expo Router).
      • [id].tsxA perfume's reviews: the average with how long it lasts and how far it carries, your own review (write, edit, or delete with a confirm and Undo) and every review after it.
    • _layout.tsxThe root: loads the serif, waits for the kept System / Light / Dark pick, follows the theme and stacks the screens.
    • addresses.tsxAddresses: every saved address as a card; tap one to edit it in a sheet, Add for a new one, Delete asks first and then offers Undo.
    • boutiques.tsxThe boutique finder: the six houses nearest first, each with its photo, city, how far it is and its hours, opening the boutique; Book goes straight to its consultation booking.
    • cards.tsxPayment cards: each saved card drawn as a wine card face with its brand, last four digits and expiry.
    • checkout.tsxCheckout: where to deliver (your saved addresses), standard or express, which card, and the order summary.
    • consultations.tsxConsultations: the ones coming up (each with its advisor, boutique, time and Cancel, which asks first and then offers Undo) and the past ones.
    • discovery.tsxThe discovery set builder: name a set and pick five scents as 2 ml samples (a sixth asks you to take one out first).
    • forgot.tsxForgot password: the email, then a "check your email" state that names it.
    • gift.tsxGift wrap: three finishes as photo cards (the wine box is free) and a card message of up to 200 letters, copied by hand.
    • help.tsxHelp: search the questions, the FAQ by topic (a tap opens an answer), how to reach us, and a few lines about the house.
    • index.tsxThe welcome: the monogram and wordmark, a tall rose photo, the slide's italic line and a sentence, three dots, then "Create an account" and "I have an account".
    • journal.tsxThe journal: the newest story large, then the rest as cards (two or three to a row on a tablet), each with its photo, kicker and read time.
    • matches.tsxYour quiz matches: five perfumes ranked by how close they sit to your answers, each with its percent, the notes that made it a match and a sample to add.
    • notifications.tsxNotifications: order news, launches, restocks, consultations and new stories, unread ones marked with a wine dot.
    • onboarding.tsxAfter sign-up: pick the scent families you love (one or more), shown as four photo tiles.
    • orders.tsxOrders: the ones on the way first, then the past ones, each opening its tracking.
    • quiz.tsxThe scent quiz: six questions one at a time, each answer a tile with the photo of a note it leans to.
    • search.tsxSearch across names, moods, families, collections and notes.
    • settings.tsxSettings: System / Light / Dark (kept on the device), which notifications we send, the account's addresses and cards, and help and the version.
    • sign-in.tsxSign in with email and password.
    • sign-up.tsxCreate an account: name, email and a password of 8 or more.
  • componentsThe parts the screens are built from.
    • auth-frame.tsxThe frame of the sign-in, sign-up and reset screens: a back arrow, the italic title and a line under it, then the form.
    • book-sheet.tsxBooking a free consultation at one boutique: what it's about, which advisor, the day (the next seven) and the time.
    • build.tsxA part coming in (MOTION in constants/motion.ts): from its first frame it waits at its moment's pose (a block a little low and misty, a heart tiny, a sheet lower down), then moves to its place at its turn.
    • button.tsxThe app's buttons: the wine "primary" for the one main action on a screen, "soft" (the rose wash) for second actions, "line" (a hairline outline, like the pin's chips), "text" for quiet links and "light" (cream with ink, the same in both themes) for a second action over a photo.
    • field.tsxA labelled text field with one designed focus state on every platform: the hairline turns wine (same width, so nothing shifts).
    • hero.tsxHome's opening, like the pin: a bottle standing among roses, the season's line in the italic serif and two ways in.
    • icon.tsxLine icons on a 24-point grid, drawn so the app needs no icon font.
    • logo.tsxThe house mark: an "O" drawn as a thin ring with an iris stem rising through it, and the word "Orris" in the italic heading face.
    • menu-sheet.tsxThe menu behind the top bar's menu button: every place in the app, Home first, the current one marked "You're here".
    • order-card.tsxAn order in the list: the first bottle's photo, the number and date, its state (green only once delivered, grey when cancelled, wine on the way) and the total.
    • parts.tsxSmall parts the screens share: a chip and a row of them, a section's italic head with its "See all", a quantity stepper, stars, the five-dash meters for longevity and sillage, and the empty state.
    • perfume-card.tsxA perfume as a card in a grid (the bottle photo on a soft band, a heart at its corner, the name in the serif and its 30 ml price) or as a row in a list.
    • 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.
    • pressable-scale.tsxA Pressable that shrinks a little under the finger and springs back.
    • pyramid.tsxThe notes pyramid on a perfume's page: top notes, heart and base, each tier a little wider than the one above, every note a round photo with its name.
    • review-card.tsxOne review: the reviewer's face (or initials for your own), their city, the stars, the words, and how long it lasted and how far it carried.
    • rows.tsxSettings-style lists: a group on a white panel with hairlines between rows, a row that opens something, a row with a switch, and a segmented pick (System / Light / Dark).
    • screen.tsxEvery screen's frame: the theme's 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 and its rows follow (Build moment "sheet").
    • size-cards.tsxA perfume's three sizes as a calm row of equal cards, each with its ml and price; the picked one takes the rose wash and a wine edge.
    • toast.tsxThe note after an action, rising above the nav as a cream (or night) capsule with a wine check, and an Undo when the action can be taken back.
    • top-bar.tsxThe bar at the top of every screen, like the pin's: a back arrow on inner screens (to the screen before, or Home after a deep link) or the menu on the tabs, the logo or the screen's title in the middle, and the bell and bag at the right.
    • word-nav.tsxThe app's navigation: five words in the italic serif, no icons, no backing strip (Home · Shop · Saved · Bag · Me).
    • words.tsxEvery piece of text in the app, in one of a few kinds: an italic serif for headings (the house voice), an upright serif for perfume names and prices, the phone's own sans for reading, and small spaced capitals for captions.
  • 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: "slow mist".
    • 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-bag.tsThe bag: bottles in a size, 2 ml samples and discovery sets, with the promo code, gift wrap and card message the shopper picked.
    • use-brand.tsThe brand settings: the values in constants/theme.ts.
    • use-icons.tsHow the line icons are drawn (ICON in constants/theme.ts).
    • use-layout.tsPhone or tablet layout, from the window's size (not the device), so an iPad in Split View or a small Android tablet gets the layout that fits, and turning the tablet re-lays out at once.
    • 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-my-reviews.tsReviews the shopper wrote, kept on the device and shown first on the perfume's reviews.
    • use-notices.tsThe notifications, kept on the device: one is read when it is opened, all at once from the list, and a swipe-free Clear takes one out (with an Undo).
    • use-orders.tsThe order history: the seeded orders plus every order placed at checkout, newest first, kept on the device.
    • use-prefs.tsThe switches in Settings and the scent profile from onboarding or the quiz, kept on the device.
    • use-saved.tsThe scents the shopper saved (the heart on every card), newest first, kept on the device.
    • 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-sets.tsThe shopper's discovery sets: five 2 ml samples each, named, kept on the device.
    • 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 picked theme and the styles that depend on it and on the brand, rebuilt only when one of them changes.
    • use-toast.tsA short note at the bottom after an action ("Added to your bag", "Set deleted · Undo"), with an optional Undo.
    • use-visits.tsConsultations booked in a boutique, kept on the device: one already booked for next week, one from last month.
    • use-wallet.tsSaved delivery addresses and cards, kept on the device.
  • dataEvery word and product the app shows.
    • boutiques.tsThe house's boutiques and the perfume advisors who run consultations in them.
    • catalog.tsHow the shop is arranged: the four scent families, the collections, the bottle sizes and the gift and sample prices.
    • copy-account.tsThe account's words: the Me tab, orders and tracking, boutiques and consultations, the journal, notifications, settings, addresses, cards and help.
    • copy-shop.tsThe shop's words: the Shop, Saved and Bag tabs, search, reviews, the quiz and its matches, the discovery builder, gift wrap and checkout.
    • copy.tsEvery word the shared parts, the welcome and sign-in screens and Home show, so a buyer changes them in one place.
    • format.tsHow money, dates and counts read: one place, so a buyer changes the currency or the date style once.
    • help.tsQuestions people ask the house, grouped, for the Help screen, and the lines of the About section.
    • journal.tsThe journal: short stories from the house about materials, wearing and the people who make the scents.
    • notes.tsThe raw materials the scents are built from, each with its photo and a line on how it smells.
    • notices.tsThe notifications the demo account starts with: orders on the way, new launches, restocks, consultations and journal stories, over the last month.
    • orders.tsThe order history the demo account starts with: ten weeks of orders in every state (on the way, delivered, cancelled), dated back from today.
    • perfumes.tsEvery perfume in the shop, one row each, so a buyer edits one line per scent.
    • photos-shop.tsThe shop's photos: one bottle per perfume (keyed by the perfume id) and one picture per note.
    • photos.tsEvery photo the app shows: the shop's bottles and notes (photos-shop.ts) plus the scenes and faces here.
    • quiz.tsThe scent quiz: six questions, each answer leaning toward families and notes.
    • reviews.tsWhat people wrote about the scents: about four reviews per perfume from a circle of regular customers, each with stars, how long it lasted on them and how far it carried (longevity and sillage, 1-5).
    • user.tsThe demo account and what it starts with: its saved addresses and cards, its saved scents and its scent profile.
  • 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.
      • amber-vow.jpgA photo the app shows.
      • bergamot-coast.jpgA photo the app shows.
      • bergamot.jpgA photo the app shows.
      • cardamom.jpgA photo the app shows.
      • cedar-hymn.jpgA photo the app shows.
      • cedar.jpgA photo the app shows.
      • face1.jpgA photo the app shows.
      • face10.jpgA photo the app shows.
      • face11.jpgA photo the app shows.
      • face12.jpgA photo the app shows.
      • face13.jpgA photo the app shows.
      • face14.jpgA photo the app shows.
      • face15.jpgA photo the app shows.
      • face2.jpgA photo the app shows.
      • face3.jpgA photo the app shows.
      • face4.jpgA photo the app shows.
      • face5.jpgA photo the app shows.
      • face6.jpgA photo the app shows.
      • face7.jpgA photo the app shows.
      • face8.jpgA photo the app shows.
      • face9.jpgA photo the app shows.
      • fig-linen.jpgA photo the app shows.
      • fig.jpgA photo the app shows.
      • frankincense.jpgA photo the app shows.
      • giftBox.jpgA photo the app shows.
      • giftRibbon.jpgA photo the app shows.
      • heroBottle.pngA photo the app shows.
      • heroField.jpgA photo the app shows.
      • incense-chapel.jpgA photo the app shows.
      • iris-lumiere.jpgA photo the app shows.
      • iris-poudre.jpgA photo the app shows.
      • irisField.jpgA photo the app shows.
      • jasmine-thread.jpgA photo the app shows.
      • jasmine.jpgA photo the app shows.
      • lavender-hour.jpgA photo the app shows.
      • lavender.jpgA photo the app shows.
      • lavenderField.jpgA photo the app shows.
      • mandarin-tide.jpgA photo the app shows.
      • mandarin.jpgA photo the app shows.
      • moss-stone.jpgA photo the app shows.
      • neroli-morning.jpgA photo the app shows.
      • neroli.jpgA photo the app shows.
      • nose.jpgA photo the app shows.
      • oakmoss.jpgA photo the app shows.
      • organ.jpgA photo the app shows.
      • orris-noir.jpgA photo the app shows.
      • orris-root.jpgA photo the app shows.
      • orris.jpgA photo the app shows.
      • oud-nocturne.jpgA photo the app shows.
      • oud.jpgA photo the app shows.
      • patchouli.jpgA photo the app shows.
      • peony-silk.jpgA photo the app shows.
      • peony.jpgA photo the app shows.
      • pepper-rose.jpgA photo the app shows.
      • pepper.jpgA photo the app shows.
      • rose-absolue.jpgA photo the app shows.
      • rose-de-mai.jpgA photo the app shows.
      • rose.jpgA photo the app shows.
      • roseField.jpgA photo the app shows.
      • rosePetals.jpgA photo the app shows.
      • saffron-ink.jpgA photo the app shows.
      • saffron.jpgA photo the app shows.
      • samples.jpgA photo the app shows.
      • sandalwood.jpgA photo the app shows.
      • santal-lumiere.jpgA photo the app shows.
      • shelf.jpgA photo the app shows.
      • shop1.jpgA photo the app shows.
      • shop2.jpgA photo the app shows.
      • shop3.jpgA photo the app shows.
      • shop4.jpgA photo the app shows.
      • shop5.jpgA photo the app shows.
      • shop6.jpgA photo the app shows.
      • tonka-velours.jpgA photo the app shows.
      • tonka.jpgA photo the app shows.
      • tuberose-ember.jpgA photo the app shows.
      • tuberose.jpgA photo the app shows.
      • vanilla-smoke.jpgA photo the app shows.
      • vanilla.jpgA photo the app shows.
      • velvet-iris.jpgA photo the app shows.
      • vetiver-extrait.jpgA photo the app shows.
      • vetiver-rain.jpgA photo the app shows.
      • vetiver.jpgA photo the app shows.
      • vials.jpgA photo the app shows.
      • violet-letter.jpgA photo the app shows.
      • violet.jpgA photo the app shows.
      • wear.jpgA photo the app shows.
      • wear2.jpgA photo the app shows.

README.md

How to run it, change it and ship it.

กำลังโหลด…
เหมาะสำหรับ
Niche perfume houses and fragrance boutiques that want a calm, magazine-like shop with samples, gifting and consultations to rebrand and ship.
ทำงานอย่างไร
Browse scents by family, read the notes pyramid, build a set of five samples, take the quiz, wrap a gift, check out and book a boutique visit.
วิธีใช้
Run it in Expo Go, change the words in data/copy*.ts, the perfumes, notes and boutiques in data/, the colors in constants/theme.ts, then build with EAS.