A botanical skincare shop in six pages, with sage panels on warm cream, wavy edges, orange actions, a skin quiz that builds a routine and a leaf that flies into the bag.
Web
6 halaman
$69
Alamat halaman: /
Selengkapnya di bawah ↓
Sudah termasuk
Yang Anda dapat
Terang dan gelapMemakai warna tema Anda
Desktop, tablet, dan ponselLayar yang didukung
Paket…
Ukuran kode…
Hemat baterai30 fps, diam saat tidak bergerak
Berhenti saat tersembunyiDi luar layar atau tab lain
Kurangi gerakanTenang bagi yang memintanya
Dicek di setiap perubahan
Pengecekan tipeTypeScript strict
Lint dan formatESLint · Prettier
Tes dan buildTangkapan layar terang dan gelap
Audit keamananTanpa advisori tinggi atau kritis
Usia paketSetiap versi sudah publik 7+ hari
CPU saat diamDi bawah setengah core saat diam, ≤ 30 fps
Kode
Ada yang janggal dengan aplikasi ini? Kirim masukan ›
skincare-yarrowHTML
index.htmlpageThe home page and all its text, one marked block per section.
shop.htmlpageThe shop page and all its text, one marked block per section.
product.htmlpageThe product page and all its text, one marked block per section.
checkout.htmlpageThe checkout page and all its text, one marked block per section.
account.htmlpageThe account page and all its text, one marked block per section.
quiz.htmlpageThe quiz page and all its text, one marked block per section.
theme.cssthemeThe colors and fonts in one place.
sectionssectionsOne file per page section.
account-details.csssectionAccount → Details: the name and email, the email switches and the password form.
account-details.jssectionAccount → Details: the name and email, which emails we send, and a new password, each saved through the API.
account.csssectionThe account: the greeting, the tabs kept in the address and the saved favorites.
account.jssectionThe account: the greeting, the tab the address names (Orders, Favorites, Details, Addresses, Payment, Skin profile, Appearance) or one order (?order=) shown in place, and the saved products. A guest gets the sign-in instead (sections/sign-in.js).
addresses.csssectionAccount → Addresses and Payment: the saved addresses and cards (the default one edged in sage), their dialogs and the Add button.
addresses.jssectionAccount → Addresses: the saved addresses (the first is the default), added or edited in a dialog, deleted with Undo; checkout offers them.
appearance.csssectionAccount → Appearance: the style (Glass or Solid) and the theme (System, Evening or Daylight), each choice a small preview, the picked one ringed in sage.
appearance.jssectionAccount → Appearance: the style (Glass or Solid) and the theme (System, Evening or Daylight), kept in this browser.
bag-removed.csssectionThe note under the bag's title after a line is taken out, with Undo.
bag-removed.jssectionThe note under the bag's title after a line is taken out: Undo puts it back where it was (a toast would sit behind the open bag).
bag.csssectionThe bag drawer: the free-shipping vine, each line with its quantity, the promo code, the totals and the way to checkout. The vine and the totals also show in the checkout's summary.
bag.jssectionThe bag drawer: the free-shipping vine, each line with its quantity, the promo code checked through the API, the totals and the way to checkout; the vine and the totals are shared with the checkout's summary.
bestsellers.csssectionThe bestsellers panel: a title and a way to the shop beside the three most-loved products on round cream plates; and the still blocks while they load.
bestsellers.jssectionOur bestsellers: the first three products of the featured order, each on its round plate.
checkout-saved.csssectionCheckout's saved address pills and the saved card pick.
checkout-saved.jssectionCheckout's shortcuts from the account: the form starts with the default address and the account's email, a saved address fills it in, and the default card pays unless "Another card" is picked.
checkout.csssectionCheckout: the three steps (address, delivery, payment) with the step bar on top, beside the order summary.
checkout.jssectionCheckout: waits for the catalog and the account, shows the empty-bag note or the three steps (address, delivery, payment), each checked before the next, then places the order through the API and shows it confirmed.
concerns.csssectionShop by concern: four round tiles, each a packshot on a cream plate, opening the shop filtered for that concern.
concerns.jssectionShop by concern: each tile gets the packshot of the product it names.
footer.csssectionThe footer: social links, the brand line and the legal links, on a soft sage wave.
gallery.csssectionOne product's page: the way back, the still blocks while it loads, and the gallery (the big picture on its cream plate and three thumbnails to switch it).
gallery.jssectionOne product's page: loads the product the address names (still blocks meanwhile, the error with Try again if it fails), then draws the gallery: the big picture and three thumbnails to switch it.
header.csssectionThe header (logo, the shop's links, search, favorites, the theme switch, the bag with its count, the routine button) and the phone menu in the left sheet.
header.jssectionThe header and the phone menu: the link to the page shown now is marked, the menu opens in its sheet, and the bag button shows its count and springs when a leaf lands.
hero.csssectionThe home hero: the headline, the two actions and three small promises on a big sage panel, beside the photo with its wavy edge and its badge.
hero.jssectionThe hero's photo: it fades in once loaded, or the drawn scene of three bestsellers takes its place.
home-reviews.csssectionCustomer reviews on home: the overall rating, then three short reviews with stars, name, skin type and the product bought.
home-reviews.jssectionCustomer reviews on home: the stars of each review and the overall rating, and the product each one bought.
ingredients.csssectionIngredients we're proud of: the story, a way to the quiz and three sourcing marks, beside the photo of the bowl.
order-detail.csssectionOne order on its own page: Back to orders, the number with its status and buttons, where it is, what is in it and where it goes.
order-detail.jssectionOne order on its own page (account.html?order=YO-20418): where it is on its way, what is in it, where it goes, Buy again, and Cancel while it is still being packed (asked first, with Undo).
order-done.csssectionOrder confirmed: a sprouting leaf, the order number and where to go next.
order-summary.csssectionThe checkout's order summary: each line with its picture, the totals for the delivery picked, and the free-shipping vine.
order-summary.jssectionThe checkout's order summary: each line with its picture and count, the free-shipping vine on the first step, and the totals for the delivery picked.
past-orders.csssectionPast orders: the status filter, then each order with its products, View order and Buy again.
past-orders.jssectionPast orders: a status filter kept in the address (account.html?status=shipped), then each order's number, date, status, the products in it, View order and Buy again.
product-buy.csssectionThe product's buy panel: name, rating, price, the size picker, quantity, Add to bag, the heart, promises, and the ingredients and how-to tabs.
product-buy.jssectionThe buy panel: name, rating, price, the size and quantity, Add to bag with its leaf flight, the heart, what it is good for, and the ingredients and how-to tabs.
profile-menu.csssectionThe avatar at the header's end and its menu: who is signed in, Profile, Orders, Settings, the theme and Sign out.
profile-menu.jssectionThe avatar at the header's end: its menu shows who is signed in, Profile, Orders, Settings, the theme and Sign out; a guest gets a Sign in button instead. The phone menu's Sign out (or Sign in) row too.
promises.csssectionThe four promises under the hero: a line icon, a title and one line each.
quiz-teaser.csssectionThe quiz teaser: a sage band with the quiz's first question and its answer cards.
quiz-teaser.jssectionThe quiz teaser: picking an answer opens the quiz at question two with that answer kept.
quiz.csssectionThe skin quiz: five questions, one at a time, with the progress bar and the answers as big cards.
quiz.jssectionThe skin quiz: five questions, one at a time (an answer in the address, ?skin=dry, is kept and the quiz starts at question two); the last answer asks the API for a routine.
recommended.csssectionRecommended for you: a centered title between hairlines and three wide product cards with the round +.
recommended.jssectionRecommended for you: the next three products after the bestsellers, as wide cards.
reviews.csssectionThe reviews: the average with how the stars split, then the latest reviews with their stars.
reviews.jssectionThe reviews: the average with its stars and how the stars split, then Write a review and the latest reviews.
routine.csssectionThe quiz's result: a morning and an evening routine, each step a product growing off a stem, with the actions under them.
routine.jssectionThe quiz's result: a morning and an evening routine, each step a product growing off a stem, with Add the routine to bag, Save to skin profile and Start again.
saved-cards.jssectionAccount → Payment: the saved cards (the first is the default), added in a dialog, deleted with Undo; checkout offers the default.
shop.csssectionThe shop: the title, the filters on the left (a sheet on phones), the count and sort over the product grid.
shop.jssectionThe shop: the filters (skin type, concern, price) as pills kept in the address, the sort, the count and the product grid, redrawn in place as they change; on phones the filters open in a sheet.
sign-in.csssectionThe sign-in, on its own without the header: a sage panel with the brand and its drawing beside the form (on a phone, a short band above it).
sign-in.jssectionThe sign-in, for a guest, in place of the account (without the header and footer): the form with the demo account, then "Forgot password?" (the email, then the sent note). Signing in leads on to ?next=, else the account.
skin-profile.csssectionThe skin profile: skin type, concerns, sensitivity and routine as pills to change, with Save and a way back to the quiz.
skin-profile.jssectionThe skin profile: skin type, concerns, sensitivity and routine as pills to change, saved through the API.
visit.csssectionVisit us and the newsletter: the shop's address, hours and phone, the sign-up form, and a line drawing of the shop.
visit.jssectionThe newsletter: checks the email, signs it up through the API, then thanks.
write-review.csssectionWrite a review: the button under the star split, and its dialog's star pick and text box.
write-review.jssectionWrite a review: a dialog with stars, a headline and the text, posted through the API to the top of the product's reviews; a guest signs in first.
partspartsWhat several sections share.
answers.csspartA quiz question's answers as big cards with a leaf; the picked one turns sage. The home teaser and the quiz share them.
art.jspartThe picture spots: a photo that fades in on a cream plate once loaded, or the drawing (each bottle, jar or pot, with botanicals or as a swatch, and the hero and bowl scenes) when there is no photo or it fails.
build.csspartThe page build-in's shared part (build.js, the same as theme.ts BUILD); the card style (card-wave.css) and row motion (row-unfold.css) add their own. data-entrance is on <main> while it runs; data-build marks what takes part. Every page load builds in; no cross-fade between pages (it stuttered over the glass blur).
build.jspartThe page's build-in, the same as parts/build/core.tsx: on every page load the cards arrive in the app's card style (app.cards, from card-wave.js) and the list rows on screen open in in the app's row motion (app.rows, from row-unfold.js). Every page loads the two picks before this file.
card-wave.csspartThe wave card style (card-wave.js, the same as parts/build/cards/wave.ts). A card that holds list rows fades up from 0.3 at once, and its rows open in top-down from the page start.
card-wave.jspartThe wave card style, the same as parts/build/cards/wave.ts: cards arrive in a wave by grid position from the top-left.
card.csspartA product card: the photo on its cream plate (with a badge and the heart), name, line, rating and price with the round +; wide: the plate on the left.
card.jspartA product card (the photo on its cream plate, name, line, rating and price, a heart to save it and the round + that sends a leaf to the bag), and the favorites the hearts show and change.
cart.jspartThe bag: what is in it (kept in this browser), the promo code, the totals, and the leaf that flies from an add button into the bag icon.
form.csspartThe forms' shared pieces: a centered dialog with its title, a password field with its eye, an on/off switch and a text link.
form.jspartThe forms' shared pieces: an email check, each field's error line (tied to it for screen readers), the first wrong field focused, a busy button, and the show/hide eye on password fields.
icons.jspartThe logo, the stars and the line icons: each <svg data-icon="search"> on the page gets its drawing, and the other scripts make more with skincareYarrow.icon("plus").
live.jspartWhat keeps the pages in step: data kept until the tab closes (app.store), and one channel for "this changed" (app.changed / app.on).
motion.jspartThe helpers every other script shares, as the page's one global, window.skincareYarrow: motion, how prices and dates are written, the address, the appearance kept in the browser, toasts and dialogs.
overlays.csspartWhat opens over the page (the side sheets, the search), the toasts and the add-to-bag leaf, with their ways in and out.
page.csspartThe shop's base: the root and its layout, type, panels, buttons, fields, pills, chips, photos, the wavy edge and the data states every page shares.
palette.jspartThe search (⌘K or Ctrl K, or the search button): type to find a product, a page or an action, then Enter. Its words are on the page's <dialog data-palette>.
row-unfold.csspartThe unfold row motion (row-unfold.js, the same as parts/build/rows/unfold.ts).
row-unfold.jspartThe unfold row motion, the same as parts/build/rows/unfold.ts: each row on screen opens down from its top edge, from faint.
session.jspartWho is signed in, kept in this browser: across visits with "Remember me", else until the tab closes. Account and Checkout ask for it; a guest signs in on account.html first.
shell.jspartHow the shop looks right now: dark or light and Glass or Solid, from Account → Appearance and the page around it; and the theme switches that offer the other one.
widgets.jspartThe small pieces every page shares: one load per page for each API call, and the data states (loading, the error with Try again, the empty note with a way out).
datadataThe pretend data and the fake API: swap it for your backend.
account-api.jsdataThe fake API's account calls, beside data/api.js: signing in, the reset link, the details, password and email settings, saved addresses and cards, cancelling an order and posting a review.
account.jsdataThe pretend customer: who signs in, their addresses and cards, past orders, saved favorites, a skin profile, the reviews on product pages and the shop's promo codes.
api.jsdataThe fake API, the same functions as data/api.ts: every page loads and saves through window.skincareYarrow.api, so wiring a real store backend happens here only.
details.jsdataThe longer words of each product page: the description, what each ingredient does and how to use it, by product id.
products.jsdataThe pretend catalog: eight products with their sizes, prices, the skin types and concerns each one suits, and how the drawing shows it.
photosphotosThe photos the page shows.
buckthorn-serum.jpgphotoA photo the page shows.
calendula-cleanser.jpgphotoA photo the page shows.
chamomile-mist.jpgphotoA photo the page shows.
green-tea-gel.jpgphotoA photo the page shows.
hero.jpgphotoA photo the page shows.
ingredients.jpgphotoA photo the page shows.
nettle-clay-mask.jpgphotoA photo the page shows.
oat-cream.jpgphotoA photo the page shows.
rosehip-oil.jpgphotoA photo the page shows.
shea-lip-balm.jpgphotoA photo the page shows.
texture.jpgphotoA photo the page shows.
index.html
The home page and all its text, one marked block per section.
Memuat…
Cocok untuk
Natural skincare and cosmetics brands, apothecaries and small-batch makers who want a calm, plant-led online shop.
Cara kerjanya
Browse and filter products, add them with a leaf that flies to the bag, take the skin quiz for a routine, then check out in three steps.
Cara memakai
Tautkan dari halaman Anda, lalu tempel markup dari index.html di tempat yang diinginkan.