@cimplify/sdk 0.40.0 → 0.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (227) hide show
  1. package/dist/dispatcher.mjs +3 -2
  2. package/dist/mock/cli.mjs +30 -6
  3. package/dist/mock/library.js +30 -6
  4. package/dist/mock/library.mjs +30 -6
  5. package/dist/mock/msw.js +30 -6
  6. package/dist/mock/msw.mjs +30 -6
  7. package/dist/styles.css +1 -1
  8. package/package.json +1 -1
  9. package/templates/storefront-bakery/.env.example +5 -0
  10. package/templates/storefront-bakery/AGENTS.md +57 -0
  11. package/templates/storefront-bakery/app/about/page.tsx +21 -44
  12. package/templates/storefront-bakery/app/categories/[slug]/page.tsx +2 -1
  13. package/templates/storefront-bakery/app/collections/[slug]/page.tsx +2 -1
  14. package/templates/storefront-bakery/app/error.tsx +60 -0
  15. package/templates/storefront-bakery/app/faq/page.tsx +13 -89
  16. package/templates/storefront-bakery/app/layout.tsx +37 -2
  17. package/templates/storefront-bakery/app/llms.txt/route.ts +94 -0
  18. package/templates/storefront-bakery/app/not-found.tsx +39 -0
  19. package/templates/storefront-bakery/app/page.tsx +6 -6
  20. package/templates/storefront-bakery/app/privacy/page.tsx +24 -68
  21. package/templates/storefront-bakery/app/robots.ts +18 -0
  22. package/templates/storefront-bakery/app/shop/page.tsx +3 -2
  23. package/templates/storefront-bakery/app/sitemap.ts +62 -0
  24. package/templates/storefront-bakery/app/terms/page.tsx +24 -82
  25. package/templates/storefront-bakery/components/footer.tsx +88 -130
  26. package/templates/storefront-bakery/components/header.tsx +8 -16
  27. package/templates/storefront-bakery/lib/brand.ts +453 -0
  28. package/templates/storefront-fashion/.env.example +16 -0
  29. package/templates/storefront-fashion/AGENTS.md +52 -0
  30. package/templates/storefront-fashion/README.md +77 -0
  31. package/templates/storefront-fashion/app/about/page.tsx +41 -0
  32. package/templates/storefront-fashion/app/cart/page.tsx +9 -0
  33. package/templates/storefront-fashion/app/categories/[slug]/listing-client.tsx +19 -0
  34. package/templates/storefront-fashion/app/categories/[slug]/page.tsx +130 -0
  35. package/templates/storefront-fashion/app/checkout/page.tsx +17 -0
  36. package/templates/storefront-fashion/app/collections/[slug]/listing-client.tsx +20 -0
  37. package/templates/storefront-fashion/app/collections/[slug]/page.tsx +130 -0
  38. package/templates/storefront-fashion/app/error.tsx +61 -0
  39. package/templates/storefront-fashion/app/faq/page.tsx +46 -0
  40. package/templates/storefront-fashion/app/globals.css +46 -0
  41. package/templates/storefront-fashion/app/layout.tsx +76 -0
  42. package/templates/storefront-fashion/app/llms.txt/route.ts +94 -0
  43. package/templates/storefront-fashion/app/not-found.tsx +39 -0
  44. package/templates/storefront-fashion/app/orders/[id]/page.tsx +24 -0
  45. package/templates/storefront-fashion/app/page.tsx +183 -0
  46. package/templates/storefront-fashion/app/privacy/page.tsx +44 -0
  47. package/templates/storefront-fashion/app/products/[slug]/page.tsx +165 -0
  48. package/templates/storefront-fashion/app/products/[slug]/product-detail.tsx +71 -0
  49. package/templates/storefront-fashion/app/robots.ts +18 -0
  50. package/templates/storefront-fashion/app/shop/page.tsx +63 -0
  51. package/templates/storefront-fashion/app/shop/shop-client.tsx +32 -0
  52. package/templates/storefront-fashion/app/sitemap.ts +59 -0
  53. package/templates/storefront-fashion/app/terms/page.tsx +44 -0
  54. package/templates/storefront-fashion/components/brand-marquee.tsx +27 -0
  55. package/templates/storefront-fashion/components/cart-pill.tsx +32 -0
  56. package/templates/storefront-fashion/components/category-grid.tsx +28 -0
  57. package/templates/storefront-fashion/components/category-tiles.tsx +104 -0
  58. package/templates/storefront-fashion/components/collection-strip.tsx +45 -0
  59. package/templates/storefront-fashion/components/feature-hero.tsx +82 -0
  60. package/templates/storefront-fashion/components/footer.tsx +153 -0
  61. package/templates/storefront-fashion/components/header.tsx +43 -0
  62. package/templates/storefront-fashion/components/hero.tsx +28 -0
  63. package/templates/storefront-fashion/components/nav-link.tsx +20 -0
  64. package/templates/storefront-fashion/components/newsletter.tsx +50 -0
  65. package/templates/storefront-fashion/components/promo-banner.tsx +41 -0
  66. package/templates/storefront-fashion/components/providers.tsx +31 -0
  67. package/templates/storefront-fashion/components/section-heading.tsx +37 -0
  68. package/templates/storefront-fashion/components/store-product-card.tsx +83 -0
  69. package/templates/storefront-fashion/components/trade-in-cta.tsx +54 -0
  70. package/templates/storefront-fashion/components/trust-bar.tsx +66 -0
  71. package/templates/storefront-fashion/lib/brand.ts +421 -0
  72. package/templates/storefront-fashion/lib/cart.ts +27 -0
  73. package/templates/storefront-fashion/next.config.ts +40 -0
  74. package/templates/storefront-fashion/package.json +28 -0
  75. package/templates/storefront-fashion/postcss.config.mjs +7 -0
  76. package/templates/storefront-fashion/tsconfig.json +23 -0
  77. package/templates/storefront-grocery/.env.example +16 -0
  78. package/templates/storefront-grocery/AGENTS.md +39 -0
  79. package/templates/storefront-grocery/README.md +73 -0
  80. package/templates/storefront-grocery/app/about/page.tsx +38 -0
  81. package/templates/storefront-grocery/app/cart/page.tsx +9 -0
  82. package/templates/storefront-grocery/app/categories/[slug]/listing-client.tsx +19 -0
  83. package/templates/storefront-grocery/app/categories/[slug]/page.tsx +118 -0
  84. package/templates/storefront-grocery/app/checkout/page.tsx +17 -0
  85. package/templates/storefront-grocery/app/collections/[slug]/listing-client.tsx +20 -0
  86. package/templates/storefront-grocery/app/collections/[slug]/page.tsx +118 -0
  87. package/templates/storefront-grocery/app/error.tsx +60 -0
  88. package/templates/storefront-grocery/app/faq/page.tsx +46 -0
  89. package/templates/storefront-grocery/app/globals.css +45 -0
  90. package/templates/storefront-grocery/app/layout.tsx +75 -0
  91. package/templates/storefront-grocery/app/llms.txt/route.ts +94 -0
  92. package/templates/storefront-grocery/app/not-found.tsx +39 -0
  93. package/templates/storefront-grocery/app/orders/[id]/page.tsx +21 -0
  94. package/templates/storefront-grocery/app/page.tsx +97 -0
  95. package/templates/storefront-grocery/app/privacy/page.tsx +44 -0
  96. package/templates/storefront-grocery/app/robots.ts +18 -0
  97. package/templates/storefront-grocery/app/shop/page.tsx +31 -0
  98. package/templates/storefront-grocery/app/shop/shop-client.tsx +27 -0
  99. package/templates/storefront-grocery/app/sitemap.ts +62 -0
  100. package/templates/storefront-grocery/app/terms/page.tsx +44 -0
  101. package/templates/storefront-grocery/components/cart-pill.tsx +32 -0
  102. package/templates/storefront-grocery/components/category-grid.tsx +28 -0
  103. package/templates/storefront-grocery/components/collection-strip.tsx +45 -0
  104. package/templates/storefront-grocery/components/footer.tsx +148 -0
  105. package/templates/storefront-grocery/components/header.tsx +43 -0
  106. package/templates/storefront-grocery/components/hero.tsx +25 -0
  107. package/templates/storefront-grocery/components/nav-link.tsx +20 -0
  108. package/templates/storefront-grocery/components/providers.tsx +31 -0
  109. package/templates/storefront-grocery/components/store-product-card.tsx +83 -0
  110. package/templates/storefront-grocery/lib/brand.ts +284 -0
  111. package/templates/storefront-grocery/lib/cart.ts +27 -0
  112. package/templates/storefront-grocery/next.config.ts +40 -0
  113. package/templates/storefront-grocery/package.json +28 -0
  114. package/templates/storefront-grocery/postcss.config.mjs +7 -0
  115. package/templates/storefront-grocery/tsconfig.json +23 -0
  116. package/templates/storefront-restaurant/.env.example +16 -0
  117. package/templates/storefront-restaurant/AGENTS.md +39 -0
  118. package/templates/storefront-restaurant/README.md +73 -0
  119. package/templates/storefront-restaurant/app/about/page.tsx +38 -0
  120. package/templates/storefront-restaurant/app/cart/page.tsx +9 -0
  121. package/templates/storefront-restaurant/app/categories/[slug]/listing-client.tsx +19 -0
  122. package/templates/storefront-restaurant/app/categories/[slug]/page.tsx +118 -0
  123. package/templates/storefront-restaurant/app/checkout/page.tsx +17 -0
  124. package/templates/storefront-restaurant/app/collections/[slug]/listing-client.tsx +20 -0
  125. package/templates/storefront-restaurant/app/collections/[slug]/page.tsx +118 -0
  126. package/templates/storefront-restaurant/app/error.tsx +60 -0
  127. package/templates/storefront-restaurant/app/faq/page.tsx +46 -0
  128. package/templates/storefront-restaurant/app/globals.css +44 -0
  129. package/templates/storefront-restaurant/app/layout.tsx +80 -0
  130. package/templates/storefront-restaurant/app/llms.txt/route.ts +94 -0
  131. package/templates/storefront-restaurant/app/not-found.tsx +39 -0
  132. package/templates/storefront-restaurant/app/orders/[id]/page.tsx +21 -0
  133. package/templates/storefront-restaurant/app/page.tsx +97 -0
  134. package/templates/storefront-restaurant/app/privacy/page.tsx +44 -0
  135. package/templates/storefront-restaurant/app/robots.ts +18 -0
  136. package/templates/storefront-restaurant/app/shop/page.tsx +31 -0
  137. package/templates/storefront-restaurant/app/shop/shop-client.tsx +27 -0
  138. package/templates/storefront-restaurant/app/sitemap.ts +62 -0
  139. package/templates/storefront-restaurant/app/terms/page.tsx +44 -0
  140. package/templates/storefront-restaurant/components/cart-pill.tsx +32 -0
  141. package/templates/storefront-restaurant/components/category-grid.tsx +28 -0
  142. package/templates/storefront-restaurant/components/collection-strip.tsx +45 -0
  143. package/templates/storefront-restaurant/components/footer.tsx +148 -0
  144. package/templates/storefront-restaurant/components/header.tsx +43 -0
  145. package/templates/storefront-restaurant/components/hero.tsx +25 -0
  146. package/templates/storefront-restaurant/components/nav-link.tsx +20 -0
  147. package/templates/storefront-restaurant/components/product-modal.tsx +105 -0
  148. package/templates/storefront-restaurant/components/providers.tsx +31 -0
  149. package/templates/storefront-restaurant/components/store-product-card.tsx +83 -0
  150. package/templates/storefront-restaurant/lib/brand.ts +287 -0
  151. package/templates/storefront-restaurant/lib/cart.ts +27 -0
  152. package/templates/storefront-restaurant/next.config.ts +40 -0
  153. package/templates/storefront-restaurant/package.json +28 -0
  154. package/templates/storefront-restaurant/postcss.config.mjs +7 -0
  155. package/templates/storefront-restaurant/tsconfig.json +23 -0
  156. package/templates/storefront-retail/.env.example +5 -0
  157. package/templates/storefront-retail/AGENTS.md +64 -0
  158. package/templates/storefront-retail/app/about/page.tsx +24 -54
  159. package/templates/storefront-retail/app/categories/[slug]/page.tsx +50 -37
  160. package/templates/storefront-retail/app/collections/[slug]/page.tsx +50 -37
  161. package/templates/storefront-retail/app/error.tsx +61 -0
  162. package/templates/storefront-retail/app/faq/page.tsx +11 -92
  163. package/templates/storefront-retail/app/layout.tsx +37 -8
  164. package/templates/storefront-retail/app/llms.txt/route.ts +94 -0
  165. package/templates/storefront-retail/app/not-found.tsx +39 -0
  166. package/templates/storefront-retail/app/page.tsx +111 -26
  167. package/templates/storefront-retail/app/privacy/page.tsx +24 -81
  168. package/templates/storefront-retail/app/products/[slug]/page.tsx +165 -0
  169. package/templates/storefront-retail/app/products/[slug]/product-detail.tsx +71 -0
  170. package/templates/storefront-retail/app/robots.ts +18 -0
  171. package/templates/storefront-retail/app/shop/page.tsx +36 -3
  172. package/templates/storefront-retail/app/shop/shop-client.tsx +6 -1
  173. package/templates/storefront-retail/app/sitemap.ts +59 -0
  174. package/templates/storefront-retail/app/terms/page.tsx +24 -97
  175. package/templates/storefront-retail/components/brand-marquee.tsx +27 -0
  176. package/templates/storefront-retail/components/category-tiles.tsx +104 -0
  177. package/templates/storefront-retail/components/feature-hero.tsx +84 -0
  178. package/templates/storefront-retail/components/footer.tsx +85 -120
  179. package/templates/storefront-retail/components/header.tsx +10 -12
  180. package/templates/storefront-retail/components/newsletter.tsx +50 -0
  181. package/templates/storefront-retail/components/promo-banner.tsx +41 -0
  182. package/templates/storefront-retail/components/section-heading.tsx +37 -0
  183. package/templates/storefront-retail/components/store-product-card.tsx +7 -7
  184. package/templates/storefront-retail/components/trade-in-cta.tsx +54 -0
  185. package/templates/storefront-retail/components/trust-bar.tsx +66 -0
  186. package/templates/storefront-retail/lib/brand.ts +567 -0
  187. package/templates/storefront-services/.env.example +16 -0
  188. package/templates/storefront-services/AGENTS.md +41 -0
  189. package/templates/storefront-services/README.md +73 -0
  190. package/templates/storefront-services/app/about/page.tsx +38 -0
  191. package/templates/storefront-services/app/cart/page.tsx +9 -0
  192. package/templates/storefront-services/app/categories/[slug]/listing-client.tsx +19 -0
  193. package/templates/storefront-services/app/categories/[slug]/page.tsx +118 -0
  194. package/templates/storefront-services/app/checkout/page.tsx +17 -0
  195. package/templates/storefront-services/app/collections/[slug]/listing-client.tsx +20 -0
  196. package/templates/storefront-services/app/collections/[slug]/page.tsx +118 -0
  197. package/templates/storefront-services/app/error.tsx +60 -0
  198. package/templates/storefront-services/app/faq/page.tsx +46 -0
  199. package/templates/storefront-services/app/globals.css +45 -0
  200. package/templates/storefront-services/app/layout.tsx +80 -0
  201. package/templates/storefront-services/app/llms.txt/route.ts +94 -0
  202. package/templates/storefront-services/app/not-found.tsx +39 -0
  203. package/templates/storefront-services/app/orders/[id]/page.tsx +21 -0
  204. package/templates/storefront-services/app/page.tsx +97 -0
  205. package/templates/storefront-services/app/privacy/page.tsx +44 -0
  206. package/templates/storefront-services/app/robots.ts +18 -0
  207. package/templates/storefront-services/app/shop/page.tsx +31 -0
  208. package/templates/storefront-services/app/shop/shop-client.tsx +27 -0
  209. package/templates/storefront-services/app/sitemap.ts +62 -0
  210. package/templates/storefront-services/app/terms/page.tsx +44 -0
  211. package/templates/storefront-services/components/cart-pill.tsx +32 -0
  212. package/templates/storefront-services/components/category-grid.tsx +28 -0
  213. package/templates/storefront-services/components/collection-strip.tsx +45 -0
  214. package/templates/storefront-services/components/footer.tsx +148 -0
  215. package/templates/storefront-services/components/header.tsx +43 -0
  216. package/templates/storefront-services/components/hero.tsx +25 -0
  217. package/templates/storefront-services/components/nav-link.tsx +20 -0
  218. package/templates/storefront-services/components/product-modal.tsx +105 -0
  219. package/templates/storefront-services/components/providers.tsx +31 -0
  220. package/templates/storefront-services/components/store-product-card.tsx +83 -0
  221. package/templates/storefront-services/lib/brand.ts +303 -0
  222. package/templates/storefront-services/lib/cart.ts +27 -0
  223. package/templates/storefront-services/next.config.ts +40 -0
  224. package/templates/storefront-services/package.json +28 -0
  225. package/templates/storefront-services/postcss.config.mjs +7 -0
  226. package/templates/storefront-services/tsconfig.json +23 -0
  227. /package/templates/{storefront-retail → storefront-grocery}/components/product-modal.tsx +0 -0
