Ir para o conteúdo

Sneaker Suede

v1.0

A black studio sneaker store app for iOS and Android: a drop calendar with raffles, an EU/US size grid with stock, compare, bag, checkout, tracking, returns and member points.

$199

Já incluído

O que você recebe
  • Claro e escuroUsa as cores do seu tema
  • celular e tabletAs telas para as quais foi feito
  • Pacotes…
  • Tamanho do código…
  • Leve para a bateria30 fps, em repouso quando parado
  • Pausa quando ocultoFora da tela ou em outra aba
  • Reduzir movimentoCalmo para quem pede

Verificado a cada mudança

Segurança verificada em 3 de dez.
  • Verificação de tiposTypeScript strict
  • Lint e formataçãoESLint · Prettier
  • Testes e buildCapturas de tela claras e escuras
  • Auditoria de segurançaSem alertas de gravidade alta ou crítica
  • Idade dos pacotesToda versão pública há 7+ dias
  • CPU em repousoMenos de meio núcleo em repouso, ≤ 30 fps

Código

sneaker-suedeReact 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 step nav (components/step-nav.tsx): a slim row along the bottom of a phone, a rail at the side of a tablet.
      • account.tsxAccount: the member card (name, tier, points and how far to the next tier), three quick numbers, then the menus, Home first: shopping (orders, entries, wishlist, compare, rewards, stores), the member's own (notifications, profile, addresses, cards) and the app (settings, help, about), and Sign out after a confirm.
      • bag.tsxThe bag: each line with its stepper, how far to free delivery, a promo code (STEP10, FREESHIP or a points code), the totals, Checkout pinned at the foot, pairs saved for later and a few to finish the look.
      • drops.tsxDrops: what's live now, the drop calendar (the next three weeks, each day with a drop marked; picking one lists its drops), everything coming up, how a raffle works and the past drops.
      • home.tsxHome: the greeting with search and notifications, the pin's hero and its promise, the latest pairs by category, the raffle closing soon, the collections, what's trending, store pickup and the pairs looked at lately.
      • shop.tsxThe Shop: a search field that opens Search, the pin's category pills, Sort and Filter (with a count of filters on), how many pairs show, and the grid: 2 across on a phone, 3, 4 or 5 on a tablet by its width.
    • addressThe screens, one file per route (Expo Router).
      • [id].tsxAdd or edit an address ("new" adds one).
    • cardThe screens, one file per route (Expo Router).
      • [id].tsxAdd a card ("new") or rename one: number, expiry and CVC are checked for shape (the brand comes from the first digit); a saved card keeps its number and can be removed after a confirm, with undo.
    • collectionThe screens, one file per route (Expo Router).
      • [id].tsxOne collection: its photo with the name over it, what it's about, then its pairs in the grid.
    • dropThe screens, one file per route (Expo Router).
      • [id].tsxA drop: the shoe stepping in on its light, how it releases, the countdown and dates, what it is, how the raffle works, and the member's entry if they're in (size, how it comes, Withdraw after a confirm, with undo).
    • orderThe screens, one file per route (Expo Router).
      • [id].tsxOne order: its status and tracking steps, the courier and when it arrives, where it goes (or the pickup store), the pairs and what was paid, then what can be done: cancel before it ships (after a confirm), return or exchange once delivered, buy again and get help.
    • placedThe screens, one file per route (Expo Router).
      • [id].tsxOrder placed: a check that pops in, the order number, where and when, the points it earned, then Track order or Keep shopping.
    • productThe screens, one file per route (Expo Router).
      • [id].tsxA product, as in the pin: the shoe stepping in on its studio light (a few degrees turned, then level), the photos to swipe, the colorways, name and price in the condensed caps, the EU / US size grid with stock, the size guide, then Add to bag (the shoe hops to the Bag tab) and Buy now.
    • raffleThe screens, one file per route (Expo Router).
      • [id].tsxEnter a raffle: the size (the member's usual one picked), shipped or held at a store, the card charged only on a win, then Confirm.
    • returnThe screens, one file per route (Expo Router).
      • [id].tsxReturn or exchange a delivered order: which pair, a size exchange or a refund, the new size, why, and how it goes back (a store or a courier).
    • reviewsThe screens, one file per route (Expo Router).
      • [id].tsxAll of a pair's reviews: the average with a bar per star count and the fit verdict, star chips to narrow the list, Helpful votes and Write a review.
    • storeThe screens, one file per route (Expo Router).
      • [id].tsxA store: its photo, open now or closed, the hours, what it offers, Call and Directions, Pick up here, and the pairs from the wall it holds right now.
    • write-reviewThe screens, one file per route (Expo Router).
      • [id].tsxWrite a review: tap the stars, say how they fit, a headline and a few words.
    • _layout.tsxThe root: loads the heading font, waits for the kept Light / Dark pick, follows the theme and stacks the screens.
    • about.tsxAbout Suede: a store photo, what the store stands for, three plain facts and the legal links.
    • addresses.tsxSaved addresses: the default one marked, each opening its form, Make default on the others, and Add address.
    • cards.tsxPayment cards: each as a small card face (brand, last four, expiry, nickname), the default one marked, Make default on the others, and Add card.
    • checkout.tsxCheckout: delivery or store pickup, where to (the default address, or a store; Change opens the list), how to pay (a saved card, or at the door after opening the box), the pairs and the totals, then Place order.
    • collections.tsxEvery collection as a photo tile: one under another on a phone, two or three across on a tablet.
    • compare.tsxCompare up to three pairs side by side: the shoe, name and price on top, then a row per spec (rating, category, weight, heel drop, upper, sole, fit, sizes).
    • entries.tsxThe member's raffle entries: open ones waiting for the draw and drawn ones (won or not).
    • forgot.tsxReset password: the email first (an unknown one is said plainly), then, since this demo has no inbox, the new password right here.
    • help.tsxHelp & FAQ: a search over the questions, the questions in groups (tap one to open its answer), and Still stuck?
    • index.tsxThe welcome: three pages, each a real photo (a store wall, a runner, a pair on the street) under the big condensed caps.
    • notifications.tsxNotifications: all or only unread, newest first, an unread dot on the new ones and Mark all read.
    • orders.tsxOrders: active ones (with any returns in progress under them), delivered ones, and cancelled and returned ones.
    • profile.tsxProfile: name, email, phone and the usual size (picked first on every product).
    • rewards.tsxRewards: the points balance and what it's worth, Redeem (500 points for a $10 code that lands in the bag, after a confirm), the tiers with the current one marked, the perks, how points are earned and the history.
    • search.tsxSearch: the field opens focused; empty, it offers the recent searches (with Clear), popular ones and the categories.
    • settings.tsxSettings: the look (System, Light or Dark, switched on the spot), which notifications come, EU or US sizes, and a line on Reduce Motion.
    • sign-in.tsxSign in: email and password with show / hide, a line under a wrong field, the demo account spelled out, Forgot password and a way to join.
    • sign-up.tsxJoin: name, email and password with show / hide, each wrong field said under it, a taken email said plainly.
    • size-guide.tsxThe size guide: every size in EU, US, UK and foot length, the member's usual size marked, then how to measure a foot, the free swap and how each model fits.
    • stores.tsxThe stores, nearest first: a photo, the area, how far, open or closed now, and which one is the member's pickup store.
    • wishlist.tsxThe wishlist: each saved pair with its size (or Pick a size, which opens the size grid in a sheet), Move to bag and the heart to take it off, with undo.
  • componentsThe parts the screens are built from.
    • auth-frame.tsxThe frame of the welcome and sign-in screens: a store photo under the logo, then the title and the form.
    • bag-line.tsxOne line in the bag: the shoe on its light, name, colorway and size, the price, and a quantity stepper whose minus turns into a bin at one (so there's no separate delete).
    • 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 to the right and soft, a heart tiny, a sheet lower down), then steps to its place at its turn.
    • button.tsxThe buttons: the solid accent button (ADD TO BAG), the outlined one (BUY NOW) and a quiet soft one, all in the pin's caps, at least one touch target tall, with a danger kind for removing things.
    • controls.tsxSmall shared controls: the chip row (the pin's All / Sneakers / Casual pills), a segmented switch whose pill skips to the pick, a section head with an optional "See all", a stars line, a status pill and a switch.
    • drop-card.tsxA drop on the calendar: the shoe on its light, how it releases (raffle, first come, members first), its name and colorway, the pairs made, and a live countdown: "Closes in 9h 25m" while it's open, "Opens in 2d 4h" before.
    • empty.tsxWhat a list shows when there is nothing in it: an icon in a soft ring, a short line, a hint and the one action that fills it.
    • field.tsxA labeled text field with one designed focus state on every platform: the border turns the accent (same width, so nothing shifts), an error line under it in red, and a show/hide eye for passwords.
    • filter-sheet.tsxThe Shop's filters in a sheet: a size (only pairs with it in stock), a price band and "only sizes in stock"; Show N pairs closes it, Clear all resets.
    • fly.tsxA shoe added to the bag hops from where it was on screen to the Bag tab: a small copy of its photo shrinks and arcs over in one quick step, then the tab's count bounces (components/nav-badge.tsx).
    • gallery.tsxA product's photos: one page each, swiped sideways, with a dot per page below.
    • heart-button.tsxThe wishlist heart on a card or a product: it pops when it fills, and a note with Undo says what happened.
    • home-hero.tsxHome's top, as in the pin: the big condensed headline ("LACE UP.
    • icon.tsxLine icons on a 24-point grid, drawn so the app needs no icon font.
    • logo.tsxSuede's mark and wordmark: a slanted S cut from three tread bars (like the grip under a sole) above SUEDE in the condensed caps.
    • nav-badge.tsxThe bag's count on the Bag place in the nav: it bounces each time the count goes up (a pair landed in the bag), and stays still on open.
    • order-card.tsxAn order in a list: its number and date, the status in the one status family (green when delivered, grey when cancelled or returned, the accent on the way), the shoes in it and its total.
    • pair-row.tsxOne pair in a list of what was bought or goes back: the shoe on its light, its name, a line under it (size and count) and, when given, the price on the right.
    • 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-buy.tsxA product's buying parts: the colorway pills (picking one opens that pair in place, and its shoe steps in), and the size block with its Add to bag and Buy now buttons.
    • product-info.tsxThe lower half of a product: fit notes (how the model runs and what buyers say, as one bar), the details and specs, and a peek at the reviews with a way to read them all or write one.
    • quick-add.tsxThe quick add sheet a card's + opens: the shoe, its price, the size grid (the member's usual size picked when it's in stock) and Add to bag.
    • review-card.tsxOne review: stars, headline, the words, who wrote it with the size they bought and how it fit, and a Helpful vote.
    • round-button.tsxA round icon button (back, close, heart, filter, bag): a hairline ring on the ground, or the accent when `on`.
    • rows.tsxLists of rows on a hairline panel: a Group holds Rows (an icon, a label, a value or a count, a chevron when it opens something) with a hairline between them; a Fact is a quiet label and value line for summaries.
    • 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 firmly as it opens.
    • shoe-card.tsxA pair as the pin draws it: the shoe on the studio light with a NEW tag and a heart, then its name, a green dot when it's in stock, the sizes it comes in, the price in the condensed caps and a round + that opens quick add (pick a size, into the bag).
    • shoe-grid.tsxPairs in a grid: two across on a phone, three on an upright tablet, four on its side (five on the widest windows), from the window's width so turning the tablet re-lays it out at once.
    • size-grid.tsxThe pin's size grid: one square-cornered box per size, the picked one in the accent, a sold-out size crossed and faint (still tappable, to ask for a restock note), and "3 left" under a size running low.
    • step-nav.tsxThe app's navigation, one slim row like the pin's: five places (Home, Shop, Drops, Bag, Account) along the bottom edge of the screen, on the page's own ground with a hairline above.
    • tiles.tsxPhoto tiles with words on them: a collection and a store.
    • timeline.tsxAn order's steps, top to bottom: done ones filled, the current one in the accent with a ring, the rest hollow and faint, joined by a line.
    • toast.tsxThe note after an action, rising above the nav at the bottom as a solid panel, with an Undo when the action can be taken back.
    • top-bar.tsxThe bar at the top of a pushed screen: Back, the title in the pin's condensed caps and an optional action on the right.
    • 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: mixing, WCAG contrast, the readable shade of a color on a ground, and the grounds and text mixed from the Brand setting Tint.
    • motion.tsMotion settings shared by every animation: Suede's "quick step".
    • 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: lines of a pair in a size with a quantity, pairs saved for later, a promo code, and delivery or store pickup.
    • use-brand.tsThe brand settings: the values in constants/theme.ts.
    • use-count-up.tsA number (a price, the bag's total, points) that shows its value at once when the screen opens, and only when the value really changes (a size picked, a pair added, a code applied) rolls 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 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-leave.tsA short hand-off between screens that replace each other (Get started → sign in, sign in → Home, Sign out → sign in): the screen steps off to the left as it fades, 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-notices.tsNotifications, kept on the device: read and unread, mark all read, and delete one (with undo).
    • use-orders.tsOrders and returns, kept on the device: the seeded history, orders placed at checkout (which earn points, hooks/use-rewards.ts), cancelling one before it ships, and starting a return or a size exchange.
    • use-prefs.tsSmall choices kept on the device: which notifications come, EU or US sizes, the recent searches, drop reminders and the pickup store.
    • use-quick-add.tsQuick add from a card's +: which pair's size sheet is open, and where its photo sits on screen, so the shoe can hop from there to the Bag tab once a size is picked (components/quick-add.tsx, components/fly.tsx).
    • use-raffles.tsRaffle entries, kept on the device: one per drop, with the size, how the pair comes (shipped or held at a store) and the card charged only on a win.
    • use-reviews.tsReviews, kept on the device: the seeded ones plus the member's own (which earn points), and the Helpful votes they gave.
    • use-rewards.tsMember points, kept on the device: the history, the balance and the tier it reaches, points earned on an order or a review, and redeeming 500 points for a $10 code that lands in the bag.
    • 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-shelf.tsThe member's own shelf of pairs, kept on the device: the wishlist (with the size picked for each, if any), up to three pairs to compare, the pairs looked at lately and the sold-out sizes they want to hear about.
    • use-slide.tsA position that skips to each new target on the GLIDE spring, except the first one it is measured at: there it starts in place, so the nav's pill or a segment's pill 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.
    • use-wallet.tsAddresses and payment cards, kept on the device: add, edit, remove (with undo) and pick the default one checkout starts with.
  • dataEvery word and product the app shows.
    • account.tsThe demo member and what their account starts with: the sign-in that always works, two addresses and three cards, the reward tiers, perks and points history.
    • catalog.tsThe wall's categories (the Shop chips and the Home step selector) and the collections, each a hand-picked set of pairs with a cover photo.
    • copy-account.tsThe Account tab's words and its screens: profile, rewards, notifications, addresses, cards, settings, help and about.
    • copy-checkout.tsThe bag's, checkout's, orders', returns' and stores' words.
    • copy-shop.tsThe shop's words: the Shop tab, a product, the size guide, reviews, search, collections, compare, the wishlist, drops and raffles.
    • copy.tsEvery word the shared parts, the welcome, sign-in and the tabs show, so a buyer changes them in one file.
    • drops.tsThe drop calendar: one raffle live now, six coming up and three done.
    • format.tsHow money, sizes and dates read across the app, in one place.
    • help.tsThe Help screen's questions and answers, in groups.
    • models.tsWhat every pair of a model shares: how it fits, what it is made of and the words on its page.
    • notices.tsThe notifications the account starts with: drops, orders, restocks, offers and points, newest first, some read.
    • orders.tsThe member's orders as the account starts with them: two on their way, one ready at a store, the rest delivered, one cancelled and one returned, plus the returns already started.
    • photos.tsEvery photo the app shows, with words for screen readers, its shape (width / height), the point to keep in view when a frame crops it (0-1 across and down) and whether it is a cut-out shoe (`cut`: shown whole on the studio light) or a scene that fills its frame.
    • products-list.tsEvery pair on the wall: a model (models.ts) plus its colorway, price and photos.
    • products.tsThe shape of a pair on the wall and the helpers every screen uses to read the catalog: find one, its colorways (other pairs of the same model), the stock per size, related pairs and search.
    • reviews.tsWhat buyers say: four reviews for each pair, picked from words written for its kind of shoe, by people who bought it (a size, a fit, a date).
    • stores.tsThe Suede stores: where they are, their hours, what they offer and the photo of each.
  • 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.
      • blush-angle.pngA photo the app shows.
      • blush-back.pngA photo the app shows.
      • blush-side.pngA photo the app shows.
      • court-outdoor.jpgA photo the app shows.
      • ember-angle.pngA photo the app shows.
      • ember-back.pngA photo the app shows.
      • ember-side.pngA photo the app shows.
      • fell-side.pngA photo the app shows.
      • glow-angle.pngA photo the app shows.
      • glow-back.pngA photo the app shows.
      • glow-side.pngA photo the app shows.
      • gold-angle.pngA photo the app shows.
      • gold-side.pngA photo the app shows.
      • navy-angle.pngA photo the app shows.
      • navy-pair.pngA photo the app shows.
      • navy-side.pngA photo the app shows.
      • ochre-side.pngA photo the app shows.
      • oxblood-side.pngA photo the app shows.
      • platform-side.pngA photo the app shows.
      • quilt-angle.pngA photo the app shows.
      • quilt-back.pngA photo the app shows.
      • quilt-side.pngA photo the app shows.
      • silver-angle.pngA photo the app shows.
      • silver-back.pngA photo the app shows.
      • silver-side.pngA photo the app shows.
      • spike-side.pngA photo the app shows.
      • stone-pair.pngA photo the app shows.
      • store-court.jpgA photo the app shows.
      • store-front.jpgA photo the app shows.
      • store-run.jpgA photo the app shows.
      • store-shelf.jpgA photo the app shows.
      • store-wall.jpgA photo the app shows.
      • strap-angle.pngA photo the app shows.
      • strap-pair.pngA photo the app shows.
      • strap-side.pngA photo the app shows.
      • street-ledge.jpgA photo the app shows.
      • street-simple.jpgA photo the app shows.
      • street-toby.jpgA photo the app shows.
      • taupe-side.pngA photo the app shows.
      • track-runner.jpgA photo the app shows.
      • trail-lake.jpgA photo the app shows.
      • white-side.pngA photo the app shows.
      • zebra-angle.pngA photo the app shows.
      • zebra-pair.pngA photo the app shows.
      • zebra-side.pngA photo the app shows.

README.md

How to run it, change it and ship it.

Carregando…
Ideal para
Sneaker shops and streetwear boutiques that want a sharp, complete store app with drops, raffles and pickup to rebrand and ship.
Como funciona
Browse pairs by category, pick a size from the stock grid, enter raffles, check out for delivery or pickup, track orders and swap sizes.
Como usar
Run it in Expo Go, change the words in data/copy*.ts, the pairs, drops and stores in data/, the colors in constants/theme.ts, then build with EAS.