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

Hair Hibiscus

v1.0

A soft rose, flat-minimal curl care app for iOS and Android: a hair-type quiz, an H/N/R wash-day plan, logs, a product shelf and shop, salons and a Q&A community.

$199

มีในตัว

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

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

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

โค้ด

hair-hibiscusReact 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 hop nav (components/hop-nav.tsx): a slim row at the bottom of a phone, a rail at the side of a tablet.
      • community.tsxCommunity: search questions, Ask, topic chips and a sort switch, the top answer of the week, the pros who answer (follow them) and the questions, one under the other on a phone and 2 or 3 across a tablet.
      • home.tsxHome: the greeting, today's care on a hero card with a hibiscus at its corner, the week of the plan, products picked for the member's curls, the next appointment, the tip of the day, progress, routines and the community.
      • me.tsxMe: the member's photo and name with a hibiscus at the card's corner, their hair at a glance, three counts, saved products, and the menu: Home first, their things, the account, help and Sign out (asked first).
      • plan.tsxThe plan: four weeks of wash days as a calendar (each day's care as its icon, today in rose), what each care day does, the eight-step rotation, the next wash days, the latest logs and the ways into the schedule, routines, progress, tips, the shelf and the quiz.
      • shop.tsxThe shop: search, a promo card with a hibiscus, the six kinds as photo tiles, kind chips, and a sheet to sort and pick a care day.
    • bookedThe screens, one file per route (Expo Router).
      • [id].tsxBooked: the salon and time, the service and stylist, and the ways on: add it to the calendar, see all bookings or go Home.
    • orderThe screens, one file per route (Expo Router).
      • [id].tsxOne order: its tracking as four steps (cancelled shows that instead), what's in it, where it went and how it was paid, Buy again, Help, and Cancel while it's still being packed (asked first, can be undone).
    • placedThe screens, one file per route (Expo Router).
      • [id].tsxOrder placed: the order number, when it arrives, what's in it and the ways on: track it, keep shopping or go Home.
    • productThe screens, one file per route (Expo Router).
      • [id].tsxA product: a gallery (the big photo and thumbnails to switch it), the name, maker, rating and price, whether it fits the member's plan, the facts, what it does, how to use it, key ingredients, reviews with the share of each star, and products that go with it.
    • questionThe screens, one file per route (Expo Router).
      • [id].tsxA question: who asked and when, the details, the answers (most helpful first, pros badged, each can be marked helpful), the member's own answer box, and related questions.
    • routineThe screens, one file per route (Expo Router).
      • [id].tsxA routine: its photo with a hibiscus at the corner, what it does, the steps to tick off one by one (each with its time and product), the products it needs, and Log this wash day once every step is done.
    • salonThe screens, one file per route (Expo Router).
      • [id].tsxA salon: a gallery (the big photo and thumbnails), its name, area, rating and hours, what it's about, its services (each books), the team (each books with them) and reviews.
    • tipThe screens, one file per route (Expo Router).
      • [id].tsxOne tip to read: its photo with a hibiscus at the corner, the topic and time, the lead, the paragraphs, Save and Share, and more tips.
    • wash-dayThe screens, one file per route (Expo Router).
      • [id].tsxOne logged wash day: the date and care, how the hair felt on the five petals, what was noticed, the notes, the routine and products used.
    • _layout.tsxThe root: loads the heading font, waits for the kept Light / Dark pick, follows the theme and stacks the screens.
    • about.tsxAbout: the logo on a petal card with hibiscus corners, what Hibiscus is, three values, where the photos come from, the version and the legal links.
    • addresses.tsxAddresses: each saved one with Edit and Delete (asked first, can be undone).
    • ask.tsxAsk the community: a topic, the question (10 characters or more) and the details.
    • bag.tsxThe bag: each line with its photo, price and a quantity stepper, Remove (the toast can undo it), how far from free shipping, a promo code, the totals and Checkout.
    • book.tsxBook a salon visit: the service, the stylist (or first available), the day from the next two weeks, a free time (taken ones are struck out), a note and the summary.
    • bookings.tsxBookings: upcoming or past.
    • cards.tsxPayment cards: each saved card as a flat rose card face with Delete (asked first, can be undone).
    • checkout.tsxCheckout: where to send it and how to pay (picked from the saved ones, with Manage to add or change them), standard or express delivery, the order summary and Place order.
    • forgot.tsxForgot password in two steps: the email (only an account on this phone gets a code), then the six-digit code and a new password.
    • help.tsxHelp: search the questions, open one to read its answer (one at a time), and chat, email or call when that isn't enough.
    • index.tsxThe welcome: a real curl portrait on a soft petal frame with a hibiscus at its corner, the headline in Ovo, three short promises, Get started and Sign in.
    • log.tsxLog a wash day, or edit one: the day, the care, the routine, the products used (from the shelf and the routine), how the hair felt on five petals, what was noticed, the time and notes.
    • notifications.tsxNotifications: all or unread, today's and earlier ones, a rose dot on the unread.
    • onboarding.tsxThree short pages before signing up: know your hair, follow your plan, share and book.
    • orders.tsxOrders: filtered by on the way, delivered or cancelled, each with its photos, number, date, status and total.
    • plan-ready.tsxThe quiz's result: the curl pattern on a photo with hibiscus corners, the profile in four facts, the eight-step care rotation, the wash days and products picked for it.
    • profile.tsxEdit the profile: the photo (Change photo explains it opens the photos on a phone), name, email, phone and city, each checked.
    • progress.tsxProgress photos: the growth since the first photo, then and now side by side, and every monthly photo with its length.
    • quiz.tsxThe hair quiz in five steps: curl family (real photos) and pattern 1A to 4C, porosity, density, scalp and goals.
    • routines.tsxEvery routine, filtered by care day: photo cards 2 across a phone and 3, 4 or 5 across a tablet.
    • salons.tsxSalons: search salons or services, a service filter, nearest or top rated, "good for your hair" first when it suits the member's curls.
    • schedule.tsxThe schedule: which weekdays are wash days (at least one), the care rotation set by porosity, the wash-day reminder, and the next two weeks as they fall now.
    • search.tsxSearch everything: before typing, recent searches (each can go, or all) and suggestions; while typing, results grouped as products, routines, tips, questions and salons.
    • settings.tsxSettings: appearance (System, Light or Dark, kept), which notifications come, the account's profile, addresses and cards, privacy, help, about, and Sign out (asked first).
    • shelf.tsxMy shelf: what's at home and how much is left (a bar, red when low), filtered by kind, low ones first with Reorder.
    • sign-in.tsxSign in: email and password with an error under each, the password's show / hide eye, a demo card that fills the form in, Forgot password and the way to sign up.
    • sign-up.tsxSign up: name, email and password with an error under each, the eye on the password and the terms line.
    • tips.tsxEvery tip, filtered by topic: the tip of the day large on top, then the rest as photo cards 2 across a phone and 3 to 5 across a tablet.
    • wash-days.tsxThe wash-day log: three facts (how many, the usual time, the best feel), a care filter, newest or best felt first, and each logged day.
  • componentsThe parts the screens are built from.
    • auth-frame.tsxThe frame of the sign-in, sign-up and reset screens: Back, the logo, a hibiscus in the corner, the title and the form.
    • 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 soft, a glint tiny, a sheet lower down), then moves to its place at its turn.
    • button.tsxA button: the main action as a flat rose pill, a soft petal one, an outlined one, plain words or the delete one.
    • cards-hair.tsxThe hair side's cards: a week of the plan as seven day cells, a routine with its photo, a tip, and a logged wash day.
    • cards-social.tsxThe people side's cards: a community question with its asker and answer count, a salon with its photo and rating, and a booking with its day.
    • controls.tsxThe controls: flat chips to filter, a segmented switch whose rose pill slides to the picked part, an on/off toggle and a radio dot.
    • empty.tsxWhat a list shows when it has nothing: a real hibiscus on a soft petal circle, a line that says why and, when there's a way forward, a button.
    • field.tsxA labelled text field with one designed focus state on every platform: the border takes the brand color (same width, so nothing shifts), an error line under it in the error color, an optional icon, and a show / hide eye on passwords.
    • floral.tsxA real hibiscus (a photo cut-out) tucked into a card's corner, partly off its edge, as in the pin.
    • hop-nav.tsxThe app's navigation, lean and flat.
    • icon.tsxOutline icons on a 24-point grid, drawn for Hibiscus so the app needs no icon font: the five places, the care days (a drop, a leaf, a bandage), curls, scissors and the rest.
    • logo.tsxThe logo: a real hibiscus bloom (a photo cut-out) beside the name in the heading font.
    • parts.tsxSmall shared parts: a section heading with its "See all", stars, a round photo, a status pill, a list row with a soft icon tile, a care-day chip, a fact pair and a level meter.
    • petal-fall.tsx"Petal fall", the app's one flourish: on a real success (a booking, an order, a wash day saved, the quiz done) one light hibiscus drifts down the screen, swaying and turning, and is gone.
    • 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.
    • product-card.tsxA product as a card, as in the pin: the photo on a soft petal tile (a cut-out sits whole on it), a heart to save, the name, maker, rating and price, and a round + that drops it in the bag.
    • product-gallery.tsxA product's big photo: the product alone on the soft panel, with the save heart.
    • quiz-tiles.tsxThe quiz's answer tiles: Option (a titled row with a round tick) and GoalTile (an icon in a circle with its label, more than one can be on).
    • reviews.tsxReviews: the rating large with a bar for each star (drawn at once, never filled on open), then each review with its writer, stars, title, text and when.
    • round-button.tsxA round icon button: Back, the bell, the bag, more.
    • 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.
    • success.tsxA success screen (order placed, booked): a rose check on a petal card with hibiscus corners, the title, what happens next, the details and the ways on.
    • tab-head.tsxThe top of a tab: the logo (it goes Home) with Search, the bell with a rose dot for unread and the bag with its count, then the tab's title in Ovo.
    • toast.tsxThe note after an action, rising above the nav at the bottom as a flat ink capsule, with an Undo when the action can be taken back.
    • top-bar.tsxThe bar at the top of a pushed screen: Back, the centered title and an optional action on the right.
    • words.tsxEvery line of text in the app: a size from the type scale (headings in the brand's font) 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: Hibiscus's "petal fall".
    • theme.tsThe app's colors, the brand defaults and the sizes every screen shares.
  • hooksState and theme hooks.
    • list.tsA kept list of things with an id (wash days, shelf products, bookings, addresses, cards): read it with `use`, add or change one with `put` (new ones go first), and take one out with `remove`, which hands back an undo that puts it back where it was.
    • 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, each with its own details) 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-brand.tsThe brand settings: the values in constants/theme.ts.
    • use-hair.tsThe member's hair: the profile the quiz found, whether the quiz is done, and the plan built from it (which weekdays are wash days, and the care rotation by porosity).
    • 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 fades and sinks like a petal settling, then the next one comes in.
    • 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-prefs.tsSmall choices kept on the device: which notifications come, whether the onboarding was seen, and the recent searches.
    • 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 shop's state, kept on the device: the bag, saved products, orders, the shelf at home, addresses and cards.
    • 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 nav's dot and the pill under a segment don't slide in from the edge when a screen opens.
    • use-social.tsBookings, Community and notifications, kept on the device: salon bookings made and cancelled, questions asked, answers given, helpful votes, people followed, and which notifications are read.
    • 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 ("Reminder saved", "Visit cancelled · Undo"), with an optional Undo.
  • dataEvery word and product the app shows.
    • community.tsCommunity: questions members asked and the answers they got.
    • copy-me.tsThe member's own words: the Me tab, settings, profile, addresses, cards, help, about, notifications and search.
    • copy-plan.tsThe hair side's words: Home, the Plan tab, the schedule, routines, the wash-day log, progress photos and tips.
    • copy-shop.tsThe shop's words: the Shop tab, a product, the bag, checkout, orders and the shelf of products at home.
    • copy-talk.tsCommunity and salon words: questions and answers, asking, salons, booking and bookings.
    • copy.tsEvery word the shared parts, the welcome, the sign-in screens and the quiz show, so a buyer changes them in one place.
    • faq.tsHelp: the questions members ask most, each with its short answer.
    • format.tsHow money, dates and times read across the app, through the phone's own Intl, and the dates seeded data is placed at: counted from the first open, so the demo starts current; what is kept on the device then ages like real data (a visit whose time passed reads as done).
    • hair.tsThe hair words the whole app shares: the curl families and patterns (1A to 4C), porosity, density, scalp and goals asked in the quiz, and the three kinds of care day the plan rotates through (hydration, nutrition, reconstruction).
    • notices.tsThe demo member's notifications: the plan, orders, bookings, Community and tips, newest first, some already read.
    • people.tsThe people in the app: the signed-in member (demo account), the members who ask and answer in Community and write product reviews, with their photo and curl pattern.
    • photos.tsEvery photo the app shows, with words for screen readers, its shape (width / height) and the point to keep in view when a frame crops it (0-1 across and down).
    • products-care.tsThe shop's masks and oils (data/products.ts brings every kind together).
    • products-more.tsThe shop's conditioners and tools (data/products.ts brings every kind together).
    • products-style.tsThe shop's leave-ins and shampoos (data/products.ts brings every kind together).
    • products.tsThe shop: thirty-six hair products in six kinds, each with its maker, price (in cents), size, rating, photo, the care day it belongs to, the curl families it suits, labels, what it does, how to use it and its key ingredients.
    • progress.tsThe demo member's progress photos, every few weeks, with the length at the back and a note.
    • reviews.tsProduct reviews: a pool of real-sounding notes, handed out to each product by its id so every product page has two to four, with a star rating, the writer's curl pattern and how long ago it was written.
    • routines.tsThe routines: step-by-step wash days and in-between care, each with its care day, time, photo and the products each step uses.
    • salon-reviews.tsWhat members wrote about the salons: three per salon, picked by its place in the list so each one reads differently.
    • salons.tsSalons and stylists nearby, and the services they book: each salon with its photo, area, distance, rating, opening hours, the curl families its team knows best and its stylists; each service with its price (cents) and length.
    • seed-shop.tsWhat the demo member starts with on the shop and salon side: the bag, past orders, salon bookings, notifications, saved addresses and cards.
    • seed.tsWhat the demo member starts with on the hair side: the wash days logged, the shelf of products at home and the progress photos.
    • tips.tsTips of the day: short reads on ingredients, habits and myths, each with a photo, a topic, how long it takes to read and a few paragraphs.
  • 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.
      • aloe.jpgA photo the app shows.
      • av-1.jpgA photo the app shows.
      • av-10.jpgA photo the app shows.
      • av-11.jpgA photo the app shows.
      • av-12.jpgA photo the app shows.
      • av-13.jpgA photo the app shows.
      • av-2.jpgA photo the app shows.
      • av-3.jpgA photo the app shows.
      • av-4.jpgA photo the app shows.
      • av-5.jpgA photo the app shows.
      • av-6.jpgA photo the app shows.
      • av-7.jpgA photo the app shows.
      • av-8.jpgA photo the app shows.
      • av-9.jpgA photo the app shows.
      • avocado.jpgA photo the app shows.
      • basin.jpgA photo the app shows.
      • cut-bottle-label.pngA photo the app shows.
      • cut-bottle-old.pngA photo the app shows.
      • cut-brush.pngA photo the app shows.
      • cut-coconut-jar.pngA photo the app shows.
      • cut-crock.pngA photo the app shows.
      • cut-dropper-amber.pngA photo the app shows.
      • cut-dropper-clear.pngA photo the app shows.
      • cut-flower-1.pngA photo the app shows.
      • cut-flower-2.pngA photo the app shows.
      • cut-flower-3.pngA photo the app shows.
      • cut-jar-butter.pngA photo the app shows.
      • cut-jar-pink.pngA photo the app shows.
      • cut-jar-white.pngA photo the app shows.
      • cut-lotion-rose.pngA photo the app shows.
      • cut-pump-green.pngA photo the app shows.
      • cut-pump-label.pngA photo the app shows.
      • cut-rosemary-oil.pngA photo the app shows.
      • cut-scarf.pngA photo the app shows.
      • cut-spray-clear.pngA photo the app shows.
      • cut-spray-purple.pngA photo the app shows.
      • cut-tin.pngA photo the app shows.
      • cut-towel.pngA photo the app shows.
      • cut-tubes.pngA photo the app shows.
      • cut-vial.pngA photo the app shows.
      • cut-vials.pngA photo the app shows.
      • hair-blonde.jpgA photo the app shows.
      • hair-curls.jpgA photo the app shows.
      • hair-friends.jpgA photo the app shows.
      • hair-long.jpgA photo the app shows.
      • hair-red.jpgA photo the app shows.
      • hair-ringlets.jpgA photo the app shows.
      • hair-wavy2.jpgA photo the app shows.
      • hair-wind.jpgA photo the app shows.
      • honey.jpgA photo the app shows.
      • jar-hands.jpgA photo the app shows.
      • jar-open.jpgA photo the app shows.
      • oil-rose.jpgA photo the app shows.
      • oil-vials.jpgA photo the app shows.
      • rosemary-sprig.jpgA photo the app shows.
      • rosemary.jpgA photo the app shows.
      • salon-bright.jpgA photo the app shows.
      • salon-chair.jpgA photo the app shows.
      • salon-color.jpgA photo the app shows.
      • salon-gold.jpgA photo the app shows.
      • salon-pink.jpgA photo the app shows.
      • salon-white.jpgA photo the app shows.
      • shea.jpgA photo the app shows.
      • stylist-cut.jpgA photo the app shows.
      • stylist-duo.jpgA photo the app shows.
      • stylist-portrait.jpgA photo the app shows.
      • stylist-seat.jpgA photo the app shows.
      • type-coily.jpgA photo the app shows.
      • type-curly.jpgA photo the app shows.
      • type-straight.jpgA photo the app shows.
      • type-wavy.jpgA photo the app shows.

README.md

How to run it, change it and ship it.

กำลังโหลด…
เหมาะสำหรับ
Curl care brands, salons and hair coaches that want a calm, complete hair-care app with a plan, a shop and booking to rebrand and ship.
ทำงานอย่างไร
Take the 1A-4C and porosity quiz, follow the hydration, nutrition and reconstruction plan, log wash days, shop, book a salon and ask curl questions.
วิธีใช้
Run it in Expo Go, change the words in data/copy*.ts, the products, routines and salons in data/, the colors in constants/theme.ts, then build with EAS.