@@ -0,0 +1,567 @@
1
+ /**
2
+ * Brand & content configuration — the **single source of truth** for every
3
+ * visible string in this storefront.
4
+ *
5
+ * To rebrand the entire site, edit this file. Every page, component,
6
+ * metadata block, JSON-LD object, sitemap, robots.txt, and llms.txt entry
7
+ * reads from `brand`.
8
+ *
9
+ * Schema is intentionally generous: optional fields (tradeIn, trustItems,
10
+ * brandStrip, promo) only render when present, so the same Brand type
11
+ * works across industry templates.
12
+ */
13
+
14
+ export interface BrandSocial {
15
+ /** Display label (Instagram, X, YouTube, …). Used as aria-label and footer chip. */
16
+ label: string;
17
+ href: string;
18
+ /** Optional icon override — defaults to inline SVG keyed by `label`. */
19
+ icon?: "instagram" | "x" | "tiktok" | "facebook" | "youtube" | "linkedin" | "whatsapp";
20
+ }
21
+
22
+ export interface BrandFaqEntry {
23
+ q: string;
24
+ a: string;
25
+ }
26
+
27
+ export interface BrandFaqSection {
28
+ title: string;
29
+ items: BrandFaqEntry[];
30
+ }
31
+
32
+ export interface BrandPolicySection {
33
+ heading: string;
34
+ /** Plain prose, or { intro + bullets } for list-style sections. */
35
+ body: string | { intro: string; bullets: string[] };
36
+ }
37
+
38
+ export interface BrandSitemapSection {
39
+ title: string;
40
+ links: { label: string; href: string }[];
41
+ }
42
+
43
+ export interface Brand {
44
+ // ─── Identity ─────────────────────────────────────────────────
45
+ name: string;
46
+ /** Short brand mark for compact spaces. */
47
+ shortName: string;
48
+ /** Microtag shown in the header beside the brand mark. */
49
+ microTag: string;
50
+ /** SEO description and default OG description. */
51
+ description: string;
52
+ /** Schema.org `@type` for the Organization JSON-LD on the layout. */
53
+ schemaType:
54
+ | "Store"
55
+ | "Bakery"
56
+ | "Restaurant"
57
+ | "BeautySalon"
58
+ | "GroceryStore"
59
+ | "LocalBusiness"
60
+ | "Organization";
61
+
62
+ // ─── Currency / locale ────────────────────────────────────────
63
+ currency: string;
64
+ locale: string;
65
+
66
+ // ─── Contact ──────────────────────────────────────────────────
67
+ contact: {
68
+ address: string;
69
+ streetAddress: string;
70
+ city: string;
71
+ countryCode: string;
72
+ /** Display phone, with formatting. */
73
+ phone: string;
74
+ /** Phone in `tel:` format (digits + country code). */
75
+ phoneTel: string;
76
+ email: string;
77
+ privacyEmail: string;
78
+ supportEmail?: string;
79
+ businessEmail?: string;
80
+ hours: string;
81
+ };
82
+
83
+ socials: BrandSocial[];
84
+
85
+ // ─── Header ───────────────────────────────────────────────────
86
+ header: {
87
+ /** Top-level nav links. Order is preserved. */
88
+ nav: { label: string; href: string }[];
89
+ };
90
+
91
+ // ─── Hero ─────────────────────────────────────────────────────
92
+ hero: {
93
+ badge: string;
94
+ title: string;
95
+ /** Subtitle. May span multiple paragraphs by separating with \n\n. */
96
+ subtitle: string;
97
+ primaryCtaLabel: string;
98
+ secondaryCtaLabel?: string;
99
+ secondaryCtaHref?: string;
100
+ };
101
+
102
+ // ─── Trust bar (optional) ─────────────────────────────────────
103
+ trustItems?: { label: string; value: string; description: string; iconKey: string }[];
104
+
105
+ // ─── Brand authority strip (optional) ─────────────────────────
106
+ brandStrip?: {
107
+ headline: string;
108
+ brands: string[];
109
+ };
110
+
111
+ // ─── Promo banner (optional) ──────────────────────────────────
112
+ promo?: {
113
+ badge: string;
114
+ title: string;
115
+ body: string;
116
+ ctaLabel: string;
117
+ ctaHref: string;
118
+ };
119
+
120
+ // ─── Trade-in CTA (optional) ──────────────────────────────────
121
+ tradeIn?: {
122
+ eyebrow: string;
123
+ title: string;
124
+ body: string;
125
+ primaryCtaLabel: string;
126
+ primaryCtaHref: string;
127
+ secondaryCtaLabel: string;
128
+ secondaryCtaHref: string;
129
+ steps: { step: string; title: string; body: string }[];
130
+ };
131
+
132
+ // ─── Newsletter ───────────────────────────────────────────────
133
+ newsletter: {
134
+ eyebrow: string;
135
+ title: string;
136
+ body: string;
137
+ placeholder: string;
138
+ submitLabel: string;
139
+ successLabel: string;
140
+ };
141
+
142
+ // ─── About page ───────────────────────────────────────────────
143
+ about: {
144
+ eyebrow: string;
145
+ /** Title — supports a single \n for a hard line break. */
146
+ title: string;
147
+ paragraphs: string[];
148
+ sections: { heading: string; body: string }[];
149
+ };
150
+
151
+ // ─── FAQ ──────────────────────────────────────────────────────
152
+ faq: {
153
+ eyebrow: string;
154
+ title: string;
155
+ sections: BrandFaqSection[];
156
+ contactPrompt: string;
157
+ contactEmail: string;
158
+ };
159
+
160
+ // ─── Terms ────────────────────────────────────────────────────
161
+ terms: {
162
+ eyebrow: string;
163
+ title: string;
164
+ lastUpdated: string;
165
+ sections: BrandPolicySection[];
166
+ };
167
+
168
+ // ─── Privacy ──────────────────────────────────────────────────
169
+ privacy: {
170
+ eyebrow: string;
171
+ title: string;
172
+ lastUpdated: string;
173
+ sections: BrandPolicySection[];
174
+ };
175
+
176
+ // ─── Footer ───────────────────────────────────────────────────
177
+ footer: {
178
+ blurb: string;
179
+ sitemap: BrandSitemapSection[];
180
+ poweredBy?: { label: string; href: string };
181
+ };
182
+
183
+ // ─── llms.txt summary (LLM-friendly site index) ───────────────
184
+ llms: {
185
+ summary: string;
186
+ };
187
+
188
+ // ─── Mock seed ────────────────────────────────────────────────
189
+ mock: {
190
+ seed: string;
191
+ businessId: string;
192
+ };
193
+ }
194
+
195
+ export const brand: Brand = {
196
+ name: "Currents Electronics",
197
+ shortName: "Currents",
198
+ microTag: "ELECTRONICS",
199
+ description:
200
+ "The latest laptops, phones, audio, and accessories — curated, in-stock, shipped same-day from Accra to Africa.",
201
+ schemaType: "Store",
202
+
203
+ currency: "GHS",
204
+ locale: "en_GH",
205
+
206
+ contact: {
207
+ address: "Atomic Junction, East Legon, Accra",
208
+ streetAddress: "Atomic Junction, East Legon",
209
+ city: "Accra",
210
+ countryCode: "GH",
211
+ phone: "+233 244 000 000",
212
+ phoneTel: "+233244000000",
213
+ email: "hello@currentselectronics.test",
214
+ privacyEmail: "privacy@currentselectronics.test",
215
+ supportEmail: "support@currentselectronics.test",
216
+ businessEmail: "business@currentselectronics.test",
217
+ hours: "Mon–Sat · 9am–8pm",
218
+ },
219
+
220
+ socials: [
221
+ { label: "Instagram", href: "https://instagram.com/currentselectronics", icon: "instagram" },
222
+ { label: "X", href: "https://x.com/currentselectronics", icon: "x" },
223
+ { label: "YouTube", href: "https://youtube.com/@currentselectronics", icon: "youtube" },
224
+ { label: "WhatsApp", href: "https://wa.me/233244000000", icon: "whatsapp" },
225
+ ],
226
+
227
+ header: {
228
+ nav: [
229
+ { label: "Shop", href: "/shop" },
230
+ { label: "Deals", href: "/categories/deals" },
231
+ { label: "Support", href: "/faq" },
232
+ ],
233
+ },
234
+
235
+ hero: {
236
+ badge: "LAPTOPS · PHONES · AUDIO · ACCESSORIES",
237
+ title: "The tech you want, in stock today.",
238
+ subtitle:
239
+ "Authorised dealer for Apple, Samsung, Sony, Bose. Same-day delivery in Accra. Two-year warranty on every product.",
240
+ primaryCtaLabel: "Shop now",
241
+ secondaryCtaLabel: "See deals",
242
+ secondaryCtaHref: "/categories/deals",
243
+ },
244
+
245
+ trustItems: [
246
+ {
247
+ label: "Delivery",
248
+ value: "Same-day in Accra",
249
+ description: "Orders before 4pm, free over GH₵500.",
250
+ iconKey: "delivery",
251
+ },
252
+ {
253
+ label: "Warranty",
254
+ value: "2 years on everything",
255
+ description: "1yr manufacturer + 1yr Currents.",
256
+ iconKey: "warranty",
257
+ },
258
+ {
259
+ label: "Payment",
260
+ value: "Pay in 3, interest-free",
261
+ description: "Or 6/12 months via Fidelity Bank.",
262
+ iconKey: "payment",
263
+ },
264
+ {
265
+ label: "Genuine",
266
+ value: "Authorised dealer",
267
+ description: "Direct from Apple, Samsung, Sony, Bose.",
268
+ iconKey: "verified",
269
+ },
270
+ ],
271
+
272
+ brandStrip: {
273
+ headline: "Authorised dealer · genuine stock · 2-year warranty",
274
+ brands: [
275
+ "Apple",
276
+ "Samsung",
277
+ "Sony",
278
+ "Bose",
279
+ "Logitech",
280
+ "Anker",
281
+ "JBL",
282
+ "Microsoft",
283
+ "Lenovo",
284
+ "DJI",
285
+ ],
286
+ },
287
+
288
+ promo: {
289
+ badge: "Limited · ends Sunday",
290
+ title: "Trade in your old phone, get up to GH₵3,500 off.",
291
+ body: "Send us your last-gen iPhone or Galaxy. We'll quote within 48 hours and credit the value toward your next upgrade.",
292
+ ctaLabel: "Start trade-in",
293
+ ctaHref: "/about",
294
+ },
295
+
296
+ tradeIn: {
297
+ eyebrow: "Trade-in programme",
298
+ title: "Last year's phone, this year's discount.",
299
+ body: "Send us your iPhone, Galaxy, or MacBook. We'll quote within 48 hours and credit the value toward your next purchase. Devices head to certified refurbishers across the continent — yours stays in service for years more.",
300
+ primaryCtaLabel: "Get a quote",
301
+ primaryCtaHref: "/about",
302
+ secondaryCtaLabel: "How it works",
303
+ secondaryCtaHref: "/faq",
304
+ steps: [
305
+ { step: "01", title: "Tell us what you have", body: "Model + condition + photos. 2 minutes." },
306
+ { step: "02", title: "Ship it free", body: "Drop at our store or book a free pickup." },
307
+ { step: "03", title: "Get credited", body: "Within 48 hours, in store credit or Mobile Money." },
308
+ ],
309
+ },
310
+
311
+ newsletter: {
312
+ eyebrow: "The shortlist",
313
+ title: "New drops, real prices, in your inbox.",
314
+ body: "One email a week. Curated launches, our actual price (not the launch price), and the deals worth knowing about. No newsletter chaff.",
315
+ placeholder: "you@email.com",
316
+ submitLabel: "Subscribe",
317
+ successLabel: "Subscribed ✓",
318
+ },
319
+
320
+ about: {
321
+ eyebrow: "About Currents",
322
+ title: "Tech that lasts.\nService that doesn't flake.",
323
+ paragraphs: [
324
+ "We started Currents in 2017 because the best phones, laptops, and headphones were either three months out of stock in Accra, or obviously fake. Either way, you ended up calling someone's cousin in London. That's a bad way to buy a thousand-dollar device.",
325
+ "Today we're an authorised dealer for Apple, Samsung, Sony, Bose, Logitech, and Anker. Every product is sourced direct from the manufacturer or their certified distributor — no parallel imports, no refurbished-as-new, no \"dual SIM Asia spec\" on a US iPhone. What you order is what we open in front of you on delivery.",
326
+ "We back everything with a two-year warranty (one year manufacturer + one year Currents), free same-day Accra delivery, and a 14-day no-questions-asked return on anything sealed.",
327
+ ],
328
+ sections: [
329
+ {
330
+ heading: "Trade-in",
331
+ body: "Got an iPhone, Galaxy, or MacBook you no longer use? Bring it in or ship it to us — we'll quote you within 48 hours and credit the value toward your next purchase. We work with refurbishers across the continent so your old kit stays in service for years more.",
332
+ },
333
+ {
334
+ heading: "Business sales",
335
+ body: "Equipping a team or kitting out a co-working space? We do volume quotes, delivery scheduling, asset tagging, and on-site setup. Email business@currentselectronics.test.",
336
+ },
337
+ {
338
+ heading: "Visit",
339
+ body: "Atomic Junction, East Legon, Accra · Mon–Sat, 9am–8pm.",
340
+ },
341
+ ],
342
+ },
343
+
344
+ faq: {
345
+ eyebrow: "Support",
346
+ title: "Questions, answered.",
347
+ sections: [
348
+ {
349
+ title: "Ordering & delivery",
350
+ items: [
351
+ {
352
+ q: "How fast is shipping?",
353
+ a: "Free same-day delivery within Greater Accra for orders placed before 4pm. Outside Accra, we use a partner courier — usually 1–3 business days, with tracking sent by SMS.",
354
+ },
355
+ {
356
+ q: "Can I pick up in store?",
357
+ a: "Yes. Choose 'Pickup' at checkout and we'll have your order boxed at our Atomic Junction store within 30 minutes. Bring a photo ID matching the order name.",
358
+ },
359
+ {
360
+ q: "Do you ship internationally?",
361
+ a: "We ship across West Africa via DHL — rates and ETAs are calculated at checkout once you enter your destination.",
362
+ },
363
+ {
364
+ q: "How do I track my order?",
365
+ a: "You'll get an SMS and email with a tracking link within 30 minutes of dispatch. Same-day Accra orders include the rider's phone number.",
366
+ },
367
+ ],
368
+ },
369
+ {
370
+ title: "Warranty & repairs",
371
+ items: [
372
+ {
373
+ q: "What does the two-year warranty cover?",
374
+ a: "Manufacturing defects, electrical failures, and battery degradation below 80% within the first 24 months. Accidental damage, water damage, and software issues caused by user installs are excluded.",
375
+ },
376
+ {
377
+ q: "Where do I send a faulty device?",
378
+ a: "Drop it at our Atomic Junction store, or request a free pickup from your address by emailing support@currentselectronics.test. Loaner devices are available for warranty claims while we diagnose.",
379
+ },
380
+ {
381
+ q: "Can you fix devices bought elsewhere?",
382
+ a: "We offer paid repairs on Apple and Samsung devices regardless of where they were purchased. Expect a quote within 48 hours of inspection.",
383
+ },
384
+ ],
385
+ },
386
+ {
387
+ title: "Trade-in & financing",
388
+ items: [
389
+ {
390
+ q: "How does trade-in work?",
391
+ a: "Tell us the model and condition of your device, get an instant estimate, and ship it free or drop it at our store. Once we verify, we credit your account or pay out via Mobile Money — your choice.",
392
+ },
393
+ {
394
+ q: "Do you offer instalment payments?",
395
+ a: "Yes. Pay in 3 (interest-free) or 6/12 monthly instalments via our partner Fidelity Bank. Available at checkout for orders over GH₵2,000.",
396
+ },
397
+ {
398
+ q: "Are there bulk discounts for businesses?",
399
+ a: "Yes. Email business@currentselectronics.test with your shopping list and team size — most orders over 5 units qualify for a discount, plus free on-site setup.",
400
+ },
401
+ ],
402
+ },
403
+ {
404
+ title: "Payment & returns",
405
+ items: [
406
+ {
407
+ q: "What payment methods do you accept?",
408
+ a: "Mobile Money (MTN, Telecel, AirtelTigo), Visa/Mastercard, instalments via Fidelity Bank, and cash on delivery for Accra orders.",
409
+ },
410
+ {
411
+ q: "What's your return policy?",
412
+ a: "14 days, no questions asked, on any sealed product. For opened items, returns are accepted within 7 days subject to a 10% restocking fee. We can't accept returns on activated SIM-bundled phones once the SIM is registered.",
413
+ },
414
+ {
415
+ q: "Are products genuine?",
416
+ a: "Yes. We're an authorised dealer for every brand we stock. Every product ships with the manufacturer's serial number registered to your name — verify it on the brand's official portal anytime.",
417
+ },
418
+ ],
419
+ },
420
+ ],
421
+ contactPrompt: "Still stuck? Email",
422
+ contactEmail: "support@currentselectronics.test",
423
+ },
424
+
425
+ terms: {
426
+ eyebrow: "Terms of service",
427
+ title: "Terms of Service",
428
+ lastUpdated: "1 May 2026",
429
+ sections: [
430
+ {
431
+ heading: "1. Who we are",
432
+ body: "Currents Electronics (\"we\", \"us\") is a consumer electronics retailer based at Atomic Junction, East Legon, Accra, Ghana. By placing an order, you (\"you\", \"customer\") agree to these terms.",
433
+ },
434
+ {
435
+ heading: "2. Authorised dealer status",
436
+ body: "We are authorised dealers for the brands listed on our About page. Every product is sourced direct from the manufacturer or a certified distributor. Serial numbers can be verified on the brand's official portal at any time.",
437
+ },
438
+ {
439
+ heading: "3. Pricing and payment",
440
+ body: "Prices are in Ghana Cedis (GH₵) and include VAT where applicable. Payment is due at checkout via Mobile Money, card, or instalments via our partner bank. Cash on delivery is available for Accra orders only.",
441
+ },
442
+ {
443
+ heading: "4. Warranty",
444
+ body: "Every product carries a two-year warranty: the standard manufacturer warranty in year one, plus a Currents-backed extension in year two. Coverage includes manufacturing defects and battery degradation below 80%. Accidental damage, liquid damage, and unauthorised modifications are excluded.",
445
+ },
446
+ {
447
+ heading: "5. Returns",
448
+ body: "Sealed products: 14 days, no questions asked. Opened products: 7 days, subject to a 10% restocking fee for non-defective items. Activated SIM-bundled phones cannot be returned once the SIM is registered. Custom orders and bulk corporate orders are non-refundable except for defects.",
449
+ },
450
+ {
451
+ heading: "6. Trade-in",
452
+ body: "Trade-in quotes are estimates only. Final value is determined after inspection by our refurbishment partner. We reserve the right to revise the quote, and you may decline the revised offer and receive your device back at our cost.",
453
+ },
454
+ {
455
+ heading: "7. Liability",
456
+ body: "To the maximum extent permitted by Ghanaian law, our liability for any claim arising from this website or your order is limited to the value of the order. We're not liable for indirect or consequential losses, including data loss.",
457
+ },
458
+ {
459
+ heading: "8. Governing law",
460
+ body: "These terms are governed by the laws of Ghana. Disputes will be resolved in the courts of Greater Accra.",
461
+ },
462
+ {
463
+ heading: "9. Contact",
464
+ body: "Questions? Email hello@currentselectronics.test.",
465
+ },
466
+ ],
467
+ },
468
+
469
+ privacy: {
470
+ eyebrow: "Privacy",
471
+ title: "Privacy Policy",
472
+ lastUpdated: "1 May 2026",
473
+ sections: [
474
+ {
475
+ heading: "What we collect",
476
+ body: "We collect what we need to fulfil your order: name, phone, delivery address, email, and the items in your order. For warranty service and trade-ins, we also collect device serial numbers. Payment details are processed by our payment partners (Paystack, Stripe, Fidelity Bank) and never stored on our servers.",
477
+ },
478
+ {
479
+ heading: "How we use it",
480
+ body: {
481
+ intro: "We use your data to:",
482
+ bullets: [
483
+ "Prepare, deliver, and confirm your order.",
484
+ "Register product warranties on your behalf.",
485
+ "Send order updates by SMS and email.",
486
+ "Send occasional product news and deals — only if you opted in. Unsubscribe anytime in one click.",
487
+ "Analyse aggregated, anonymised browsing patterns so we can improve the site and recommend products.",
488
+ ],
489
+ },
490
+ },
491
+ {
492
+ heading: "Who we share it with",
493
+ body: "We share data only with the partners required to fulfil your order and warranty: payment processors (Paystack, Stripe, Fidelity Bank), delivery couriers (DHL, local riders), manufacturer warranty portals (for serial registration), and our email/SMS providers. We do not sell or rent personal data to third parties — ever.",
494
+ },
495
+ {
496
+ heading: "Cookies",
497
+ body: "We use a small number of strictly-necessary cookies to keep your cart working and your session signed in, plus optional analytics cookies (you can disable these in our cookie banner).",
498
+ },
499
+ {
500
+ heading: "Your rights",
501
+ body: "Under the Ghana Data Protection Act, 2012 (Act 843), you have the right to access the data we hold about you, correct it, or have it deleted (subject to our tax-record retention obligations). Email privacy@currentselectronics.test and we'll respond within 14 days.",
502
+ },
503
+ {
504
+ heading: "Retention",
505
+ body: "We keep order records for 7 years to comply with Ghanaian tax law. Warranty records are retained for the life of the warranty plus 24 months. Marketing-list opt-ins are kept until you unsubscribe.",
506
+ },
507
+ {
508
+ heading: "Changes",
509
+ body: "If we make material changes to this policy, we'll email customers on our marketing list and update the \"last updated\" date above.",
510
+ },
511
+ ],
512
+ },
513
+
514
+ footer: {
515
+ blurb:
516
+ "Authorised dealer for Apple, Samsung, Sony, Bose. Same-day delivery in Accra; nationwide via partner courier. Two-year warranty on every product.",
517
+ sitemap: [
518
+ {
519
+ title: "Shop",
520
+ links: [
521
+ { label: "All products", href: "/shop" },
522
+ { label: "Laptops", href: "/categories/laptops" },
523
+ { label: "Phones", href: "/categories/phones" },
524
+ { label: "Audio", href: "/categories/audio" },
525
+ { label: "Accessories", href: "/categories/accessories" },
526
+ { label: "Deals", href: "/categories/deals" },
527
+ ],
528
+ },
529
+ {
530
+ title: "Support",
531
+ links: [
532
+ { label: "Contact", href: "mailto:hello@currentselectronics.test" },
533
+ { label: "Warranty", href: "/faq" },
534
+ { label: "Returns", href: "/faq" },
535
+ { label: "Shipping", href: "/faq" },
536
+ ],
537
+ },
538
+ {
539
+ title: "Company",
540
+ links: [
541
+ { label: "About", href: "/about" },
542
+ { label: "Trade-in", href: "/about" },
543
+ { label: "Business sales", href: "mailto:business@currentselectronics.test" },
544
+ { label: "Careers", href: "/about" },
545
+ ],
546
+ },
547
+ {
548
+ title: "Legal",
549
+ links: [
550
+ { label: "Terms of Service", href: "/terms" },
551
+ { label: "Privacy Policy", href: "/privacy" },
552
+ ],
553
+ },
554
+ ],
555
+ poweredBy: { label: "Cimplify", href: "https://app.cimplify.io" },
556
+ },
557
+
558
+ llms: {
559
+ summary:
560
+ "Authorised dealer for Apple, Samsung, Sony, Bose. Same-day delivery in Accra; nationwide via partner courier. Two-year warranty on every product. Trade-in and instalment payments available.",
561
+ },
562
+
563
+ mock: {
564
+ seed: "retail",
565
+ businessId: "bus_currents_electronics",
566
+ },
567
+ };
@@ -0,0 +1,16 @@
1
+ # Cimplify API base URL.
2
+ # Dev: leave empty so the SDK uses the current origin (localhost:3000),
3
+ # which Next.js rewrites to the mock at 127.0.0.1:8787 (see next.config.ts).
4
+ # Production: set to your Cimplify host (e.g. https://api.cimplify.io).
5
+ NEXT_PUBLIC_CIMPLIFY_API_URL=
6
+
7
+ # Tenant public key. The mock accepts any value.
8
+ NEXT_PUBLIC_CIMPLIFY_PUBLIC_KEY=mock-dev
9
+
10
+ # Business id used by the mock seed (services: Serene Spa).
11
+ NEXT_PUBLIC_CIMPLIFY_BUSINESS_ID=bus_serene_spa
12
+
13
+ # Canonical public site URL — used by sitemap.xml, robots.txt, llms.txt,
14
+ # and OpenGraph metadata. Set this on production deploys (Vercel auto-injects
15
+ # via VERCEL_URL but Next prefers an explicit value).
16
+ NEXT_PUBLIC_SITE_URL=https://example.com
@@ -0,0 +1,41 @@
1
+ # AGENTS.md — Services / spa / wellness storefront template
2
+
3
+ If you are an AI agent (Claude, Cursor, Aider, devin, …) working on this storefront, **start here.**
4
+
5
+ ## TL;DR for rebranding
6
+
7
+ 1. **Edit `lib/brand.ts`** — every visible string lives here.
8
+ 2. **Edit `app/globals.css`** — the `@theme { … }` block holds the palette + radius.
9
+ 3. **Edit `.env.local`** — `NEXT_PUBLIC_CIMPLIFY_BUSINESS_ID=bus_serene_spa` for the bundled seed.
10
+
11
+ ## Aesthetic
12
+
13
+ Calm, refined wellness — Booksy / Mindbody / boutique-spa territory:
14
+
15
+ - **Fraunces serif** for headings (warm, slightly editorial).
16
+ - **Inter** for body and UI.
17
+ - **Sand + sage palette**: warm cream background, deep sage primary.
18
+ - **Soft corners**: `--radius: 1rem` — generous rounding throughout.
19
+ - **Lower-contrast** than retail / fashion; calm-feeling.
20
+
21
+ ## Industry-specific copy patterns
22
+
23
+ The bundled brand presets:
24
+ - `brand.hero.badge` reads `"Now booking · April"` — month-based availability.
25
+ - `brand.hero.primaryCtaLabel` is `"Book a treatment"`.
26
+ - `brand.tradeIn` is omitted (irrelevant for services).
27
+ - `brand.faq` covers booking, cancellation, contraindications, memberships.
28
+ - Schema.org type is `BeautySalon`.
29
+
30
+ ## Mock seed
31
+
32
+ Wired to `--seed services` (Serene Spa). Products in this seed are *services* (`type: "service"`), so the SDK's variant cards render `StandardServiceCard` automatically.
33
+
34
+ ## Quick start
35
+
36
+ ```bash
37
+ bun install
38
+ bun dev
39
+ ```
40
+
41
+ Open <http://localhost:3000>.