@aws505/sheetsite 1.0.0 → 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.
package/dist/index.mjs CHANGED
@@ -3746,10 +3746,10 @@ function Icon({ name, ...props }) {
3746
3746
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
3747
3747
  var defaultNavigation = [
3748
3748
  { label: "Home", href: "/" },
3749
- { label: "Services", href: "/services" },
3750
- { label: "Gallery", href: "/gallery" },
3751
- { label: "About", href: "/about" },
3752
- { label: "Contact", href: "/contact" }
3749
+ { label: "Services", href: "/#services" },
3750
+ { label: "Hours", href: "/#hours" },
3751
+ { label: "Reviews", href: "/#reviews" },
3752
+ { label: "FAQ", href: "/#faq" }
3753
3753
  ];
3754
3754
  function Header({
3755
3755
  business,
@@ -3842,10 +3842,10 @@ function Header({
3842
3842
  import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
3843
3843
  var defaultQuickLinks = [
3844
3844
  { label: "Home", href: "/" },
3845
- { label: "Services", href: "/services" },
3846
- { label: "About", href: "/about" },
3847
- { label: "Contact", href: "/contact" },
3848
- { label: "Privacy Policy", href: "/privacy" }
3845
+ { label: "Services", href: "/#services" },
3846
+ { label: "Hours", href: "/#hours" },
3847
+ { label: "Reviews", href: "/#reviews" },
3848
+ { label: "FAQ", href: "/#faq" }
3849
3849
  ];
3850
3850
  var dayNames = {
3851
3851
  monday: "Mon",
@@ -4159,7 +4159,8 @@ function Services({
4159
4159
  showIcons = true,
4160
4160
  variant = "cards",
4161
4161
  limit,
4162
- className = ""
4162
+ className = "",
4163
+ id = "services"
4163
4164
  }) {
4164
4165
  const displayedServices = limit ? services.slice(0, limit) : services;
4165
4166
  const gridCols = {
@@ -4168,7 +4169,7 @@ function Services({
4168
4169
  4: "md:grid-cols-2 lg:grid-cols-4"
4169
4170
  };
4170
4171
  if (variant === "list") {
4171
- return /* @__PURE__ */ jsx5("section", { className: `py-16 ${className}`, children: /* @__PURE__ */ jsxs5("div", { className: "container mx-auto px-4", children: [
4172
+ return /* @__PURE__ */ jsx5("section", { id, className: `py-16 ${className}`, children: /* @__PURE__ */ jsxs5("div", { className: "container mx-auto px-4", children: [
4172
4173
  /* @__PURE__ */ jsx5(SectionHeader, { title, subtitle }),
4173
4174
  /* @__PURE__ */ jsx5("div", { className: "max-w-3xl mx-auto divide-y divide-gray-200", children: displayedServices.map((service) => /* @__PURE__ */ jsx5(
4174
4175
  ServiceListItem,
@@ -4182,7 +4183,7 @@ function Services({
4182
4183
  ] }) });
4183
4184
  }
4184
4185
  if (variant === "minimal") {
4185
- return /* @__PURE__ */ jsx5("section", { className: `py-16 ${className}`, children: /* @__PURE__ */ jsxs5("div", { className: "container mx-auto px-4", children: [
4186
+ return /* @__PURE__ */ jsx5("section", { id, className: `py-16 ${className}`, children: /* @__PURE__ */ jsxs5("div", { className: "container mx-auto px-4", children: [
4186
4187
  /* @__PURE__ */ jsx5(SectionHeader, { title, subtitle }),
4187
4188
  /* @__PURE__ */ jsx5("div", { className: `grid gap-6 ${gridCols[columns]}`, children: displayedServices.map((service) => /* @__PURE__ */ jsx5(
4188
4189
  ServiceMinimalCard,
@@ -4194,7 +4195,7 @@ function Services({
4194
4195
  )) })
4195
4196
  ] }) });
4196
4197
  }
4197
- return /* @__PURE__ */ jsx5("section", { className: `py-16 bg-gray-50 ${className}`, children: /* @__PURE__ */ jsxs5("div", { className: "container mx-auto px-4", children: [
4198
+ return /* @__PURE__ */ jsx5("section", { id, className: `py-16 bg-gray-50 ${className}`, children: /* @__PURE__ */ jsxs5("div", { className: "container mx-auto px-4", children: [
4198
4199
  /* @__PURE__ */ jsx5(SectionHeader, { title, subtitle }),
4199
4200
  /* @__PURE__ */ jsx5("div", { className: `grid gap-6 ${gridCols[columns]}`, children: displayedServices.map((service) => /* @__PURE__ */ jsx5(
4200
4201
  ServiceCard,
@@ -4268,7 +4269,8 @@ function Testimonials({
4268
4269
  showRatings = true,
4269
4270
  variant = "cards",
4270
4271
  limit,
4271
- className = ""
4272
+ className = "",
4273
+ id = "reviews"
4272
4274
  }) {
4273
4275
  const displayedTestimonials = limit ? testimonials.slice(0, limit) : testimonials;
4274
4276
  const gridCols = {
@@ -4276,7 +4278,7 @@ function Testimonials({
4276
4278
  2: "md:grid-cols-2 max-w-4xl mx-auto",
4277
4279
  3: "md:grid-cols-2 lg:grid-cols-3"
4278
4280
  };
4279
- return /* @__PURE__ */ jsx6("section", { className: `py-16 ${className}`, children: /* @__PURE__ */ jsxs6("div", { className: "container mx-auto px-4", children: [
4281
+ return /* @__PURE__ */ jsx6("section", { id, className: `py-16 ${className}`, children: /* @__PURE__ */ jsxs6("div", { className: "container mx-auto px-4", children: [
4280
4282
  /* @__PURE__ */ jsxs6("div", { className: "text-center mb-12", children: [
4281
4283
  /* @__PURE__ */ jsx6("h2", { className: "text-3xl md:text-4xl font-bold text-gray-900 mb-4", children: title }),
4282
4284
  subtitle && /* @__PURE__ */ jsx6("p", { className: "text-lg text-gray-600 max-w-2xl mx-auto", children: subtitle })
@@ -4379,7 +4381,8 @@ function FAQ({
4379
4381
  variant = "accordion",
4380
4382
  defaultOpen = 0,
4381
4383
  allowMultiple = false,
4382
- className = ""
4384
+ className = "",
4385
+ id = "faq"
4383
4386
  }) {
4384
4387
  const initialOpen = Array.isArray(defaultOpen) ? defaultOpen : [defaultOpen];
4385
4388
  const [openItems, setOpenItems] = useState2(initialOpen);
@@ -4395,18 +4398,18 @@ function FAQ({
4395
4398
  }
4396
4399
  };
4397
4400
  if (variant === "cards") {
4398
- return /* @__PURE__ */ jsx7("section", { className: `py-16 ${className}`, children: /* @__PURE__ */ jsxs7("div", { className: "container mx-auto px-4", children: [
4401
+ return /* @__PURE__ */ jsx7("section", { id, className: `py-16 ${className}`, children: /* @__PURE__ */ jsxs7("div", { className: "container mx-auto px-4", children: [
4399
4402
  /* @__PURE__ */ jsx7(SectionHeader2, { title, subtitle }),
4400
4403
  /* @__PURE__ */ jsx7("div", { className: "grid md:grid-cols-2 gap-6 max-w-4xl mx-auto", children: items.map((item) => /* @__PURE__ */ jsx7(FAQCard, { item }, item.id || item.question)) })
4401
4404
  ] }) });
4402
4405
  }
4403
4406
  if (variant === "simple") {
4404
- return /* @__PURE__ */ jsx7("section", { className: `py-16 ${className}`, children: /* @__PURE__ */ jsxs7("div", { className: "container mx-auto px-4", children: [
4407
+ return /* @__PURE__ */ jsx7("section", { id, className: `py-16 ${className}`, children: /* @__PURE__ */ jsxs7("div", { className: "container mx-auto px-4", children: [
4405
4408
  /* @__PURE__ */ jsx7(SectionHeader2, { title, subtitle }),
4406
4409
  /* @__PURE__ */ jsx7("div", { className: "max-w-3xl mx-auto space-y-8", children: items.map((item) => /* @__PURE__ */ jsx7(FAQSimple, { item }, item.id || item.question)) })
4407
4410
  ] }) });
4408
4411
  }
4409
- return /* @__PURE__ */ jsx7("section", { className: `py-16 bg-gray-50 ${className}`, children: /* @__PURE__ */ jsxs7("div", { className: "container mx-auto px-4", children: [
4412
+ return /* @__PURE__ */ jsx7("section", { id, className: `py-16 bg-gray-50 ${className}`, children: /* @__PURE__ */ jsxs7("div", { className: "container mx-auto px-4", children: [
4410
4413
  /* @__PURE__ */ jsx7(SectionHeader2, { title, subtitle }),
4411
4414
  /* @__PURE__ */ jsx7("div", { className: "max-w-3xl mx-auto", children: items.map((item, index) => /* @__PURE__ */ jsx7(
4412
4415
  FAQAccordionItem,
@@ -4503,14 +4506,15 @@ function Hours({
4503
4506
  highlightToday = true,
4504
4507
  variant = "card",
4505
4508
  timezone,
4506
- className = ""
4509
+ className = "",
4510
+ id = "hours"
4507
4511
  }) {
4508
4512
  const todayDay = getTodayDay(timezone);
4509
4513
  const sortedHours = [...hours].sort(
4510
4514
  (a, b) => dayOrder.indexOf(a.day) - dayOrder.indexOf(b.day)
4511
4515
  );
4512
4516
  if (variant === "inline") {
4513
- return /* @__PURE__ */ jsx8("div", { className: `flex flex-wrap gap-4 ${className}`, children: sortedHours.map((entry) => /* @__PURE__ */ jsx8(
4517
+ return /* @__PURE__ */ jsx8("div", { id, className: `flex flex-wrap gap-4 ${className}`, children: sortedHours.map((entry) => /* @__PURE__ */ jsx8(
4514
4518
  HoursInlineItem,
4515
4519
  {
4516
4520
  entry,
@@ -4520,7 +4524,7 @@ function Hours({
4520
4524
  )) });
4521
4525
  }
4522
4526
  if (variant === "minimal") {
4523
- return /* @__PURE__ */ jsx8("div", { className: `space-y-1 ${className}`, children: sortedHours.map((entry) => /* @__PURE__ */ jsx8(
4527
+ return /* @__PURE__ */ jsx8("div", { id, className: `space-y-1 ${className}`, children: sortedHours.map((entry) => /* @__PURE__ */ jsx8(
4524
4528
  HoursMinimalItem,
4525
4529
  {
4526
4530
  entry,
@@ -4529,7 +4533,7 @@ function Hours({
4529
4533
  entry.day
4530
4534
  )) });
4531
4535
  }
4532
- return /* @__PURE__ */ jsxs8("div", { className: `bg-white rounded-lg shadow p-6 ${className}`, children: [
4536
+ return /* @__PURE__ */ jsxs8("div", { id, className: `bg-white rounded-lg shadow p-6 ${className}`, children: [
4533
4537
  /* @__PURE__ */ jsxs8("div", { className: "flex items-center mb-4", children: [
4534
4538
  /* @__PURE__ */ jsx8(ClockIcon, { size: 24, className: "text-primary-600 mr-2" }),
4535
4539
  /* @__PURE__ */ jsx8("h3", { className: "text-xl font-semibold text-gray-900", children: title })