@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.mjs
CHANGED
|
@@ -3747,6 +3747,7 @@ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
|
3747
3747
|
var defaultNavigation = [
|
|
3748
3748
|
{ label: "Home", href: "/" },
|
|
3749
3749
|
{ label: "Services", href: "/#services" },
|
|
3750
|
+
{ label: "Gallery", href: "/#gallery" },
|
|
3750
3751
|
{ label: "Hours", href: "/#hours" },
|
|
3751
3752
|
{ label: "Reviews", href: "/#reviews" },
|
|
3752
3753
|
{ label: "FAQ", href: "/#faq" }
|
|
@@ -4005,6 +4006,15 @@ function Footer({
|
|
|
4005
4006
|
|
|
4006
4007
|
// src/components/sections/Hero.tsx
|
|
4007
4008
|
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
4009
|
+
var defaultTrustSignals = {
|
|
4010
|
+
salon: ["Expert Stylists", "Walk-Ins Welcome", "Quality Products"],
|
|
4011
|
+
restaurant: ["Fresh Ingredients", "Family Recipes", "Friendly Service"],
|
|
4012
|
+
repair: ["Certified Technicians", "Honest Estimates", "Quality Parts"],
|
|
4013
|
+
tailor: ["Expert Craftsmanship", "Perfect Fit Guaranteed", "Quick Turnaround"],
|
|
4014
|
+
professional: ["Quality Work", "Fair Prices", "Fast Service"],
|
|
4015
|
+
retail: ["Quality Products", "Great Selection", "Friendly Service"],
|
|
4016
|
+
default: ["Quality Work", "Fair Prices", "Fast Service"]
|
|
4017
|
+
};
|
|
4008
4018
|
function Hero({
|
|
4009
4019
|
business,
|
|
4010
4020
|
variant = "centered",
|
|
@@ -4013,8 +4023,11 @@ function Hero({
|
|
|
4013
4023
|
todayHours,
|
|
4014
4024
|
backgroundImage,
|
|
4015
4025
|
overlay = true,
|
|
4016
|
-
className = ""
|
|
4026
|
+
className = "",
|
|
4027
|
+
trustSignals
|
|
4017
4028
|
}) {
|
|
4029
|
+
const businessType = business.type || "default";
|
|
4030
|
+
const signals = trustSignals || defaultTrustSignals[businessType] || defaultTrustSignals.default;
|
|
4018
4031
|
const bgStyle = backgroundImage ? { backgroundImage: `url(${backgroundImage})` } : void 0;
|
|
4019
4032
|
const handleCallClick = () => {
|
|
4020
4033
|
if (business.phone) {
|
|
@@ -4094,8 +4107,8 @@ function Hero({
|
|
|
4094
4107
|
) }),
|
|
4095
4108
|
/* @__PURE__ */ jsx4("h1", { className: "text-4xl md:text-5xl lg:text-6xl font-bold text-white mb-4", children: business.name }),
|
|
4096
4109
|
business.tagline && /* @__PURE__ */ jsx4("p", { className: "text-xl md:text-2xl text-white/90 mb-6", children: business.tagline }),
|
|
4097
|
-
business.aboutShort && /* @__PURE__ */ jsx4("p", { className:
|
|
4098
|
-
/* @__PURE__ */ jsx4("div", { className:
|
|
4110
|
+
business.aboutShort && /* @__PURE__ */ jsx4("p", { className: `text-lg text-white/80 mb-8 max-w-xl ${variant === "centered" ? "mx-auto" : ""}`, children: business.aboutShort }),
|
|
4111
|
+
/* @__PURE__ */ jsx4("div", { className: `flex flex-wrap gap-4 mb-8 ${variant === "centered" ? "justify-center" : ""}`, children: signals.map((signal) => /* @__PURE__ */ jsxs4("div", { className: "flex items-center text-white/90", children: [
|
|
4099
4112
|
/* @__PURE__ */ jsx4("svg", { className: "w-5 h-5 text-accent-400 mr-2", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ jsx4(
|
|
4100
4113
|
"path",
|
|
4101
4114
|
{
|
|
@@ -4973,6 +4986,10 @@ function CardImage({
|
|
|
4973
4986
|
import React6, { useEffect, useRef as useRef2, useState as useState6 } from "react";
|
|
4974
4987
|
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
4975
4988
|
|
|
4989
|
+
// src/components/ui/FloatingClaimBanner.tsx
|
|
4990
|
+
import { useState as useState7, useEffect as useEffect2 } from "react";
|
|
4991
|
+
import { jsx as jsx16, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
4992
|
+
|
|
4976
4993
|
// src/seo/index.ts
|
|
4977
4994
|
function generateMetadata(business, pageTitle, pageDescription, options = {}) {
|
|
4978
4995
|
const { titleTemplate = "%s", baseUrl } = options;
|