@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws505/sheetsite",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -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 = (business as any).type || 'default';
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>;