@aws505/sheetsite 1.0.3 → 1.0.4
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.js +128 -3
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +127 -3
- package/dist/components/index.mjs.map +1 -1
- package/dist/index.js +20 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/index.ts +3 -0
- package/src/components/layout/Header.tsx +1 -0
- package/src/components/sections/Hero.tsx +19 -3
- package/src/components/ui/FloatingClaimBanner.tsx +160 -0
package/dist/index.js
CHANGED
|
@@ -3904,6 +3904,7 @@ var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
|
3904
3904
|
var defaultNavigation = [
|
|
3905
3905
|
{ label: "Home", href: "/" },
|
|
3906
3906
|
{ label: "Services", href: "/#services" },
|
|
3907
|
+
{ label: "Gallery", href: "/#gallery" },
|
|
3907
3908
|
{ label: "Hours", href: "/#hours" },
|
|
3908
3909
|
{ label: "Reviews", href: "/#reviews" },
|
|
3909
3910
|
{ label: "FAQ", href: "/#faq" }
|
|
@@ -4162,6 +4163,15 @@ function Footer({
|
|
|
4162
4163
|
|
|
4163
4164
|
// src/components/sections/Hero.tsx
|
|
4164
4165
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
4166
|
+
var defaultTrustSignals = {
|
|
4167
|
+
salon: ["Expert Stylists", "Walk-Ins Welcome", "Quality Products"],
|
|
4168
|
+
restaurant: ["Fresh Ingredients", "Family Recipes", "Friendly Service"],
|
|
4169
|
+
repair: ["Certified Technicians", "Honest Estimates", "Quality Parts"],
|
|
4170
|
+
tailor: ["Expert Craftsmanship", "Perfect Fit Guaranteed", "Quick Turnaround"],
|
|
4171
|
+
professional: ["Quality Work", "Fair Prices", "Fast Service"],
|
|
4172
|
+
retail: ["Quality Products", "Great Selection", "Friendly Service"],
|
|
4173
|
+
default: ["Quality Work", "Fair Prices", "Fast Service"]
|
|
4174
|
+
};
|
|
4165
4175
|
function Hero({
|
|
4166
4176
|
business,
|
|
4167
4177
|
variant = "centered",
|
|
@@ -4170,8 +4180,11 @@ function Hero({
|
|
|
4170
4180
|
todayHours,
|
|
4171
4181
|
backgroundImage,
|
|
4172
4182
|
overlay = true,
|
|
4173
|
-
className = ""
|
|
4183
|
+
className = "",
|
|
4184
|
+
trustSignals
|
|
4174
4185
|
}) {
|
|
4186
|
+
const businessType = business.type || "default";
|
|
4187
|
+
const signals = trustSignals || defaultTrustSignals[businessType] || defaultTrustSignals.default;
|
|
4175
4188
|
const bgStyle = backgroundImage ? { backgroundImage: `url(${backgroundImage})` } : void 0;
|
|
4176
4189
|
const handleCallClick = () => {
|
|
4177
4190
|
if (business.phone) {
|
|
@@ -4251,8 +4264,8 @@ function Hero({
|
|
|
4251
4264
|
) }),
|
|
4252
4265
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("h1", { className: "text-4xl md:text-5xl lg:text-6xl font-bold text-white mb-4", children: business.name }),
|
|
4253
4266
|
business.tagline && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { className: "text-xl md:text-2xl text-white/90 mb-6", children: business.tagline }),
|
|
4254
|
-
business.aboutShort && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { className:
|
|
4255
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className:
|
|
4267
|
+
business.aboutShort && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("p", { className: `text-lg text-white/80 mb-8 max-w-xl ${variant === "centered" ? "mx-auto" : ""}`, children: business.aboutShort }),
|
|
4268
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: `flex flex-wrap gap-4 mb-8 ${variant === "centered" ? "justify-center" : ""}`, children: signals.map((signal) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "flex items-center text-white/90", children: [
|
|
4256
4269
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("svg", { className: "w-5 h-5 text-accent-400 mr-2", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
4257
4270
|
"path",
|
|
4258
4271
|
{
|
|
@@ -5130,6 +5143,10 @@ function CardImage({
|
|
|
5130
5143
|
var import_react6 = __toESM(require("react"));
|
|
5131
5144
|
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
5132
5145
|
|
|
5146
|
+
// src/components/ui/FloatingClaimBanner.tsx
|
|
5147
|
+
var import_react7 = require("react");
|
|
5148
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
5149
|
+
|
|
5133
5150
|
// src/seo/index.ts
|
|
5134
5151
|
function generateMetadata(business, pageTitle, pageDescription, options = {}) {
|
|
5135
5152
|
const { titleTemplate = "%s", baseUrl } = options;
|