@aws505/sheetsite 1.0.1 → 1.0.2

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.
@@ -535,10 +535,10 @@ function Icon({ name, ...props }) {
535
535
  var import_jsx_runtime2 = require("react/jsx-runtime");
536
536
  var defaultNavigation = [
537
537
  { label: "Home", href: "/" },
538
- { label: "Services", href: "/services" },
539
- { label: "Gallery", href: "/gallery" },
540
- { label: "About", href: "/about" },
541
- { label: "Contact", href: "/contact" }
538
+ { label: "Services", href: "/#services" },
539
+ { label: "Hours", href: "/#hours" },
540
+ { label: "Reviews", href: "/#reviews" },
541
+ { label: "FAQ", href: "/#faq" }
542
542
  ];
543
543
  function Header({
544
544
  business,
@@ -631,10 +631,10 @@ function Header({
631
631
  var import_jsx_runtime3 = require("react/jsx-runtime");
632
632
  var defaultQuickLinks = [
633
633
  { label: "Home", href: "/" },
634
- { label: "Services", href: "/services" },
635
- { label: "About", href: "/about" },
636
- { label: "Contact", href: "/contact" },
637
- { label: "Privacy Policy", href: "/privacy" }
634
+ { label: "Services", href: "/#services" },
635
+ { label: "Hours", href: "/#hours" },
636
+ { label: "Reviews", href: "/#reviews" },
637
+ { label: "FAQ", href: "/#faq" }
638
638
  ];
639
639
  var dayNames = {
640
640
  monday: "Mon",
@@ -948,7 +948,8 @@ function Services({
948
948
  showIcons = true,
949
949
  variant = "cards",
950
950
  limit,
951
- className = ""
951
+ className = "",
952
+ id = "services"
952
953
  }) {
953
954
  const displayedServices = limit ? services.slice(0, limit) : services;
954
955
  const gridCols = {
@@ -957,7 +958,7 @@ function Services({
957
958
  4: "md:grid-cols-2 lg:grid-cols-4"
958
959
  };
959
960
  if (variant === "list") {
960
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("section", { className: `py-16 ${className}`, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "container mx-auto px-4", children: [
961
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("section", { id, className: `py-16 ${className}`, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "container mx-auto px-4", children: [
961
962
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SectionHeader, { title, subtitle }),
962
963
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: "max-w-3xl mx-auto divide-y divide-gray-200", children: displayedServices.map((service) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
963
964
  ServiceListItem,
@@ -971,7 +972,7 @@ function Services({
971
972
  ] }) });
972
973
  }
973
974
  if (variant === "minimal") {
974
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("section", { className: `py-16 ${className}`, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "container mx-auto px-4", children: [
975
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("section", { id, className: `py-16 ${className}`, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "container mx-auto px-4", children: [
975
976
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SectionHeader, { title, subtitle }),
976
977
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: `grid gap-6 ${gridCols[columns]}`, children: displayedServices.map((service) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
977
978
  ServiceMinimalCard,
@@ -983,7 +984,7 @@ function Services({
983
984
  )) })
984
985
  ] }) });
985
986
  }
986
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("section", { className: `py-16 bg-gray-50 ${className}`, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "container mx-auto px-4", children: [
987
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("section", { id, className: `py-16 bg-gray-50 ${className}`, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("div", { className: "container mx-auto px-4", children: [
987
988
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(SectionHeader, { title, subtitle }),
988
989
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: `grid gap-6 ${gridCols[columns]}`, children: displayedServices.map((service) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
989
990
  ServiceCard,
@@ -1057,7 +1058,8 @@ function Testimonials({
1057
1058
  showRatings = true,
1058
1059
  variant = "cards",
1059
1060
  limit,
1060
- className = ""
1061
+ className = "",
1062
+ id = "reviews"
1061
1063
  }) {
1062
1064
  const displayedTestimonials = limit ? testimonials.slice(0, limit) : testimonials;
1063
1065
  const gridCols = {
@@ -1065,7 +1067,7 @@ function Testimonials({
1065
1067
  2: "md:grid-cols-2 max-w-4xl mx-auto",
1066
1068
  3: "md:grid-cols-2 lg:grid-cols-3"
1067
1069
  };
1068
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("section", { className: `py-16 ${className}`, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "container mx-auto px-4", children: [
1070
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("section", { id, className: `py-16 ${className}`, children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "container mx-auto px-4", children: [
1069
1071
  /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "text-center mb-12", children: [
1070
1072
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("h2", { className: "text-3xl md:text-4xl font-bold text-gray-900 mb-4", children: title }),
1071
1073
  subtitle && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-lg text-gray-600 max-w-2xl mx-auto", children: subtitle })
@@ -1168,7 +1170,8 @@ function FAQ({
1168
1170
  variant = "accordion",
1169
1171
  defaultOpen = 0,
1170
1172
  allowMultiple = false,
1171
- className = ""
1173
+ className = "",
1174
+ id = "faq"
1172
1175
  }) {
1173
1176
  const initialOpen = Array.isArray(defaultOpen) ? defaultOpen : [defaultOpen];
1174
1177
  const [openItems, setOpenItems] = (0, import_react2.useState)(initialOpen);
@@ -1184,18 +1187,18 @@ function FAQ({
1184
1187
  }
1185
1188
  };
1186
1189
  if (variant === "cards") {
1187
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("section", { className: `py-16 ${className}`, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "container mx-auto px-4", children: [
1190
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("section", { id, className: `py-16 ${className}`, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "container mx-auto px-4", children: [
1188
1191
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SectionHeader2, { title, subtitle }),
1189
1192
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "grid md:grid-cols-2 gap-6 max-w-4xl mx-auto", children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FAQCard, { item }, item.id || item.question)) })
1190
1193
  ] }) });
1191
1194
  }
1192
1195
  if (variant === "simple") {
1193
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("section", { className: `py-16 ${className}`, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "container mx-auto px-4", children: [
1196
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("section", { id, className: `py-16 ${className}`, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "container mx-auto px-4", children: [
1194
1197
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SectionHeader2, { title, subtitle }),
1195
1198
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "max-w-3xl mx-auto space-y-8", children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FAQSimple, { item }, item.id || item.question)) })
1196
1199
  ] }) });
1197
1200
  }
1198
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("section", { className: `py-16 bg-gray-50 ${className}`, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "container mx-auto px-4", children: [
1201
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("section", { id, className: `py-16 bg-gray-50 ${className}`, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "container mx-auto px-4", children: [
1199
1202
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(SectionHeader2, { title, subtitle }),
1200
1203
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "max-w-3xl mx-auto", children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1201
1204
  FAQAccordionItem,
@@ -1292,14 +1295,15 @@ function Hours({
1292
1295
  highlightToday = true,
1293
1296
  variant = "card",
1294
1297
  timezone,
1295
- className = ""
1298
+ className = "",
1299
+ id = "hours"
1296
1300
  }) {
1297
1301
  const todayDay = getTodayDay(timezone);
1298
1302
  const sortedHours = [...hours].sort(
1299
1303
  (a, b) => dayOrder.indexOf(a.day) - dayOrder.indexOf(b.day)
1300
1304
  );
1301
1305
  if (variant === "inline") {
1302
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: `flex flex-wrap gap-4 ${className}`, children: sortedHours.map((entry) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1306
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { id, className: `flex flex-wrap gap-4 ${className}`, children: sortedHours.map((entry) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1303
1307
  HoursInlineItem,
1304
1308
  {
1305
1309
  entry,
@@ -1309,7 +1313,7 @@ function Hours({
1309
1313
  )) });
1310
1314
  }
1311
1315
  if (variant === "minimal") {
1312
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: `space-y-1 ${className}`, children: sortedHours.map((entry) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1316
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { id, className: `space-y-1 ${className}`, children: sortedHours.map((entry) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
1313
1317
  HoursMinimalItem,
1314
1318
  {
1315
1319
  entry,
@@ -1318,7 +1322,7 @@ function Hours({
1318
1322
  entry.day
1319
1323
  )) });
1320
1324
  }
1321
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: `bg-white rounded-lg shadow p-6 ${className}`, children: [
1325
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { id, className: `bg-white rounded-lg shadow p-6 ${className}`, children: [
1322
1326
  /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "flex items-center mb-4", children: [
1323
1327
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(ClockIcon, { size: 24, className: "text-primary-600 mr-2" }),
1324
1328
  /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h3", { className: "text-xl font-semibold text-gray-900", children: title })