@aws505/sheetsite 1.0.8 → 1.0.10
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.
- package/dist/components/index.d.mts +3 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +1 -0
- package/dist/components/index.mjs.map +1 -1
- package/dist/data/index.js +3 -1
- package/dist/data/index.js.map +1 -1
- package/dist/data/index.mjs +3 -1
- package/dist/data/index.mjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/sections/Hero.tsx +2 -1
- package/src/data/types.ts +3 -0
package/package.json
CHANGED
|
@@ -40,6 +40,7 @@ const defaultTrustSignals: Record<string, string[]> = {
|
|
|
40
40
|
tailor: ['Expert Craftsmanship', 'Perfect Fit Guaranteed', 'Quick Turnaround'],
|
|
41
41
|
professional: ['Licensed & Insured', 'Years of Experience', 'Client Focused'],
|
|
42
42
|
retail: ['Quality Products', 'Great Selection', 'Friendly Service'],
|
|
43
|
+
boutique: ['Unique Selection', 'Personal Service', 'Quality Brands'],
|
|
43
44
|
generic: ['Quality Service', 'Customer First', 'Community Trusted'],
|
|
44
45
|
default: ['Quality Service', 'Fair Prices', 'Customer First'],
|
|
45
46
|
};
|
|
@@ -56,7 +57,7 @@ export function Hero({
|
|
|
56
57
|
trustSignals,
|
|
57
58
|
}: HeroProps) {
|
|
58
59
|
// Determine trust signals based on business type or use provided ones
|
|
59
|
-
const businessType =
|
|
60
|
+
const businessType = business.type || 'default';
|
|
60
61
|
const signals = trustSignals || defaultTrustSignals[businessType] || defaultTrustSignals.default;
|
|
61
62
|
const bgStyle = backgroundImage
|
|
62
63
|
? { backgroundImage: `url(${backgroundImage})` }
|
package/src/data/types.ts
CHANGED
|
@@ -66,6 +66,9 @@ export const BusinessInfoSchema = z.object({
|
|
|
66
66
|
priceRange: z.enum(['$', '$$', '$$$', '$$$$']).optional(),
|
|
67
67
|
yearEstablished: z.number().optional(),
|
|
68
68
|
licenseNumber: z.string().optional(),
|
|
69
|
+
|
|
70
|
+
// Business type for trust signals and content customization
|
|
71
|
+
type: z.string().optional(),
|
|
69
72
|
});
|
|
70
73
|
|
|
71
74
|
export type BusinessInfo = z.infer<typeof BusinessInfoSchema>;
|