Switch to version 2: modified src/app/faq/page.tsx
This commit is contained in:
@@ -1,30 +1,18 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
||||
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
|
||||
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
|
||||
|
||||
export default function FaqPage() {
|
||||
const navLinks = [{ name: "الرئيسية", id: "/" }, { name: "آراء العملاء", id: "/testimonials" }, { name: "الأسئلة الشائعة", id: "/faq" }, { name: "احجز موعداً", id: "/service-request" }];
|
||||
|
||||
return (
|
||||
<ThemeProvider defaultButtonVariant="text-stagger" defaultTextAnimation="entrance-slide" borderRadius="rounded" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
|
||||
<ReactLenis root>
|
||||
<NavbarLayoutFloatingInline navItems={navLinks} brandName="Aljoman Dental" button={{ text: "احجز موعداً", href: "#contact" }} />
|
||||
<FaqSplitText
|
||||
sideTitle="الأسئلة الشائعة"
|
||||
sideDescription="إجابات على أكثر استفسارات مرضانا شيوعاً"
|
||||
faqsAnimation="slide-up"
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{ id: "q1", title: "كيف أحجز موعد؟", content: "يمكنك الحجز عبر نموذج المواعيد في موقعنا." },
|
||||
{ id: "q2", title: "هل تتوفر خدمات تجميلية؟", content: "نعم، لدينا باقات تبييض وعدسات لومينير." }
|
||||
]}
|
||||
<ThemeProvider defaultButtonVariant="hover-magnetic" defaultTextAnimation="entrance-slide" borderRadius="pill" contentWidth="medium" sizing="mediumLargeSizeLargeTitles" background="aurora" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="semibold">
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "About", id: "/about" }, { name: "Contact", id: "/contact" }]}
|
||||
brandName="Aljoman Dental"
|
||||
button={{ text: "Contact", href: "/contact" }}
|
||||
/>
|
||||
<FooterLogoEmphasis logoText="عيادات الجومان" columns={[{ items: [{ label: "الرئيسية", href: "/" }] }]} />
|
||||
</ReactLenis>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user