A light six-page online store for eco home goods: drawn products on timber shelves, a jute twine that knots each section, and a bag every product flies into.
React + HTML
6 صفحه
$69
نشانی صفحه: /
بیشتر در پایین ↓
داخلی
آنچه میگیرید
فقط روشنساختهشده برای صفحه روشن
دسکتاپ، تبلت، و گوشیصفحهنمایشهایی که برایشان ساخته شده
پکیجها…
حجم کد…
کممصرف برای باتری30 فریم بر ثانیه، در حالت ساکن متوقف
در حالت پنهان متوقف میشودخارج از صفحه یا تب دیگر
کاهش حرکتآرام برای کسانی که بخواهند
با هر تغییر بررسی میشود
بررسی نوعTypeScript strict
لینت و قالببندیESLint · Prettier
تست و بیلدتصاویر روشن و تیره
ممیزی امنیتیبدون هشدار بالا یا بحرانی
قدمت پکیجهر نسخه حداقل 7 روز عمومی بوده
پردازنده در حالت بیکارکمتر از نیم هسته در حالت ساکن، حداکثر 30 فریم بر ثانیه
کد
مشکلی با این قالب دارید؟ ارسال بازخورد ›
parcel-twineHTML
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.
cart.htmlpageThe cart page and all its text, one marked block per section.
checkout.htmlpageThe checkout page and all its text, one marked block per section.
order-done.htmlpageThe order-done page and all its text, one marked block per section.
theme.cssthemeThe colors and fonts in one place.
send.jsformThe one function the form calls: plug in your form endpoint here.
sectionssectionsOne file per page section.
banners.csssectionTwo banners side by side: the forest refill story with a bottle and its pouch, and the materials checklist with a basket.
cart.csssectionThe cart page: the bag's lines, and the summary with the free-delivery twine, totals and the way to checkout.
cart.jssectionThe cart page: the bag's lines with their steppers and remove buttons, the free-delivery twine and the totals; or the empty bag.
checkout.csssectionThe checkout page: the form (contact, address, delivery, the pretend card) beside the order summary.
checkout.jssectionThe checkout: tidies the card fields as you type, checks every field (data-pattern / data-error), places the order with send.js and opens the thank-you page.
hero.csssectionThe home page's first screen: the giant headline, a shelf of drawn goods with a kraft tag, and four promises.
impact.csssectionThe impact band: saplings that grow on view and the running totals counting up.
newsletter.csssectionThe monthly letter sign-up: an email field that checks itself and thanks you in place.
newsletter.jssectionThe letter sign-up: checks the email (data-pattern) and thanks you in place (data-done), or says what's wrong (data-error).
order-done.csssectionThe thank-you page: the parcel that ties itself up, the order number, what happens next and the order's summary.
order-done.jssectionThe thank-you page: the last order's name, number and summary, and the parcel that ties itself up; or a nudge when there's no order yet.
product.csssectionThe product page: breadcrumb, the drawn views beside the buy box, the details tabs and the related products.
product.jssectionThe product page: draws the product named by ?item= (views, options, quantity, add to bag), its details tabs and four related products.
rooms.csssectionThe round room chips: one drawn product per room, each opening the shop on that room.
shop.csssectionThe shop page: its title, the row of room chips, the count and sort bar, and the product grid or the empty shelf.
shop.jssectionThe shop page: reads the room (?room=) and search (?q=) from the address, marks the chip, and fills the grid in the chosen order.
partspartsWhat several sections share.
art.jspartThe drawn products as SVG, by their art key (parts/products.js): fills every <svg data-art="…"> on the page.
card.csspartThe product card: drawing, name, rating, price and the add-to-bag button; and the card grids.
card.jspartThe product card (drawing, name, rating, price and the add-to-bag button that sends it flying), and every [data-cards] list filled with them.
cart.jspartThe bag: what's in it, kept in the browser and shared by every page, with the header's tote count.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (the impact band).
flight.jspartThe signature move: an added product lifts off, arcs into the header's tote and the tote sways as it lands.
footer.csspartThe foot of every page: the brand, the room links, help lines and the legal line.
header.csspartThe top of every page: the green notice bar, then the logo, room links, search and the tote with the bag's count.
header.jspartThe top bar: the phone menu (opens, closes on Escape and on a link) and the search box that opens the shop filtered.
icons.jspartThe line icons and the rating stars the scripts draw (the same paths as the React parts/icons.tsx).
missing.csspartWhat a page shows when there is nothing to show: a product that isn't there, an empty bag, no order yet.
motion.jspartThe shared helpers, as the store's one global: window.parcelTwine (motion checks, money, the words scripts use).
page.csspartWhat every page shares: the reset, the column, titles, buttons, fields, the focus ring, the reveals and the drawn art.
products.jspartThe catalog: the shop's rooms and every product with its price, art and details (the same as the React products.ts).
qty.csspartThe quantity stepper: minus, the number, plus.
reveal.jspartHolds back every [data-reveal] element below the fold until it scrolls into view; each one's CSS says how it arrives.
scroll-rail.jspartFollows the reading line down an element as you scroll: what drives the twine, with no look of its own.
shelf.csspartA timber shelf on its brackets with drawn goods standing on it; on the hero they settle onto the plank on load.
summary.csspartAn order's summary: each line with its drawing and price, then delivery and total; on the checkout and thank-you pages.
summary.jspartAn order's summary: each line with its drawing, quantity and price, then subtotal, delivery and total (checkout and thank-you pages).
twine.csspartThe twine down the left gutter of every page, and the knots it ties on the titles.
twine.jspartThe page-wide motif: a jute twine that unwinds down the page as you read and knots itself at each title.
index.html
The home page and all its text, one marked block per section.
در حال بارگذاری…
مناسب برای
Small online shops for eco home goods, gifts or homeware that want a full front end: home, shop, product, cart and checkout.
چگونه کار میکند
Products settle on a shelf and fly into the tote when added; the bag is kept in the browser, and checkout checks each field.
نحوه استفاده
index.html را باز کنید، یا پوشه را روی هر سرور استاتیک بگذارید. متنها در index.html، رنگها و فونتها در theme.css و تابع ارسال فرم در send.js هستند. بخش Plain HTML در README.md بقیه را توضیح میدهد.