@aws505/sheetsite 1.0.9 → 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.map +1 -1
- 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 +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/sections/Hero.tsx +1 -1
- package/src/data/types.ts +3 -0
package/package.json
CHANGED
|
@@ -57,7 +57,7 @@ export function Hero({
|
|
|
57
57
|
trustSignals,
|
|
58
58
|
}: HeroProps) {
|
|
59
59
|
// Determine trust signals based on business type or use provided ones
|
|
60
|
-
const businessType =
|
|
60
|
+
const businessType = business.type || 'default';
|
|
61
61
|
const signals = trustSignals || defaultTrustSignals[businessType] || defaultTrustSignals.default;
|
|
62
62
|
const bgStyle = backgroundImage
|
|
63
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>;
|