How yaonkey/new-kws works
Kofworkshop is a bilingual Nuxt storefront for handmade products and digital patterns. Visitors browse or search the CRM-backed catalog, open product details, add physical items or PDF patterns to a persistent cart, and prepare an order for Telegram. The homepage also presents markets and retail shelves; static pages and localized sitemap URLs support discovery. The graph reflects shown calls and documented integrations; the product-detail page and some API helpers are present in the tree but their implementations were not excerpted.
Main entry points: default.vue Site layout · pages/index.vue Home page · products/index.vue Product listing · patterns/index.vue Pattern listing
Components 24
Storefront
- Home page
app/pages/index.vue - Site layout
app/layouts/default.vue - About page
app/pages/about.vue - Socials page
app/pages/socials.vue - Site header
app/components/SiteHeader.vue - Site footer
app/components/SiteFooter.vue
Catalog and discovery
- Product listing
app/pages/products/index.vue - Product details
app/pages/products/[slug].vue - Pattern listing
app/pages/patterns/index.vue - Product card
app/components/ProductCard.vue - Catalog rules
app/composables/useCatalog.ts - Products API client
app/composables/useProductsApi.ts - Shelves API client
app/composables/useShelvesApi.ts - Markets API client
app/composables/useMarketsApi.ts
Cart and checkout
- Cart page
app/pages/cart.vue - Cart state
app/composables/useCart.ts - Cart drawer
app/components/CartDrawer.vue - Telegram checkout
app/composables/useTelegramCheckout.ts - Cart animation
app/composables/useCartFx.ts - Cart fly effect
app/components/CartFly.vue
External services
- KWS CRM API
- Telegram
- Sitemap URLs
server/api/__sitemap__/urls.ts
Other components
- Visitor
Connections 28
- Visitor → Home page: visits
- Visitor → Product listing: browses
- Visitor → Pattern listing: browses
- Visitor → Product details: opens
- Home page → Markets API client: fetches market
app/pages/index.vue - Home page → Shelves API client: fetches shelves
app/pages/index.vue - Markets API client → KWS CRM API: requests market
app/composables/useMarketsApi.ts - Home page → Site layout: renders within
- Product listing → Products API client: fetches catalog
app/pages/products/index.vue - Pattern listing → Products API client: fetches catalog
app/pages/patterns/index.vue - Products API client → KWS CRM API: loads catalog
README.md - Product listing → Catalog rules: filters with
app/pages/products/index.vue - Pattern listing → Catalog rules: localizes with
app/pages/patterns/index.vue - Product listing → Product card: renders cards
app/pages/products/index.vue - Pattern listing → Product card: renders cards
app/pages/patterns/index.vue - Product card → Cart state: adds items
app/components/ProductCard.vue - Product card → Cart animation: animates add
app/components/ProductCard.vue - Cart page → Cart state: shows cart
- Cart drawer → Cart state: shows cart
- Telegram checkout → Cart state: reads items
app/composables/useTelegramCheckout.ts - Telegram checkout → Telegram: opens order
app/composables/useTelegramCheckout.ts - Site layout → Site header: renders
app/layouts/default.vue - Site layout → Site footer: renders
app/layouts/default.vue - Site layout → Cart drawer: renders
app/layouts/default.vue - Site layout → Cart fly effect: renders
app/layouts/default.vue - Sitemap URLs → KWS CRM API: loads product slugs
server/api/__sitemap__/urls.ts - Visitor → About page: visits
- Visitor → Socials page: visits