diff --git a/src/app/tuxedo/faq/FAQClientPage.tsx b/src/app/tuxedo/faq/FAQClientPage.tsx index a1875b4..d03262c 100644 --- a/src/app/tuxedo/faq/FAQClientPage.tsx +++ b/src/app/tuxedo/faq/FAQClientPage.tsx @@ -4,7 +4,6 @@ import { useState, useMemo } from "react"; import Link from "next/link"; import StorefrontHeader from "@/components/storefront/StorefrontHeader"; import StorefrontFooter from "@/components/storefront/StorefrontFooter"; -import LayoutContainer from "@/components/layout/LayoutContainer"; type FAQItem = { question: string; @@ -93,8 +92,8 @@ function FAQAccordion({ items, searchQuery }: { items: FAQItem[]; searchQuery: s if (filtered.length === 0) { return ( -
-

No results for "{searchQuery}"

+
+

No results for "{searchQuery}"

Try a different term or browse all categories below.

); @@ -111,36 +110,20 @@ function FAQAccordion({ items, searchQuery }: { items: FAQItem[]; searchQuery: s > -
-
+
+

{item.answer}

@@ -158,74 +141,63 @@ export default function TuxedoFAQPage() {
-
- -
- {/* Page header */} -
-

Questions

-

- FAQ -

-

- Everything you need to know about ordering, pickup, and shipping. -

-
- - {/* Search */} -
-
- - - -
- setSearchQuery(e.target.value)} - className="w-full rounded-2xl border border-stone-200 bg-white pl-11 pr-5 py-4 text-sm text-stone-900 placeholder-stone-400 outline-none focus:border-stone-900 focus:ring-1 focus:ring-stone-900 transition-colors shadow-sm" - /> - {searchQuery && ( - - )} -
- - {/* FAQ categories */} -
- {FAQ_CATEGORIES.map((cat) => ( -
-

- {cat.category} -

- -
- ))} -
- - {/* Still have questions CTA */} -
-

Still have questions?

-

We are happy to help — reach out anytime.

- - Contact Us - - - - -
+
+
+ {/* Page header */} +
+

Questions

+

FAQ

+

Everything you need to know about ordering, pickup, and shipping.

- + + {/* Search */} +
+
+ + + +
+ setSearchQuery(e.target.value)} + className="w-full rounded-2xl border border-stone-200 bg-white pl-10 sm:pl-11 pr-5 py-3.5 sm:py-4 text-sm sm:text-base text-stone-900 placeholder-stone-400 outline-none focus:border-stone-900 focus:ring-1 focus:ring-stone-900 transition-colors shadow-sm" + /> + {searchQuery && ( + + )} +
+ + {/* FAQ categories */} +
+ {FAQ_CATEGORIES.map((cat) => ( +
+

{cat.category}

+ +
+ ))} +
+ + {/* Still have questions CTA */} +
+

Still have questions?

+

We are happy to help — reach out anytime.

+ + Contact Us + + + + +
+
diff --git a/src/app/tuxedo/faq/layout.tsx b/src/app/tuxedo/faq/layout.tsx index 4f91c2e..93a09d8 100644 --- a/src/app/tuxedo/faq/layout.tsx +++ b/src/app/tuxedo/faq/layout.tsx @@ -86,6 +86,48 @@ const faqJsonLd = { ] }; +const breadcrumbJsonLd = { + "@context": "https://schema.org", + "@type": "BreadcrumbList", + "itemListElement": [ + { + "@type": "ListItem", + "position": 1, + "name": "Home", + "item": BASE_URL + }, + { + "@type": "ListItem", + "position": 2, + "name": "Tuxedo Corn", + "item": `${BASE_URL}/tuxedo` + }, + { + "@type": "ListItem", + "position": 3, + "name": "FAQ", + "item": `${BASE_URL}/tuxedo/faq` + } + ] +}; + +const organizationJsonLd = { + "@context": "https://schema.org", + "@type": "Organization", + name: "Tuxedo Corn", + url: `${BASE_URL}/tuxedo`, + logo: { + "@type": "ImageObject", + url: `${BASE_URL}/logo-tuxedo.png` + }, + contactPoint: { + "@type": "ContactPoint", + telephone: "+1-970-323-6874", + contactType: "customer service", + availableLanguage: "English" + } +}; + export default function TuxedoFAQLayout({ children }: { children: React.ReactNode }) { return ( <> @@ -93,6 +135,14 @@ export default function TuxedoFAQLayout({ children }: { children: React.ReactNod type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(faqJsonLd) }} /> +